Yang Ye

Results issues of Yang Ye

**Summary** `LagrangeInterpolation` returns NaN when the first knot is at x = 0.0 and the interpolation is evaluated exactly at that knot. The exact-knot shortcut degenerates instead of firing. **Repro**...

**Summary** `DateGeneration::Zero` combined with `endOfMonth = true` crashes with `RuntimeError: year outside valid range` on every input, instead of the clean rule-incompatibility message that every sibling rule produces. **Repro** (QuantLib-Python...

help wanted

**Summary** `DateGeneration::ThirdWednesdayInclusive` (added in 2021) is missing from two switch statements, so a valid rule is reported as "unknown rule (4)": 1. The `Schedule` constructor validation switches for `firstDate` and...

**Summary** `SABRInterpolation` accepts negative input volatilities, runs the calibration to convergence, and returns a negative-volatility smile, with no error or warning. The output then flows into Black standard-deviation machinery as...

**Summary** `GaussJacobiPolynomial::beta(k)` throws `can't compute b_k for jacobi integration` for constructor-valid parameters near the α = -1 boundary, although the true recurrence coefficient is finite (order 1e-10 scale). The `close_enough`...

help wanted

`sabrFlochKennedyVolatility` returns NaN at beta=1 and at nu=0, both removable singularities `sabrFlochKennedyVolatility` (the Le Floc'h–Kennedy SABR normal-volatility approximation, `ql/termstructures/volatility/sabr.cpp`) returns `nan` at two parameter values that `validateSabrParameters` explicitly admits (`beta`...

COSHestonEngine, AnalyticPTDHestonEngine and HestonRNDCalculator diverge as vol-of-vol -> 0, unlike AnalyticHestonEngine As the Heston vol-of-vol `sigma -> 0`, the price must converge to Black-Scholes with the integrated deterministic variance path...

## Summary Forward-starting protection (protection start after the first coupon period, admitted by the `CreditDefaultSwap` constructor under the CDS2015/CDS generation rules) is priced inconsistently by the three CDS engines. On...

## Summary On the lagged overloads of `ZeroInflationTermStructure::zeroRate` and `yoyRate` (the ones taking `instObsLag`, deprecated in 58036268f but still present and callable), the `forceLinearInterpolation = true` branch builds the inflation...

## Summary `BiCGstab::solve` (ql/math/matrixutilities/bicgstab.cpp) tests the iteration counter before the error criterion after the loop: ```cpp QL_REQUIRE(i < maxIter_, "max number of iterations exceeded"); QL_REQUIRE(error < relTol_, "could not converge");...