Repository navigation
Add the September 2026 CPI claims and PE-UK benefit-rate read-backs - #223
Merged
Merged
Conversation
New lane uk-benefit-uprating. Two claims for the CPI rate that sets the April 2027 uprating of most working-age benefits: ONS September 2026 (3.5%, staged as a claim by decision, a departure from the boundary rule) and OBR's March 2026 forecast for 2026 Q3 (2.08%). A parameter-tree read-back on policyengine-uk 2.147.2 answers them and attaches to the 4 HM Treasury and 11 Resolution Foundation uprating claims by claim_id. PE-UK 2.147.2 raises CPI-linked working-age rates by 2.30% in April 2027 (OBR's calendar-year CPI), 1.2 points below the ONS rate; the fix is policyengine-uk#2557. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4 tasks done
This branch was successfully 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.
Summary
New lane
uk-benefit-uprating: the CPI rate that sets the April 2027 uprating of most working-age benefits, and PolicyEngine-UK's benefit rates against every published April uprating. It gives a baseline check for the Autumn Budget 2026 question "will any working-age benefit be cut or uprated below CPI?".ARCHITECTURE.mdrecords, as for the Census STC claims (US state income tax collections for every state (Census STC) as baseline claims #176).consumed_as_target: PE-UK takes ONS September rates and OBR determinants as inputs, so a match checks the input, not model skill.pipeline/compute_uk_uprating_readback.pyreads the parameter tree of policyengine-uk 2.147.2. There is no simulation and no dataset;data_bundleisparameter-tree. The protected UC health element comes from the model's own Universal Credit Act 2025 s. 4 floor.uk-ab2025-official) and the 11 Resolution Foundation upratings (uk-thinktanks). These were the archived "uprating_april2026" family thatproduce_campaign_ukblocks; this lane answers them on a current engine instead.Finding. PE-UK 2.147.2 raises CPI-linked working-age rates by 2.30% in April 2027. That is OBR's calendar-year 2026 CPI, because
gov.benefit_uprating_cpifollows the lagged calendar-year index. The model's own September 2026 CPI is a 2.12% forecast, with no outturn entered. Both are below the 3.5% that ONS published. This is PolicyEngine/policyengine-uk#2533; PolicyEngine/policyengine-uk#2557 (open) moves the index to September CPI and enters 3.5%. After that release, running the read-back again moves these rows with one command.Also: the new metric
cpi_inflation_rate, kept apart fromcpi_inflation_effect(what a policy does to the CPI), and the release labelparameter-tree.Test plan
tests/test_uk_benefit_uprating.py:pytest tests/(test_modal_uk_event deselected locally): the only failures are 58 failures and 3 errors in the UK replay and registry tests. They come from this machine's base Python environment (an old policyengine-uk thatuv runcan see), and the same 58 + 3 occur on a cleanmaincheckout.ruff format --check;bun test src,bun run lint(the 2 existing warnings),bun run build.🤖 Generated with Claude Code