Skip to content

Float-roundtrip regression test (companion to axiomere Spec 002 §7) - #1

Merged
tbitcs merged 1 commit into
mainfrom
companion/float-roundtrip-regression
Oct 12, 2026
Merged

tbitcs merged 1 commit into
mainfrom
companion/float-roundtrip-regression

Conversation

@tbitcs

@tbitcs tbitcs commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Discharges the §7 companion item of AXIOVEX/axiomere Spec 002 (float canonicalization) for this repo.

  • No code/API/pin change. The extension is the core repo's crates/axiomere-py; the workflow checks out AXIOVEX/axiomere main unpinned, and that main now carries the fix at 40d6933 (serde_json float_roundtrip enabled in core + bindings).
  • New regression test tests/test_float_roundtrip.py: appends the exact downstream reproduction {"ts_like": 1791810119.6349843, "plain": 0.5} plus a sweep of trigger-class floats (≥17-significant-digit plain/exponent forms, finite extremes, smallest subnormal, integral, signed zero), then requires Database.open, verify(), and verify_file to pass with bit-exact read-back and the reopened log still appendable.
  • Verified locally: full suite 7 passed against a wheel built from the fixed core (checkout pinned to 40d6933, CI's maturin route).
  • Teeth check: the same tests run against a pre-fix core build (43d4cbc) both fail with the defect's exact signature (hash-mismatch at seq 1) — the regression cannot pass vacuously.
  • Records: dated addendum appended to specs/001-python-api/assessment-2026-10-12.md; no claim re-scored or status-changed. No release cut (publishing is owner-gated).

Appends the exact downstream reproduction payload plus a sweep of
>=17-significant-digit float shapes, then requires Database.open,
verify(), and verify_file to pass with bit-exact read-back. Verified
against the fixed core (axiomere 40d6933, float_roundtrip enabled):
full suite 7 passed. Teeth check against the pre-fix core (43d4cbc):
both new tests fail with hash-mismatch at seq 1.

No code, API, or pin change: the workflow builds against
AXIOVEX/axiomere main, which now carries the fix. Dated addendum in
the Spec 001 assessment record; no claim re-scored.
@tbitcs
tbitcs merged commit ad885bd into main Oct 12, 2026
1 check passed
@tbitcs
tbitcs deleted the companion/float-roundtrip-regression branch October 12, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant