Repository navigation
Give children and couples who cannot share a bedroom their own bedrooms in the LHA size criteria - #2080
Give children and couples who cannot share a bedroom their own bedrooms in the LHA size criteria#2080MaxGhenis wants to merge 3 commits into
Conversation
…ms in the LHA size criteria UC Regs 2013 Sch 4 para 12(6), (6A), (8), (9)(c)-(d) and HB Regs 2006 / HB (SPC) Regs 2006 reg 13D(3)(za), (zb), (ba) and closing words. A child who cannot share is taken out of the children's pairing and has a room of their own; a couple one of whom cannot share has a bedroom each. Housing Benefit allows these bedrooms only where the dwelling has them (num_bedrooms; assumed where not reported). New input cannot_reasonably_share_bedroom_due_to_disability. In force from 4 December 2013 (children) and 1 April 2017 (couples); attendance allowance only at the higher rate before 27 January 2025 (SI 2025/3). Fixes #2069. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The property generator now flags none, the first or both adults of a couple, so the Housing Benefit count of one further bedroom per occupier couple, however many members qualify, is exercised. Adds the matching YAML case for a non-dependant couple. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Coordination with #2084 (UC claim by a member of a couple as a single person, UC Regs 2013 reg 3(3)). UC Sch 4 para 12's disabled person condition applies where a renter "would ... be expected to share a bedroom with a joint renter". Where a member of a couple claims UC as a single person, the other member is not a joint renter. They are not a non-dependant either (Sch 4 para 9(2)(b)), and the renter has one bedroom (para 10(1)(a)). So that couple gets no extra room for not being able to share. That PR adds |
Invariant 8 always builds a couple from another family and flags one or both members: the couple's own claim gains one bedroom under each scheme, and the household head's family one Housing Benefit bedroom when the couple are occupiers it counts. A mutation that counted a bedroom per qualifying member survived the reference test's 25 examples; this test pins it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
#2062 is now on This PR still adds formulas that read the raw flag:
Each needs to read the resolved head instead:
|
Fixes #2069. Stacked on #2016 (
lha-nondep-children-foster-rooms), which is stacked on #2010 → #2006 → #1896. CI runs once it is retargeted tomain.What changes
The LHA size criteria now give bedrooms to children and couples who cannot share a bedroom because of disability. Until now both the UC and HB variables documented these rooms as "not modelled".
New input.
cannot_reasonably_share_bedroom_due_to_disability(Person, default false) records the decision maker's or local authority's judgement. For a child it means the child cannot share with another child; for a member of a couple, with the other member.Children who cannot share (
is_child_who_cannot_share_bedroom): under 16, on the DLA care component at the middle or highest rate, and flagged.bedrooms_for_childrengains acannot_sharemask. Each counted child so marked has a room of their own, and the other children are paired as before. A room is therefore added only where the child would otherwise share.Couples, one of whom cannot share (
is_member_of_couple_who_cannot_share_bedroom): the claimant or partner of a couple, on attendance allowance, AFIP, DLA care at the middle or highest rate, or PIP daily living, and flagged.HB dwelling condition (13D(3), closing words). These bedrooms count only so far as the dwelling has bedrooms beyond the entitlement if everyone could share, including the (3A)/(3B) rooms. The dwelling's bedrooms come from
num_bedrooms. When it is 0, the default meaning "not reported", the room is assumed. The FRS's BEDROOM6 is always 1-6, but the released enhanced FRS does not carry it.Variables
LHA_cannot_share_bedrooms(UC) is included inLHA_additional_bedrooms.housing_benefit_LHA_cannot_share_bedrooms(HB) is added inhousing_benefit_LHA_allowed_bedrooms, after a new helperhousing_benefit_bedrooms_if_able_to_share.Dates
receives_higher_rate_attendance_allowance.Law checked
Revised texts were fetched from legislation.gov.uk on 2026-10-01, and the amending SIs were read as made (2013/2828, 2017/213, 2025/3). Notes and quotes:
~/reviews/lha-disabled-cannot-share-2026-10-01/law/LAW.md(local).legislation.gov.uk's revised text of 13D(3) has editorial errors in both HB instruments:
The model follows the amending SIs.
Judgement calls
num_bedrooms, so in the microsimulation the HB condition never binds.Invariants (property tests in
tests/test_lha_bedroom_young_people_properties.py)The brute-force reference (invariant 5) now covers the new rules:
num_bedroomsdrawn from {unreported, 1..6}.New properties:
Invariants 1-4 (from #2010/#2016) now run on populations that include children and couples who cannot share.
Tests
YAML:
LHA_cannot_share_bedroom.yaml, 26 cases.Policy YAML: the new file passes (27 cases). Every case sets the new input, which the base does not have. The full family suite and the policy suite run before this leaves draft.
Property tests: all 7 then-existing properties pass at b2942e3; invariant 8 (4e7cfd7) passes (exit 0; the host was heavily loaded, so the run took ~25 minutes). This also answers Count other families' children and add the foster and overnight-care bedrooms in the LHA size criteria #2016's request to run its properties on a merge of its 1f3ce21 head. Mutation checks: four deliberately broken copies of the code (scratch copies), each run against invariants 5-8. Every one fails at least one property:
The couple mutant survived the reference test's 25 examples, so invariant 8 was added to pin that effect exactly.
Impact
Three real microsimulation runs of the released enhanced FRS 2024-25 (uk-data 1.57.4; h5 sha256 03fe15e40a4c), year 2026. All figures are aggregates. A cell backed by fewer than 10 distinct survey households is suppressed, and so is any figure that would reveal such a cell by subtraction.
As the data stand, nothing changes. The survey does not record the cannot-share judgement, so the new input is false for everyone.
num_bedrooms, so the HB dwelling condition never binds in the microsimulation.Upper bound. A third run gives every person the judgement, so the rooms go to everyone with a qualifying benefit. It shows how far the rule could reach. It is not an estimate: in practice the decision maker or local authority grants the judgement case by case.
Scripts:
~/reviews/lha-disabled-cannot-share-2026-10-01/impact/(dump_sim.pywith anallmode,compare.py,cannot_share_extra.py; outputsefrs_compare_upper_2026.out,efrs_extra_upper_2026.out).axiom: TheAxiomFoundation/rulespec-uk#411 queued (addendum TheAxiomFoundation/rulespec-uk#411 (comment)) | TheAxiomFoundation/rulespec-uk#406 queued (addendum TheAxiomFoundation/rulespec-uk#406 (comment); pointer on TheAxiomFoundation/rulespec-uk#357)
🤖 Generated with Claude Code