Repository navigation
Count HBAI dependent children in relative poverty on the two-child limit page (#1398) - #1724
Conversation
9f7ecf6 to
da29070
Compare
Name the test that runs the fixtures (microsimulation/test_reform_impacts.py, gov_balance in 2029, default tolerance 1bn), fix the fixture count to eight, describe update_reform_impacts.py correctly, link #1724 instead of a page that is not on main, and add why the Microcosm move makes the history useful. Type the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run the validation #1398 asked for. PolicyEngine UK estimates: - AHC: ~501,000 children lifted from poverty (2029-30) - BHC: ~415,000 children lifted (2029-30) - Treasury cost: £3.40 bn Against external benchmarks: - OBR EFO November 2025 Table 3.2: 450,000 children lifted, £3.0 bn - Resolution Foundation "No half measures": 480,000 children lifted, £3.5 bn PolicyEngine's estimate sits between the two — slightly above OBR and RF on headcount, between them on fiscal cost. The agreement is well within the noise we'd expect from differences in nowcasting and take-up assumptions. Page is structured as a validation note: results table, reproducible code snippet (the actual snippet used to generate the numbers), three plausible drivers for the small overshoot (nowcasting, marginal take-up, calibration vintage), and a note on when to re-run. Notable mechanical detail: the model's baseline already has the TCL removed from 2026-04-06 per Budget 2025, so the validation runs the *reverse* counterfactual (re-impose the TCL) and reads the sign-positive "lifted from poverty" and "Treasury cost" figures directly. Easy to miss otherwise.
…gelog fragment Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Name the test that runs the fixtures (microsimulation/test_reform_impacts.py, gov_balance in 2029, default tolerance 1bn), fix the fixture count to eight, describe update_reform_impacts.py correctly, link #1724 instead of a page that is not on main, and add why the Microcosm move makes the history useful. Type the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The 450,000 children figure is DWP's poverty impact assessment (Table 1, FYE 2030), not the OBR EFO; add DWP's 300,000 BHC figure. - The cost benchmark is £3.1bn in 2029-30 from Budget 2025 Table 1.2 (OBR-certified), not £3.0bn. - Replace the unsourced claim about RF's take-up assumption with a neutral statement of PolicyEngine's own assumption. - Drop the unresolvable populace-uk-private repo name and the "certified" label on the Microcosm release. - Remove em dashes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
da29070 to
1892d47
Compare
The Lint job now runs ruff format --check on Markdown code blocks for every pull request, docs-only ones included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page reached main through #2386 and its changelog line shipped in 2.143.0, so this drops the released .added fragment and corrects main's copy: - reforms_config.yaml now has a dataset block and per-fixture receipts (#2335); the excerpt showed stale 7.8 / -18.1 values. - The tests pin the certified Enhanced FRS 2024-25 (1.58.1) through certified_dataset.yaml, not enhanced_frs_2023_24.h5@1.40.3. - The aggregate-impact workflow already costs the fixtures per PR, and aggregate_impact measure does the costing; what is missing is storage. - "Raise higher rate by 1pp" sets 42%, a 2pp rise. - Benchmarks: HMRC's ready reckoner for tax-rate changes; RF's No half measures is about the two-child limit. - The baseline already removes the two-child limit; #1724's page is on main as child-poverty-tcl.md. - Notebooks need a myst.yml entry; Pages is an artefact, not gh-pages; code links now point at GitHub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main already carries this page (added by #2386); the merge brings the branch up to date before the page is corrected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The snippet counted children in absolute low income (in_poverty_ahc, "absolute poverty" at both 2.123.7 and main) and compared them with DWP and Resolution Foundation figures for relative low income (DWP Tables 1-2; RF "No half measures"). It also counted is_child (deprecated) rather than HBAI dependent children. Re-run on 23 October 2026, policyengine-uk 2.148.2, certified Microcosm UK 2024-25 national release (cut 20261019T083323Z-6cba5d71, SHA-256 810ba980), FY 2029-30, HBAI dependent children: - relative AHC ~548,000; relative BHC ~460,000; cost (gov_balance) £3.21bn - absolute AHC ~549,000; absolute BHC ~325,000 (DWP Tables 3-4: 250,000) Also: - The cost is positive because the baseline pays more UC (gov_balance = tax less spending), not because it collects less revenue. - Take-up: newly entitled families claim at the data's residual rate, not existing claimants' rate. - RF published on 30 October 2025 on March 2025 OBR and August 2025 BoE forecasts, not November 2025; its subtitle is "Setting child poverty on a downward course at the Autumn Budget". - The earlier figures are kept in the text, labelled as absolute-measure runs. - Replaced the released .added fragment with a .changed fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the independent review of the corrections: - The run used main at c65bced, which is policyengine-uk 2.148.3 (the editable install's metadata still said 2.148.2); the only change since 2.148.2 (#2354) is input identifiers, and the page's own snippet, re-run on that code, prints the same 548k, 460k and £3.21bn. - DWP's absolute figures cite the FYE 2024 HBAI methodology (FYE 2011 line), while PolicyEngine's absolute line is the FYE 2025 one HBAI adopted in March 2026, so that comparison is not like for like either. - UC claims also follow would_claim_uc_at_legacy_closure for families reporting a closed legacy benefit (claims_universal_credit.py). - The earlier snippet showed only the AHC calculation; the BHC code was never shown. - Driver 1 now describes RF's nowcast and DWP's PSM instead of repeating driver 3's forecast vintages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Second-round review (approved): legacy_benefits_closed leaves out families sent to Pension Credit instead; nothing earlier says the relative comparison is not like for like. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
UK hub (Claude build session, for Max) Head: Context. This page already reached main, byte for byte, through #2386 (merged 21 October 2026; batch commit d50ee85), and its The main finding: this changes the page's PolicyEngine estimates. The page's snippet counted children in absolute low income ( I re-ran the estimate on 23 October 2026 on main
Cost ( These are published model numbers on a public page, so the hub may want to decide whether this needs Max. The earlier figures stay in the text, labelled as absolute-measure runs. Review. I had a verifier extract and check every claim, and checked each correction myself. Independent adversarial reviews followed: round 1 asked for changes, and round 2 approved; its two optional wording points are applied in the last commit. Corrected (12)
Checked and correct (unchanged)
Note
|
|
Merged by the UK hub (Claude session 8e19f9d5) at head
|
Corrects the two-child limit child poverty validation page (
docs/book/validation/child-poverty-tcl.md), written for #1398.The page itself is already on main: it shipped in #2386 (merged 21 October 2026), and its original
.addedchangelog entry was released in 2.143.0. This branch has merged main, dropped the released fragment and now carries only corrections to main's copy of the page.What this PR changes
is_hbai_dependent_child) in relative low income, to match the DWP and Resolution Foundation benchmarks it compares against. Main's copy counted children (is_child) in absolute low income (in_poverty_ahc).microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71), removing the two-child limit lifts about 548,000 children out of relative poverty after housing costs and about 460,000 before housing costs, at a cost of £3.21bn. That is above DWP's 450,000 AHC and 300,000 BHC and RF's 480,000; the page previously said PolicyEngine sat between them.gov_balance), how take-up is drawn for newly entitled families, and the date, subtitle and forecast vintages of the RF report.The claim-by-claim review, with sources, is in the "Ready for hub review" comment on this PR.
changelog.d/1398-child-poverty-tcl-page-corrections.changed.md(changed).🤖 Generated with Claude Code