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

stillwater-sc / universal / 23712086399
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/issue-1068-mul-online-host-floor
DEFAULT BRANCH: master
Ran 29 Mar 2026 03:40PM UTC
Jobs 1
Files 630
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

29 Mar 2026 03:12PM UTC coverage: 84.328% (+0.004%) from 84.324%
23712086399

push

github

web-flow
feat(ucalc): rewrite pattern table and rewrites command (#673)

* docs(ucalc): AST evaluator conversion plan for Epic #642

Plan for converting the expression evaluator to AST-based with
provenance tracking, rewrite pattern database, and structural
pattern matching. Five phases, each delivering standalone value.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ucalc): rewrite pattern table and rewrites command (#668)

Add a curated database of 7 numerically unstable patterns and their
stable alternatives in rewrite_patterns.hpp:

1. sqrt_diff:     sqrt(a)-sqrt(b) -> (a-b)/(sqrt(a)+sqrt(b))
2. quadratic:     unstable root -> stable alternative
3. log1p:         log(1+x) -> log1p(x)
4. expm1:         exp(x)-1 -> expm1(x)
5. half_angle:    1-cos(x) -> 2*sin(x/2)^2
6. sin_diff:      sin(a)-sin(b) -> product-to-sum
7. cos_ratio:     (1-cos(x))/x^2 -> sinc form

Each pattern includes: id, name, unstable/stable forms, condition,
and explanation of why the original is numerically unstable.

Add `rewrites` command that lists all patterns with descriptions.
All output formats: plain (detailed), JSON (full fields), CSV, quiet.

Data for Phase 4 (AST matching, #669) to match against.

Resolves #668

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

44574 of 52858 relevant lines covered (84.33%)

6099919.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23712086399.1 29 Mar 2026 03:40PM UTC 630
84.33
GitHub Action Run
Source Files on build 23712086399
  • Tree
  • List 630
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23712086399
  • 4baa5225 on github
  • Prev Build on main (#23711600149)
  • Next Build on main (#23715766161)
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