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

wegamekinglc / Derivatives-Algorithms-Lib / 28286058923
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: chore/fix-all-style-findings
DEFAULT BRANCH: master
Ran 27 Jun 2026 10:14AM UTC
Jobs 1
Files 218
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

27 Jun 2026 10:06AM UTC coverage: 80.644% (+0.1%) from 80.505%
28286058923

Pull #147

github

wegamekinglc
Address PR #147 review: drop dead Smooth arm, fix NodeType_ note, add move-ctor test

Three follow-ups to PR review feedback:

- Delete the entire `case Smooth:` arm from EvalCompiled. The opcode is
  never emitted by Compiler_::Visit* and FuzzyEvaluator_ works on the
  AST, not the compiled stream, so the arm was unreachable dead code
  that also contained a duplicate-condition bug (`if (x < -y)` on both
  branches). Removing it eliminates the dead code and the wrong-looking
  condition without leaving a misleading comment behind. The `Smooth`
  enumerator stays in the hand-written enum to keep the compiled
  nodeStream_ integer contract stable.

- Shorten the NodeType_ deferral note to a one-line NOTE and correct the
  factual claim. The two enums actually agree through Smooth/Sqrt/Log
  (indices 31-33); divergence starts at index 34 because the hand-written
  enum adds Exp there while the generated enum omits it (then Not, Uminus,
  True, False, ConstVar all shift by one). The note no longer asserts a
  specific divergence point -- it just states migration is high-risk and
  deferred, which is accurate either way.

- Add a regression test for the EvaluatorBase_ move-ctor fix. Move-
  constructs an Evaluator_<double> with non-default variablesInit_,
  evaluates an assignment so variables_ diverge from init, then calls
  Init() and asserts the initial values are restored. Verified the test
  crashes against the pre-fix move ctor (out-of-bounds in Init() because
  variablesInit_ is empty after move) and passes against the fix.

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #147: fix: script-engine correctness bugs (firstElse_ default, EvaluatorBase_ move-ctor)

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

6291 of 7801 relevant lines covered (80.64%)

3213901.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
31.73
1.35% dal-cpp/dal/script/visitor/compiler.hpp
Jobs
ID Job ID Ran Files Coverage
1 28286058923.1 27 Jun 2026 10:14AM UTC 218
80.64
GitHub Action Run
Source Files on build 28286058923
  • Tree
  • List 218
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28286058923
  • Pull Request #147
  • PR Base - master (#28282236600)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc