Skip to content

Restore the release H5 write that #437 dropped - #444

Merged
MaxGhenis merged 1 commit into
mainfrom
restore-release-h5-write
Jul 16, 2026
Merged

Restore the release H5 write that #437 dropped#444
MaxGhenis merged 1 commit into
mainfrom
restore-release-h5-write

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Fixes #443

What happened

#437 (my batching PR) accidentally deleted the export H5 write while inserting the batched pre-export raise:

dataset_path = artifact_root / DATASET_FILENAME
release_engine.write_dataset(export_frame, dataset_path, period=PERIOD)   # ← dropped

Since #437 merged, no release run has written its export H5. Build M attempts 13/14 smoke-scored attempt 10's stale July-15 artifact — keogh scored +$11,809, byte-identical to the pre-swap runs, despite the frozen selection carrying 13 verified keogh carriers at $148.97M — and a green run would have sha-pinned the stale file into the release manifest. The smoke gate firing on stale content is the only reason nothing shipped: the gate did its job end to end.

What

Full builder suite passes locally (111 tests).

🤖 Generated with Claude Code

…tifact)

Fixes populace#443.

#437 collapsed

    dataset_path = artifact_root / DATASET_FILENAME
    release_engine.write_dataset(export_frame, dataset_path, period=PERIOD)

into the bare assignment while inserting the batched pre-export raise.
Since then no run has written its export H5: Build M attempts 13/14
smoke-scored attempt 10's stale July-15 artifact (keogh +$11,809,
byte-identical to pre-swap runs, despite 13 verified carriers at
$148.97M in the frozen selection), and a green run would have
sha-pinned the stale file into the release manifest. The smoke gate
firing on stale content is the only reason nothing shipped.

Restore the write at the same point: after the batched raise (a
gate-failed run must not produce the H5) and before the smoke (which
must score the just-written file).

CI passed on #437 because no test runs main() past the batched gates.
Until the green-path main() harness exists (populace#443 remedy), an
AST-level test pins the ordering contract - exactly one write_dataset
in main(), strictly between the single batched terminal raise and the
reform-coverage smoke - and fails when the call is absent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit c48f7da into main Jul 16, 2026
4 checks passed
@MaxGhenis
MaxGhenis deleted the restore-release-h5-write branch July 16, 2026 20:01
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.

#437 dropped the release H5 write; smoke gate scored a stale artifact (attempts 13/14)

1 participant