sots-engine/tests/mars_stream
alex 00e9266476 tests: ratchet the opaque ITEM COUNT, not the percentage; census baseline 538
The coverage ratchet reads `pct >= 99.99`, and with the last carried bodies
typed it cannot usefully be raised: the only opaque items left are the MT19937
block's two in every save, so the number is 2/items and it still ranges from
99.99400 on a 532 KB save to 99.99746 on a 1.17 MB one.  Moving the bar to
99.995 would fail a save that types perfectly and pass a save twice its size
that had picked up a whole new opaque body.  A percentage ratchet on a
fixed-size debt is a ratchet on save size.

So the percentage stays where it is and a stronger line goes beside it: the
opaque set must be exactly the two RNG items.  That breaks on the save that has
the new body, and `opaque_by_tag` names it.

test_domains: 43 saves give 755 fields observed, 538 varying, 217 constant,
against a baseline of 490 measured at 22 saves.  Nineteen of the new fields are
the bodies typed in the previous commit and only two of them (FTPShID,
FTPDesID) have ever been seen to move -- which is why the constants grew faster
than the varying fields, and is worth leaving visible.
2026-09-09 10:03:59 -04:00
..
oracle mars/stream + mars/rng: Streamable reader/writer/shapes, MT19937; 3 real saves exact + byte-identical round-trip 2026-09-07 17:46:06 -04:00
build_and_run.sh mars/stream + mars/rng: Streamable reader/writer/shapes, MT19937; 3 real saves exact + byte-identical round-trip 2026-09-07 17:46:06 -04:00
CMakeLists.txt stream: DomainArchive, the value-axis companion to the coverage ratchet 2026-09-08 21:57:43 -04:00
test_domains.cpp tests: ratchet the opaque ITEM COUNT, not the percentage; census baseline 538 2026-09-09 10:03:59 -04:00
test_rng.cpp rng: model chance(), the only entry point that can cost zero words 2026-09-08 22:32:14 -04:00
test_save.cpp tests: ratchet the opaque ITEM COUNT, not the percentage; census baseline 538 2026-09-09 10:03:59 -04:00
test_stream.cpp lane WS: pay the ratchet debt -- type the five new bodies, do not move the bar 2026-09-08 20:14:18 -04:00
test_wire_schema.cpp stream: the name-gen used-slot pair, and the Sprj and FTPnts bodies 2026-09-09 10:03:50 -04:00