Repository navigation
Certify the Microcosm UK pair on policyengine-uk 2.162.14 (3c0d11b6 national, 6528c865 local area) - #725
Certify the Microcosm UK pair on policyengine-uk 2.162.14 (3c0d11b6 national, 6528c865 local area)#725juaristi22 wants to merge 2 commits into
Conversation
…ational, 6528c865 local area) The national microcosm-uk-2024-25-national-20261028T061416Z-3c0d11b6 was built with policyengine-uk 2.162.14 and certifies on its own build. The local-area cut microcosm-uk-2024-25-dense-20261027T154955Z-6528c865 was built from the head of PolicyEngine/policyengine-uk#2695 (b71ce793) and records 2.162.12; 2.162.14 releases that package code unchanged, so its constituency and local-authority regions route on #699's accepted model mismatch, with the input-surface audit (auditor juaristi22: no dropped column, no defaulted input) bound in the regional record. The UK model pin moves from 2.151.0 to 2.162.14; the lock, the release lock, the TROs and the certified test constants move with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…2.14 PE_UPDATE_SNAPSHOTS=1 on the certified bundle. The UK households and the model surface move with the model; the US snapshots are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@MaxGhenis, for the UK hub. Here's what has already run on this head ( Already run here:
Still to run, from the hub's evidence package: the national hash check, the 2×2 attribution, Budget inputs (with the uk-autumn-budget-dashboard-2026#124 list), the #574 reform contract, reform responsiveness, the attribution report and the evidence index. A timing note before the long steps. On this cut, policyengine-uk 2.162.14 is far slower than 2.151.0, on which #720 ran:
#2695 halves the cost. But elections the ceiling leaves open are still compared in two branches of the whole simulation. The reform contract and responsiveness each run many full simulations, so on this head they will take much longer than on #720. Should those two run here as specified? Or will the coordinator name a smaller set that must come before the merge, with the rest after it (#722 Q1)? 🤖 Generated with Claude Code |
@MaxGhenis, this head is ready for the UK hub's certification run. Could the hub pick it up? María will be around later this morning to decide whether the Budget dashboard moves to the release this produces.
This certifies the Microcosm UK pair built from PolicyEngine/microcosm#1411 for policyengine-uk 2.162.14, the first PyPI release that carries PolicyEngine/policyengine-uk#2695.
The pair
National:
microcosm-uk-2024-25-national-20261028T061416Z-3c0d11b6(microcosm_uk_2024_25).built_with_model_package).core_binding: bundle_pinas on main.Local area:
microcosm-uk-2024-25-dense-20261027T154955Z-6528c865(microcosm_uk_2024_25_dense, 150,000 households,dataset_role: non_default_local_area).regional_release_kind: local_area).b71ce793, the head of Settle property allowance elections without the charge where it cannot change them policyengine-uk#2695, and records policyengine-uk 2.162.12. 2.162.14 releases that package code unchanged:git diff b71ce793 2.162.14 -- policyengine_uk ':!policyengine_uk/tests'shows nothing.compatibility_basis: accepted_model_mismatch), with the audited input surface bound in the regional record:audit_regional_input_surface.pyagainst the build model 2.162.12 from PyPI (core 3.33.3);One spine. The two cuts' spines hold identical household, benefit-unit and person tables. Both were built from the same inputs, at microcosm db50ae8dd and daaf54302; the latter only re-pins the engine.
Impact
uses_property_allowanceworks out every benefit on both routes since #2066, so microsimulations run several times slower policyengine-uk#2694). Every election's result is unchanged.Commits
fc6e2119: the pair, certified by onecertify-datarun, plus the lock, release lock, TROs, the certified test constants and the changelog fragment.67566056: the household calculator snapshots, regenerated on 2.162.14 (PE_UPDATE_SNAPSHOTS=1). The UK households and the model surface move with the model; the US snapshots are unchanged.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.Evidence run on this head
bundle.py checkruns pass, the second with--include-tros --strict-tros.Open for the hub
#722 asks:
On #720's timing, the release would land well after the Budget statement.
🤖 Generated with Claude Code