Compile the preflight preview registry with aging on#439
Merged
Conversation
With #438's wrapper fix in place, the real feed still fails the period contract at preview time (1,488 cross-period dollar targets, e.g. 2023 BEA/Fed/SOI facts in a 2024 build): the release tool compiles with --age-targets on by default, and the preview must compile the registry the release run will actually calibrate. _load_ledger_target_specs now passes age_targets=True; the seam regression test asserts the compiler receives it. Verified end to end against the real Build M inputs (rebuilt base + v8 facts feed): the preflight completes and reports selection carryover PASS 57,240/57,240, keogh 13/13 supported, and the export-mass parity advisories. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Follow-up to #438 (this change was described in #438's body but did not ship in it — my error; the body has been corrected). With the wrapper fixed, running the preflight with
--ledger-factson the real feed still crashes at preview time:The release tool compiles the registry with
--age-targetson by default (CBO growth-factor aging of cross-period dollar facts); the static preview must compile the registry the release run will actually calibrate.What
_load_ledger_target_specspassesage_targets=True(mirroring the release default; CD targets stay opt-in-off in both).age_targets=True.Verified end to end on the real Build M inputs (rebuilt base + v8 facts): preflight completes — selection carryover PASS 57,240/57,240, zero-support preview runs, keogh 13/13 supported.
🤖 Generated with Claude Code