• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wegamekinglc / Derivatives-Algorithms-Lib / 35562162463
92%

Build:
DEFAULT BRANCH: master
Ran 21 Sep 2026 04:54AM UTC
Jobs 1
Files 300
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Sep 2026 04:45AM UTC coverage: 91.675% (+0.08%) from 91.593%
35562162463

push

github

web-flow
fix: harden calibration inverse publication and batch sweeps (#406)

* Restrict LSMC regression and exercise decisions to ITM paths

Classic Longstaff-Schwartz regresses the continuation value on the
in-the-money paths (h > 0) only. Including every condition-true path let
deep-OTM (h == 0) paths into the fit, and a regression that undershot
below zero then "exercised" worthless options: on a two-date 90 put the
unfiltered driver exercised 41% of all paths at the mid date against a
25% ITM fraction and underpriced by more than 1% versus the PDE oracle.

FillIncluded now intersects the condition row with h > 0, PathPayoff
requires a strictly positive exercise value, and the fuzzy replay blends
the decision degree with the one-sided CSpr(h, 0, eps) ramp so the blend
converges to the corrected hard rule (degree 0 on the h == 0 atom; a
centered ramp would leave 0.5 there). The empty regression set also
carries the sigma floor now: a count-0 day previously kept sigma_ == 0
and produced NaN continuations in the fuzzy replay's z-normalization.

num_cond_true_paths in the simulation diagnostic accordingly reports the
ITM condition-true count; the dal-public and dal-excel pins move to the
measured values and the dal-python assertion to the semantic bound.

* Anchor the Bermudan PDE s=0 boundary at the next exercise date

During the rollback over (t_e, t_{e+1}] the boundary was
K*exp(-r*(t_e - t)) >= K, anchored one exercise period back; the
Bermudan value at s = 0 is K*exp(-r*(t_{e+1} - t)), anchored at the
segment's right endpoint, exactly as the final segment already did. The
loop now passes the current tNext (read before rollTo reassigns it).

Measured delta on every suite benchmark is exactly zero: the boundary
layer is a few grid cells deep inside the payoff-floored region, and the
projection at each exercise date overwrites precisely that layer, so the
mis-anchoring never reached an interpolated value; the final segment,
the only one whose boundary surviv... (continued)

102 of 116 new or added lines in 10 files covered. (87.93%)

6 existing lines in 4 files now uncovered.

15329 of 16721 relevant lines covered (91.68%)

3235007.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
82.25
3.95% dal-cpp/dal/curve/xccybasiscalibration.cpp
2
96.95
-0.12% dal-cpp/dal/curve/calibration.cpp
1
96.17
-0.06% dal-cpp/dal/curve/ratecashflowpricing.cpp

Coverage Regressions

Lines Coverage ∆ File
2
96.95
-0.12% dal-cpp/dal/curve/calibration.cpp
2
94.69
-0.4% dal-cpp/dal/curve/jointcalibration.cpp
1
82.25
3.95% dal-cpp/dal/curve/xccybasiscalibration.cpp
1
91.54
-0.22% dal-cpp/dal/curve/xccyjointcalibration.cpp
Jobs
ID Job ID Ran Files Coverage
1 35562162463.1 21 Sep 2026 04:54AM UTC 300
91.68
GitHub Action Run
Source Files on build 35562162463
  • Tree
  • List 300
  • Changed 11
  • Source Changed 11
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35562162463
  • 5eda0ec2 on github
  • Prev Build on master (#35548579547)
  • Next Build on master (#35564769936)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc