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

moonbitlang / core / 5906

Build:
DEFAULT BRANCH: main
Ran 13 Aug 2026 02:26AM UTC
Jobs 1
Files 435
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

13 Aug 2026 02:24AM UTC coverage: 90.48% (+0.005%) from 90.475%
5906

push

github

bobzhang
test(immut): strengthen HAMT property suites beyond canonicity

The canonicity sweeps asserted only the "equal" direction of Eq — an
over-permissive equality would have passed every existing property.
Fold three new checks into both sweeps, at every step and under every
collision regime:

- negative Eq: perturbed content (fresh key added, entry removed, value
  changed) must compare unequal
- hash coherence: equal content must hash equally, exercising the
  commutative bucket hashing where it is actually at risk
- iteration agreement: sorted to_array/iter output must equal the model
  exactly, covering the iterator state machine under all trie shapes

Add algebraic-law quickcheck tests for the merge operations, stated
with structural == (valid thanks to canonicity) and run under both
distinct-hash and maximum-depth-collision regimes: associativity,
idempotence, identity, per-key right-bias oracles, union_with symmetry
under a commutative merge, left-biased intersection as difference of
differences, and difference laws; for sets additionally full
commutativity of union and intersection.

Also port the mid-depth (segment-3) regime to the hashmap sweep for
parity with the hashset suite.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

15882 of 17553 relevant lines covered (90.48%)

131240.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5906.1 13 Aug 2026 02:26AM UTC 436
90.5
GitHub Action Run
Source Files on build 5906
  • Tree
  • List 435
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bc871bf0 on github
  • Prev Build on main (#5904)
  • Next Build on main (#5913)
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