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

formalsec / smtml / 425
44%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2025 06:37PM UTC
Jobs 1
Files 13
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

23 Nov 2025 06:33PM UTC coverage: 45.662% (-5.9%) from 51.566%
425

push

github

filipeom
Refactor exception handling in operator evaluation

Previously, during operator evaluation we would raise generic failures
for following three reasons:

- A theory was unsupported
- An operator was not supported by a given theory, and
- A failure in the evaluation of an operator

This would make exception handling difficult for apps that need to
gracefully handle failures. For this reason, we refactored the above
exceptions to instead raise a `Eval_error` of type `error_kind`.

Additionally, the refactor included:

- Fixing a couple of bugs when raising the `Type_error` exception.
- Adding all the helpers used for value coercion at the top of the file.
  I think it's more organised this way. Only time will tell.

BREAKING: Exception API changed for the `Eval` module

213 of 273 new or added lines in 1 file covered. (78.02%)

286 existing lines in 5 files now uncovered.

879 of 1925 relevant lines covered (45.66%)

7.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
60
78.74
-0.58% src/smtml/eval.ml

Uncovered Existing Lines

Lines Coverage ∆ File
1
36.67
-3.33% src/smtml/num.ml
5
29.59
-5.1% src/smtml/value.ml
8
78.74
-0.58% src/smtml/eval.ml
78
12.29
-22.29% src/smtml/ty.ml
194
32.3
-2.08% src/smtml/expr.ml
Jobs
ID Job ID Ran Files Coverage
1 425.1 23 Nov 2025 06:37PM UTC 13
45.66
GitHub Action Run
Source Files on build 425
  • Tree
  • List 13
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3c4b3486 on github
  • Prev Build on main (#422)
  • Next Build on main (#426)
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