Repository navigation
Correct the Widowed Parent's Allowance description - #2635
Conversation
Widowed Parent's Allowance is closed for deaths on or after 6 April 2017, not to new claims (SSCBA 1992 s.39A(1); GOV.UK). Bottled LPG is gas in COICOP (04.5.2), not a liquid fuel (04.5.3). Descriptions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aggregate impact on certified data: passBase Checks: 0 broken by this change, 1 failing on both sides, 0 fixed. Moves flagged for review: 0 (thresholds in Notes
Moves flagged for reviewNone. Spending by benefit and service
Caseloads
Standard reform costings (change in gov_balance)
Standard reforms: change in each reform's target
Household net income by decileNo household's net income changes in any year. No change in any year: receipts by tax head; government balance, each component counted once; model totals; household income totals; population; poverty rates; people in poverty; inequality; mean household net income in each side's own deciles. Checks failing on both base and head (1)
Counted-once checkEach of 86 components was raised by £1 per unit in 2026-27, and every head of its totals was read household by household: its own head must rise by exactly £1, no other tax head may move, no other benefit may rise, and the model's own total must move by what its heads moved. A head that breaks a rule is measured again twice: with every other head held at its baseline value, and with every other head held at its value after the first £1 while the component rises again. It fails where either still shows the response. 0 failed; 0 were skipped.
Provenance
Dataset: Receipts by tax head: head levels
Spending by benefit and service: head levels
Caseloads: head levels
Government balance, each component counted once: head levels
Model totals: head levels
Household income totals: head levels
Population: head levels
Poverty rates: head levels
People in poverty: head levels
Inequality: head levels
Mean household net income in each side's own deciles: head levels
Standard reform costings (change in gov_balance): head levels
Standard reforms: change in each reform's target: head levels
|
Microcosm maps liquid_fuel_consumption to LCF parts that include bottled gas, so main's text was right; #2643 documents it. Keep the WPA fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Dropped the liquid fuel half of this PR in 6dc9be3. It was wrong: Microcosm UK maps 🤖 Generated with Claude Code |
Summary
One description fix. No formula, parameter or data change.
widowed_parents_allowance_reportedsaid Widowed Parent's Allowance was "closed to new claims since 6 April 2017". It is closed for deaths on or after that date. A new claim can still be made where the partner died before 6 April 2017.This PR first also changed the
liquid_fuel_consumptiondescription to exclude bottled LPG. That half was wrong and has been dropped, so those files are back to main's text. Microcosm UK mapsliquid_fuel_consumptionto LCF parts b017, c45312, b018 and c45222, which include bottled gas. #2643 documents this correctly.Evidence
widowed_parents_allowanceonly adds it, so nothing relied on the wrong reading.Tests
pytest policyengine_uk/tests/test_heating_fuel_inputs.py policyengine_uk/tests/test_widowed_parents_allowance.py: 10 passed.policyengine-core test policyengine_uk/tests/policy/baseline/gov/dwp/widowed_parents_allowance.yaml -c policyengine_uk: 7 passed.ruff checkandruff format --checkon the changed Python: clean.Reproducer: n/a: description and reference only; model behaviour and dependencies are unchanged
axiom: n/a: description-only change, no policy logic
🤖 Generated with Claude Code