Skip to content

fix(parity): stage completeness = zip parity block + margins json - #160

Merged
ronaldtse merged 1 commit into
mainfrom
parity-zip-completeness
Sep 4, 2026
Merged

fix(parity): stage completeness = zip parity block + margins json#160
ronaldtse merged 1 commit into
mainfrom
parity-zip-completeness

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Why

Live failure today: the layerdrop parity chain skipped the int4 stage
because margins-int4.json existed — written by a standalone
margin_model run, which never writes the zip's parity block. The int4
zip (the browser-budget artifact) was left parity-less and would have
failed the strict validator at publish time.

What

pending_precisions requires BOTH the margins report and a parity
block inside {mid}-{precision}.zip's metadata. Missing/corrupt zips
count as pending. 3 new tests (margins-without-parity reruns;
both-present skips; corrupt zip pending); 2 existing tests updated to
the tightened contract. Full suite: 127 passed.

…ns json

The layerdrop chain skipped int4 because yesterday's standalone
margin_model run had written margins-int4.json — but margin_model never
writes the zip's parity block, so the int4 zip shipped parity-less and
would fail the strict validator. pending_precisions now requires both
markers; corrupt or missing zips are pending.
@ronaldtse
ronaldtse merged commit df9225a into main Sep 4, 2026
@ronaldtse
ronaldtse deleted the parity-zip-completeness branch September 4, 2026 06:27
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