Repository navigation
Certify the Microcosm UK pair from microcosm#1535 on policyengine-uk 2.174.1 (national eeb6093e, local area 38605444) - #744
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>
|
Review of 12a6a8c I checked every pinned identifier against Hugging Face, the pin across files, the format against #720 and #731, and where both cuts were built on microcosm. In a fresh clone on policyengine-uk 2.174.1, Should
Nit
Checked and fine
CI at 12a6a8c: all 14 checks pass. Test (3.12) took 1h52m, so the old 105-minute limit would have cancelled it, and the 150-minute limit is needed. Verdict: the identifiers and pins are right. Get the local cut's two microcosm commits onto a reviewed PR before this leaves draft. 🤖 Generated with Claude Code |
Vahid's review of 12a6a8c (Should 2): the generated sentence named only the national cut. The fragment now follows #731's wording for this pair: both cuts and their microcosm commits, and the policyengine-uk pin moving from 2.151.0 to 2.174.1, which brings the Autumn Budget 2026 measures from 2.170.0 into UK current law. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, Vahid.
|
The national moves from eeb6093e to microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7, built from PolicyEngine/microcosm#1491 at dd99a1dcd on policyengine-uk 2.165.1, and the local area from 38605444 to microcosm-uk-2024-25-dense-20261104T093024Z-83802786, built from the same commit and spine with its gate-only sign-off (5293966d4). Both certify on their own build (built_with_model_package); the core stays 3.33.3 with core_binding bundle_pin. This redoes the pair's certification on main after #744: the UK pin moves from 2.174.1 back to 2.165.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. They match the earlier head of this branch (a0f2221), and so does the manifest apart from the bundle version. One changelog fragment describes the pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The national moves from eeb6093e to microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7, built from PolicyEngine/microcosm#1491 at dd99a1dcd on policyengine-uk 2.165.1, and the local area from 38605444 to microcosm-uk-2024-25-dense-20261104T093024Z-83802786, built from the same commit and spine with its gate-only sign-off (5293966d4). Both certify on their own build (built_with_model_package); the core stays 3.33.3 with core_binding bundle_pin. This redoes the pair's certification on main after #744: the UK pin moves from 2.174.1 back to 2.165.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. They match the earlier head of this branch (a0f2221), and so does the manifest apart from the bundle version. One changelog fragment describes the pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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(under review in Defer Carmarthenshire's band I council tax cell and sign dense build 1's gate-only failures (local cut 38605444) microcosm#1549):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.9aa9e7bb: the changelog fragment, rewritten to name both cuts and the model move.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
12a6a8cb9aa9e7bbchanges only the changelog fragment.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