Carry the geography ladder by default; gate releases on it#289
Merged
Conversation
The ladder shipped opt-in (#277): nothing stopped a base or release from being built without the geography spine, which is the silent-degradation family (#225 everyone-is-a-citizen, #34 NYC-zero) this repo legislates against. - tools/build_us_puf_support_base.py: omitting --block-ladder-artifact is now an error; diagnostic builds opt out explicitly with --without-block-ladder (recorded in the summary). - L0/refit release export: the geography spine (state_fips, congressional_district_geoid, and the seven ladder columns) joins the required release source columns (presence; value quality is the gate's job), and the us_geography_ladder gate runs on the selected support with its calibrated weights — a release whose spine is inconsistent or whose NYC mass collapsed fails by default. --allow-geography-ladder-gate-failures is the diagnostic escape hatch; the gate result is recorded in the export summary either way. 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.
Follow-up to #277 (populace #275). The ladder shipped opt-in: nothing stopped a base or a release from being built without the geography spine — the silent-degradation family (#225's everyone-is-a-citizen, #34's NYC-zero) with a new face. Carrying the ladder is now the default at both enforcement points:
tools/build_us_puf_support_base.py): omitting--block-ladder-artifactis an error; diagnostic builds opt out explicitly with--without-block-ladder, and the opt-out is recorded in the build summary.l0_refit_export): the geography spine (state_fips,congressional_district_geoid, and the seven ladder columns) joinsUS_RELEASE_REQUIRED_HOUSEHOLD_SOURCE_COLUMNS(presence-checked; value quality is the gate's job), and theus_geography_laddergate runs on the selected support with its calibrated weights — a release whose spine is inconsistent or whose NYC mass collapsed fails by default.--allow-geography-ladder-gate-failuresis the diagnostic escape hatch, mirroring--allow-input-mass-drift, and the gate result lands in the export summary either way.Operational note: reconstructions of ladder-less bases (anything built before #277) now require the explicit escape hatches — that is the point. The national ladder artifact builds in minutes from cached sources via
tools/build_us_block_ladder_artifact.py(18MB NPZ; validated at 5,769,942 blocks / population exactly 331,449,281 / 436 CDs / 3,143 counties).🤖 Generated with Claude Code