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

wegamekinglc / Derivatives-Algorithms-Lib / 35464753232
92%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2026 07:47PM 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

19 Sep 2026 07:34PM UTC coverage: 91.502% (+0.2%) from 91.33%
35464753232

push

github

web-flow
DAL-281: tree-walk LSMC core and Bermudan PDE benchmark (T2) (#398)

* Add tree-walk LSMC valuation for EXERCISE products (T2)

Three-phase double-mode driver behind MCDoubleSimulation routing: forward
storage of raw payments and (x, h, condition) triples over the fixed
min(8192, nPaths) batch layout, single-threaded backward induction with
z-normalized monomial continuation regressions (sigma floor, explicit
relative ridge, sample-size and conditioning guards with constant-basis
degenerate paths), and a frozen-strategy sobol replay whose batch-index
reductions keep PV, coefficients and exercise rates bitwise invariant to
the thread count. Adds the dal.script-simulation/1 diagnostic
(ExplainScriptSimulation in core and dal-public) and a test-only
Bermudan PDE benchmark anchoring the acceptance suite.

Co-authored-by: multica-agent <github@multica.ai>

* Split the three high-complexity LSMC functions under the Codacy gate

SolveExerciseRegression (17), RunBackwardPhase (13) and
ExplainScriptSimulation (10) exceeded the complexity-8 standard; extract
the regression statistics/normal-equations/ridge helpers, the backward
induction and decision helpers, and the diagnostic run/serialization
helpers. The arithmetic and statement order are untouched, so the bitwise
invariance and zero-exercise acceptance tests confirm behavior identity.

Co-authored-by: multica-agent <github@multica.ai>

* Fix the Copilot review findings on the LSMC payoff and diagnostics

- Keep the PAYS cashflows accumulated strictly before the exercise date in
  the exercised path payoff: exercise replaces same-day and later payments
  only (S4), so a coupon before the first exercise survives it; the
  recording evaluator snapshots the payoff variable at the exercise-event
  boundary and the replay adds it to the discounted exercise value, with a
  deterministic-economy regression case locking the composition
- Reject a negative numPath in ExplainScriptSimulation before the size_t
  conve... (continued)

398 of 404 new or added lines in 7 files covered. (98.51%)

2 existing lines in 1 file now uncovered.

15074 of 16474 relevant lines covered (91.5%)

3282560.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
98.53
dal-cpp/dal/script/lsmc.cpp
1
95.61
0.74% dal-cpp/dal/script/diagnostics.cpp
1
95.45
dal-cpp/dal/script/visitor/lsmcevaluator.hpp

Coverage Regressions

Lines Coverage ∆ File
2
96.67
-3.33% dal-cpp/dal/script/visitor/evaluator.hpp
Jobs
ID Job ID Ran Files Coverage
1 35464753232.1 19 Sep 2026 07:47PM UTC 300
91.5
GitHub Action Run
Source Files on build 35464753232
  • Tree
  • List 300
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35464753232
  • b7cd76d6 on github
  • Prev Build on master (#35454986234)
  • Next Build on master (#35496610591)
  • 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