Repository navigation
Conversation
…ismatch certify-data refuses a regional release that neither was built with nor claims the pinned policyengine-uk. The only Microcosm local-area cut is on 2.132.6, a new one takes 2-13 hours plus a two-build sign-off, and area receipts are uncertified anyway (the certificate covers the national dataset only, #685). So each national re-cut on a newer policyengine-uk had to drop area regions or wait for a dense rebuild. --accept-regional-model-mismatch REASON (UK only) keeps the regional release routed and records regional_certification in the bundle: basis accepted_model_mismatch, both model versions, the reason and area_receipts: uncertified. It refuses an empty reason, a regional release that already covers the version, and a run without a regional release; the core must still be covered. The national certificate is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The note was a Subfleet job artifact, not part of the change. The hub keeps a copy outside the repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 23, 2026
This branch has not been deployed
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.
Require audited evidence for a UK regional release served on an accepted model mismatch.
This branch stacks #704 (
da2ae8fb) into #699 (afee349d2) with a merge commit. The intended release order remains main → #704 → #699 → certification.Invariants:
--drop-regional-releaseremoves the exception, regional manifest digest, area routes and dense artifact without changing the national certificate.The comparison is ported from Microcosm #1348's
tools/certify_uk_cut_in_policyengine_py.pyand strengthened to inspect byte-verified H5 entity-table columns by period.scripts/audit_regional_input_surface.pyproduces the required JSON;certify-data --regional-input-surface-evidenceconsumes it with the accepted reason. The original regional manifest's raw-byte digest is retained.Budget route: national
microcosm-uk-2024-25-national-20261023T075039Z-a133f37a(2.147.2) and densemicrocosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe(built on 2.132.6). The exact model-inventory comparison yields 16 added pure inputs, includingsalary_sacrifice_returned_to_incomeandlocal_bus_uncapped_single_fare; the complete list is documented. Actual dense-byte evidence must be generated by certification with authenticated access to the H5. This implementation job has no HF credential and does not certify that pair.Required downstream refresh: update the dashboard's vendored
tests/fixtures/w4/execution_receipt.v1.schema.jsonfrom this repository's regenerated schema.Validation: 1,248 selected cases passed and two skipped across the UK run and three successful US metadata reruns. One unrelated US offline-import integration case was explicitly deselected. Formatting, lint, generated-schema equality and bundle checks pass. Mypy retains the same 24 baseline diagnostics, with zero errors in the new modules. Expanded validation was interrupted after 3,008 reported passes and five skips; it is not claimed complete. Details are recorded in
.job/HANDOFF.md. Regression tests demonstrated failures before implementation. Leave this PR draft.🤖 Generated with Claude Code