Repository navigation
Certify the Microcosm UK pair from microcosm#1535 on policyengine-uk 2.174.1 (national eeb6093e, local area 38605444) - #744
Draft
juaristi22 wants to merge 3 commits into
Draft
juaristi22 wants to merge 3 commits into
juaristi22 wants to merge 3 commits into
Conversation
The national moves from a6299504 to microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e, built from PolicyEngine/microcosm main at dc00d158f (the merge of PolicyEngine/microcosm#1535) on policyengine-uk 2.174.1, and the local area from c9df4b86 to microcosm-uk-2024-25-dense-20261107T173210Z-38605444, built on the national's spine and reused at 03c31df56, its gate-only sign-off. Both certify on their own build (built_with_model_package); the core stays 3.33.3 with core_binding bundle_pin. The UK pin moves from 2.151.0 to 2.174.1 in pyproject.toml, the bundle and uv.lock, where nothing else moves. certify-data, the release lock, the TROs and both bundle checks are rerun. The certified constants in the tests follow uk_qualification.rewrite_certified_constants plus the local-area id, and one changelog fragment describes the pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PE_UPDATE_SNAPSHOTS=1. The four UK households gain the GBP 100 Household Energy Payment (policyengine-uk 2.170.0). The couple with two children also gains GBP 870 of funded childcare, and the two households on Universal Credit GBP 150 of Warm Home Discount in HBAI income. The UK model surface counts more parameters and variables; the US snapshots don't change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
This certifies the Microcosm UK pair from PolicyEngine/microcosm#1535 on policyengine-uk 2.174.1, the version that built both cuts, so each certifies on its own build. It supersedes #731, the PolicyEngine/microcosm#1491 pair on 2.165.1.
The national
microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e(microcosm_uk_2024_25):dc00d158f, the merge of UK November event data, PR1: full-time education, single ages 16 to 24, Scottish PRIS diagnostics, energy kWh columns microcosm#1535, with policyengine-uk 2.174.1 and policyengine-core 3.33.3.built_with_model_package).core_binding: bundle_pin), as on main.0a9b77db1c0dee2693cb2d47bad68da34cb662916eee4829942bcd45de581f25.--no-latest), and not promoted. The build machine had no emitter yet, so it was published with--allow-missing-staging.The local area
microcosm-uk-2024-25-dense-20261107T173210Z-38605444(microcosm_uk_2024_25_dense). Constituency and local-authority regions route to it (regional_release_kind: local_area).83802786: K=15, 150,000 households, seed 42 and the same warm start.uk-event-pair-20261107sit on top ofdc00d158f:edd051eccdefers one local council tax cell, Carmarthenshire's band I, where the first build stopped;03c31df56signs the gate-only target-fit failures, national and local, of the build atedd051ecc.03c31df56passed all 7 terminal gates and every release-blocking gate.--no-latest), with its staging files.1b71c5c93f47f497b25ec106d3e13017af6e0c41d808cc7db74f4e0a0dff4bf4.Impact
a6299504andc9df4b86) toeeb6093eand38605444. UK results change with both.Commits
8cd66bfb: the pair, certified by onecertify-datarun. It also carries:b3370346: the household calculator snapshots, regenerated on 2.174.1 (PE_UPDATE_SNAPSHOTS=1).12a6a8cb: the Test jobs' 150-minute limit, in the pull-request and push workflows.How it was made
uk_qualification.rewrite_certified_constantsrewrote the certified constants intests/test_models.py,tests/test_release_manifests.pyandtests/test_uk_regions.py. The local-area id was added to its replacements.Evidence run on this head
The UC floor passed on
eeb6093e(check_uk_uc_floor.py, Great Britain, 2025, within 10%, policyengine-uk 2.174.1). The receipt holds weighted national totals only:0639b9c7, Certify the Microcosm UK pair from microcosm#1491 on policyengine-uk 2.165.1 (national 0639b9c7, local area 83802786) #731);Bundle checks: both
bundle.py checkruns pass, the second with--include-tros --strict-tros. Its one warning is the US core note that main already carries.Lock and lint:
release_lock.pypasses;ruff format --checkandruff checkpass with CI's ruff (0.17.4).Local tests:
The full suite runs in CI.
Disclosure
Aggregates only: the shares of target rows within 10%, weighted national totals over many records, synthetic households, and published DWP and OBR figures.
🤖 Generated with Claude Code