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

wegamekinglc / Derivatives-Algorithms-Lib / 31931580161
90%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2026 06:37AM UTC
Jobs 1
Files 256
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

16 Aug 2026 06:30AM UTC coverage: 89.62% (-0.3%) from 89.874%
31931580161

push

github

web-flow
feat: add script product JSON and tree debug dumps (#293)

* Add JSON and Unicode tree dumps for script products

The legacy s-expression debug dump only serves plain terminals. The
debugger now builds a small IR per statement and renders three formats
from it: the legacy text (byte-identical), a deterministic versioned
JSON schema (dal.script-product/1) for machine consumers such as web
front ends and bindings, and a width-aware Unicode tree with an ASCII
fallback for humans. The two new dumps also include past events, and
the dal-public wrappers run IndexVariables on a private copy so
indices, the variable table, and the payoff slot are resolved without
restructuring the parsed AST.

* Fix review and static-analysis findings on the debug dumps

- Replace a mixed-type ternary in TreeParen that clang and gcc reject
  (base_t and String_ branches both convert to each other, so the
  conditional operator has no common type; MSVC accepted it)
- Pass JSON string bytes through as unsigned char so multi-byte UTF-8
  is emitted verbatim instead of being \u-escaped per byte on platforms
  with signed char
- Parenthesize a pow operand under unary negation; "−a ^ b" reads as
  either −(a ^ b) or (−a) ^ b
- Construct a fresh Debugger_ per statement so the IR of earlier
  statements does not pile up on the visitor stack during a dump
- Keep the dal-public dump helper out of the core Dal::Script namespace
  (Dal::Detail instead)
- Split the inline/tree/JSON renderers into per-family helpers and
  table-driven precedence/width lookups to bring every function under
  the complexity budget Codacy enforces; rendering output is unchanged
  and pinned by tests, now including the neg-pow and UTF-8 cases

* Bring the debug renderers under the complexity limit

Split the seven functions Codacy flagged (lizard cyclomatic complexity
above 8) into per-family helpers: JSON field emitters, if-statement
inline and branch builders, and symbol lookups replace the compound
conditio... (continued)

363 of 469 new or added lines in 3 files covered. (77.4%)

1 existing line in 1 file now uncovered.

10067 of 11233 relevant lines covered (89.62%)

2440356.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
100
73.75
33.43% dal-cpp/dal/script/visitor/debugger.hpp
5
94.44
-0.74% dal-cpp/dal/script/event.cpp
1
94.12
-5.88% dal-public/src/script.hpp

Coverage Regressions

Lines Coverage ∆ File
1
97.4
-1.3% dal-cpp/dal/math/stacks.hpp
Jobs
ID Job ID Ran Files Coverage
1 31931580161.1 16 Aug 2026 06:37AM UTC 256
89.62
GitHub Action Run
Source Files on build 31931580161
  • Tree
  • List 256
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31931580161
  • bb6a10e3 on github
  • Prev Build on master (#31886202541)
  • Next Build on master (#31933698018)
  • 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