Repository navigation
Open
Description
Follow-up to item 7 of Vahid's second review of #1344.
Problem
frs_take_updrawswould_claim_ucat one contract rate over the UC age population.spi_benefit_coherenceredraws it the same way for SPI units. Neither draw looks at the legacy benefits a unit reports.- policyengine-uk continues an existing Housing Benefit award only while the unit does not claim Universal Credit. So a working-age unit that reports HB and is drawn to claim UC loses its HB, even when the engine does not move it at the legacy closure.
- On the 2024-25 spines, the working-age units that keep HB are already below DWP's 2025 caseload before
uc_take_upruns. UK #1334: draw UC take-up by award band, and measure the HMRC income rows over each person's year #1344 keeps these units out of its own draw and counts them inFat their stored flag, so it does not add to the gap. It does not close the gap either. The gap is older than UK national calibration moves weight away from low-income households: reconcile the HMRC low-band rows, model UC take-up by award size, impute pensioner benefit receipt (pre-Budget) #1334.
DWP figures
Working-age Housing Benefit claims in Great Britain (DWP benefit statistics, August 2025 and February 2026 releases):
- May 2025: 660,775
- November 2025: 370,372
The caseload falls fast through 2025 as DWP moves HB-only cases to UC. The build's 2025 basis is a period average, so these two points bracket it.
What to compare
- The model figure to compare is every working-age benefit unit with engine
housing_benefitabove zero in 2025, over Great Britain, at calibration weights. - The
working_age_housing_benefitblock inuc_take_up's receipt is not that figure. Itsreporting_unitsleaves out the units the engine moves at the legacy closure, and it is at the stage's weights.
Options
- In
frs_take_upandspi_benefit_coherence, leavewould_claim_ucfalse for a unit that reports a legacy benefit the engine does not move, unless the unit also reports UC. This is the ruleuc_take_upnow applies. The legacy closure stage then decides who moves. - Draw those units onto UC at a published natural-migration rate (moves after a change of circumstances), not at the flat rate.
Done when
- The model's working-age HB caseload in 2025 is compared with DWP's figures on a like-for-like basis, as a receipt line.
- The receipt line shows weighted figures only where ten or more source households carry them.
- The gap is closed, or its cause is written down.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
vahid-ahmadi commentedon Nov 6, 2026
Plan review at main
f44512d. I checked the two draws and the UC take-up stage on main, and the Housing Benefit rules in policyengine-uk main. The problem still reproduces:frs_take_up.py:497andspi_benefit_coherence.py:827drawwould_claim_ucat one rate with no legacy test. For HB reporters,uc_take_upthen keeps that stored flag.Should
Specified and temporary accommodation are missing from Option 1 and from the comparison. In policyengine-uk (
claims_universal_credit,housing_benefit_eligible), HB for specified or temporary accommodation survives a UC claim and DWP's move (SI 2014/1230 regs 8(3) and 46(2)). Microcosm does not setin_specified_or_temporary_accommodation:docs/concept-coverage/policyengine-uk.md:55lists it among the inputs no concept covers. So the engine ends every reported HB award once the unit claims UC. Failure case: a working-age unit in supported housing that reports both UC and HB is a UC reporter, so the engine gives it no HB. DWP's working-age caseload still counts that award. Option 1 cannot close that part of the gap, so the receipt would read as an unexplained shortfall. Suggested fix: take SA and TA out of the DWP side using Stat-Xplore's new HB accommodation-type breakdown, added in the February 2026 release with data from September 2025, which covers the November 2025 point (DWP, changes since April 2025). Or report UC-and-HB reporters as a named residual. Mapping the SA/TA flag itself could be a separate follow-up.Option 1 already has a home on main, for ESA only.
uc_take_up.py:804-809setsprevious = stored & ~esa_kept(UK: every open data item: uk-data parity, engine locks, the local surface, consumption and high-value homes #1095): a unit that reports income-related ESA, does not report UC and is not moved claims no UC. An HB-only unit goes throughlegacy_kept(:864), which only takes it out ofdrawable(:531) and leaves its stored early draw in place. So the issue's line "This is the ruleuc_take_upnow applies" holds for ESA but not for HB. Suggested fix: extend the same mask inuc_take_uptohousing_benefit_reportedunits that are not moved and do not report UC (apart from the SA/TA case in item 1). That is one place instead of the two early draws, anduc_take_uprewrites the early flag anyway (graph.py:138-140). The award-band solve then redraws its residual without these units inF, andworking_age_housing_benefit(:911) shows the before and after.Nit
receipt_counts.py:46,UK_DISCLOSURE_FLOOR = 3), and Build the national + local-area pair on policyengine-uk 2.151.0, and drop UK model-figure withholding #1396 removed model-figure withholding from UK builds.small_cell_sharealready applies the current floor, so that line can just point to it.🤖 Generated with Claude Code