Skip to content

Use one carer attribution for the legacy severe disability premium and the Pension Credit addition (stacked on #1946 and #1951) - #1977

Merged
MaxGhenis merged 14 commits into
mainfrom
sdp-carer-attribution
Oct 3, 2026
Merged

MaxGhenis merged 14 commits into
mainfrom
sdp-carer-attribution

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

#1946 and #1951 have merged. This branch merges main 8c82433a, so its diff is this PR's own 12 files: those in "What changes" below and the tests listed under "Tests".

Fixes #1972.

Summary

The legacy severe disability premium (#1946) and the Pension Credit severe disability addition (#1951) ask the same question in law: is anyone entitled to and in receipt of Carer's Allowance or Carer Support Payment in respect of caring for the claimant or partner? The two PRs answered it differently.

Both now read one person-level variable, is_cared_for_by_carer_benefit_recipient. A carer in another benefit unit of the household therefore bars the legacy premium as it already barred the addition. That includes a non-dependant whose presence is ignored under para 14(4) because they receive a qualifying benefit or are blind: the non-dependant condition and the carer condition are separate limbs.

The Pension Credit addition's results do not change. The residence tests stay separate, because that is where the law differs.

The law (read on legislation.gov.uk, 2026-09-30)

Carer limb Residence limb
HB Regs 2006 (SI 2006/213) Sch 3 para 14 (2)(a)(iii); tail of (2)(b) (2)(a)(ii), (2)(b)(iii), (4); "non-dependant" in reg 3
IS Regs 1987 Sch 2 para 13, ESA Regs 2008 Sch 4 para 6, JSA Regs 1996 Sch 1 para 15 same wording same structure
SPC Regs 2002 (SI 2002/1792) Sch I para 1 (1)(a)(iii), (b)(ii), (c)(iv) (1)(a)(ii), (b)(ii), (c)(iii); persons ignored in para 2
  • Carer limb, HB para 14(2)(a)(iii): "no person is entitled to, and in receipt of, a carer's allowance under section 70 of the Act or carer support payment or has an award of universal credit which includes the carer element in respect of caring for him". SPC Sch I para 1(1)(a)(iii) has the same words. The couple limbs allow a carer for "only one of a couple" (HB) or "one only of the partners" (SPC), or for neither.
  • Who can be cared for, SSCBA 1992 s.70(2): a "severely disabled person" is one for whom attendance allowance, the DLA care component at the highest or middle rate, the PIP daily living component, or armed forces independence payment is payable (plus the Scottish equivalents and the constant attendance allowances prescribed by the Invalid Care Allowance Regulations 1976 reg 3). PIP and AFIP were added on 8 April 2013 (SI 2013/388 Sch para 5; SI 2013/796 art 3(2)).
  • One award per carer, one carer per person: s.70(7) ("No person shall be entitled for the same day to (a) more than one allowance under this section") and s.70(7ZA) (where two or more people would be entitled "in respect of the same severely disabled person, one of them only shall have that entitlement"), with (7ZB) and (7ZC) for Carer Support Payment. Both rules were in s.70(7) before 16 November 2023.
  • Residence limbs differ. HB counts "non-dependants aged 18 or over" (reg 3: not the claimant's family) and ignores those receiving a qualifying benefit or blind (para 14(4)). SPC counts any "person who has attained the age of 18" and ignores a wider list in para 2, including any reg 4A qualifying young person. So a young person of another family is a non-dependant for HB but ignored for Pension Credit.
  • The Council Tax Reduction schemes repeat the carer limb (England SI 2012/2885 Sch 2 para 6; Scotland SSI 2012/319 and 2021/249; Wales WSI 2013/3029 and 3035). England's default scheme (SI 2012/2886) names Carer's Allowance only.

What changes

  • New is_cared_for_by_carer_benefit_recipient (Person): someone receives a carer benefit for caring for this person.
  • New is_severely_disabled_for_carers_allowance (Person) and parameter gov.dwp.carers_allowance.qualifying_disability_benefits: the s.70(2) list, which defines whom a carer benefit can be paid for.
  • severe_disability_premium and severe_disability_minimum_guarantee_addition count their qualifying claimants and partners who are cared for from the shared variable.
  • Removed num_severe_disability_addition_qualifiers_cared_for (Apply the Pension Credit severe disability residence and carer conditions #1951's Pension Credit-only count).
  • Unchanged: has_non_dependant_for_severe_disability_premium (HB reg 3 and para 14(4)) and meets_severe_disability_addition_residence_condition (SPC Sch I para 2).

The attribution

The data say who receives a carer benefit, not whom they care for. Each award is attributed as #1951 did, now per person:

  1. No one is their own carer. Each award is for one person, and each person has one carer.
  2. A carer cares within their own benefit unit if they can: a claimant or partner first, then another member such as a disabled child.
  3. Every other carer in the household cares for a claimant or partner not yet cared for in another benefit unit, if there is one. Units take them in descending order of their eldest member's age (ties in person order). Otherwise the award is taken to be for someone outside the household.
  4. Where not everyone can have a carer, those who are not carers themselves come first, then person order. The number cared for in a benefit unit does not depend on that choice.

These are modelling assumptions, not law. The law takes "in respect of caring for him" as a fact.

Invariants

For every household:

  • Only a person who is severely disabled for Carer's Allowance is marked as cared for.
  • A household has no more people cared for than carer benefits, and a household's only carer is never marked.
  • In each benefit unit, the claimants and partners marked are one of the sets an independent person-to-person matching allows (severe_disability_addition_reference.household_carer_assignments).
  • The premium and the addition are each 0, one rate or two rates, and two only for a couple who both qualify.
  • Paying anyone in the household a carer benefit never increases either amount.
  • Giving anyone a qualifying benefit, or making them blind, never reduces the legacy premium.
  • With no one aged 16 to 19 in the household, the legacy premium equals the Pension Credit addition for every benefit unit, carers in other benefit units included. The two residence tests differ only over that age group.
  • The Pension Credit addition equals the reference implementation written from the law (Apply the Pension Credit severe disability residence and carer conditions #1951's differential test, unchanged).

Tests

  • YAML, legacy premium (6 new cases), including the one Use one carer attribution for the legacy severe disability premium and the Pension Credit severe disability addition #1972 asks for: a non-dependant who is ignored under para 14(4)(a) because they receive the PIP daily living component, and who receives Carer's Allowance for caring for the claimant, bars the premium. Also a blind non-dependant carer (14(4)(b)); a couple who both qualify with an ignored non-dependant carer (single rate); a non-dependant carer with a severely disabled partner of their own (cares within their own unit, so the claimant keeps the premium); one carer for two other benefit units; and one household in which the premium and the addition read the same attribution.
  • YAML, shared variable (17 new cases) in household/demographic/is_cared_for_by_carer_benefit_recipient.yaml.
  • Apply the Pension Credit severe disability residence and carer conditions #1951's YAML: the 14 assertions on the removed count now assert the person-level flags. Each was checked to reproduce the old count before the change.
  • Hypothesis: all existing properties pass. One oracle changed, as intended: Give the legacy severe disability premium its statutory conditions (stacked on #1896) #1946's oracle assumed carers within the benefit unit only, and failed on a carer in another benefit unit. Its carer step now uses the shared reference matching. Two properties are new (the person-level differential and the cross-programme differential above).
  • Qualifying lists. The attribution's candidates are the s.70(2) list; each programme then counts its own qualifying claimants and partners among those marked. A new test pins that the three lists (Carer's Allowance, legacy premium, Pension Credit) are the same model variables from 8 April 2013. Before that date the Pension Credit parameter already lists PIP and AFIP, which did not exist, so nothing real differs.
  • Results on ab929c48 (this branch with main 8c82433a merged): the two property files plus the code-health tests, 1,805 passed; the YAML under tests/policy/baseline/finance/benefit/family, gov/dwp and household, 910 passed. CI runs the full suite on the head.
  • Earlier, before the parents and main's later changes were merged: at b967481e all 1,571 policy YAML cases passed, and a wider scratch fuzz (4,000 generated households, up to five benefit units, units with no claimant) against the reference matching found 0 mismatches. A parent-against-head comparison on 1,500 generated households (3,709 benefit units, run in both trees) found the Pension Credit addition different in 0 units and the legacy premium different in 116, every one lower and every one with a carer benefit received in another benefit unit of the household. These used generated households, not survey records, and have not been re-run on this head.

Impact on the Enhanced FRS

Real Microsimulation runs on the Enhanced FRS 2024-25 (policyengine-uk-data 1.57.4, SHA-256 03fe15e4…68d4). Baseline: main 8c82433a, which has #1946, #1951 and #1994. Reform: this branch at ab929c48. A diagnostic run of the same two commits (each records its git head and dataset hash) checked that the premium change rests on 10 or more sample records in every year. Nothing is scaled.

£m a year 2025 2026 2027 2028
Housing Benefit, Council Tax Reduction, Income Support, Pension Credit, Universal Credit 0.0 0.0 0.0 0.0
Household net income 0.0 0.0 0.0 0.0
Computed legacy premium, whether or not paid −5.7 −5.5 −6.1 −6.3

How often the attribution could withhold the premium

The data do not say whom a carer cares for, and the attribution puts claimants and partners first. Where the carer in fact cares for a disabled child and the claimant or partner otherwise qualifies, that withholds a premium or addition the law would pay, or for a couple pays the single rate instead of the double rate. On the Enhanced FRS (1.57.4) in 2026, from the diagnostic run of this branch at ab929c48:

  • A carer in another benefit unit attributed to a claimant or partner while a disabled non-claimant member of that unit has no carer (the case raised in review): no benefit unit. Counting a disabled member without a carer anywhere else in the household, fewer than 10 sample benefit units.
  • A carer within the benefit unit attributed to a claimant or partner while a disabled non-claimant member has no carer: 8.1k benefit units, most of them with a disabled child under 16. This ordering is Give the legacy severe disability premium its statutory conditions (stacked on #1896) #1946's, which already put claimants and partners first within the unit; this PR does not change it.

The variable's documentation now says that the ordering is a choice and that it can withhold the premium or cut a couple's premium to the single rate.

Household calculations change where a carer benefit is received in another benefit unit of the household.

Carer receipt and overlapping benefits

Receipt is receives_carer_benefit: a positive Carer's Allowance or Carer Support Payment after main's overlapping-benefit adjustment (#1994). A carer whose award an overlapping benefit, such as a higher State Pension, reduces to nil is entitled but not in receipt, so is not attributed, as the "entitled to, and in receipt of" wording requires. The variable's documentation said the rule was not applied; ab929c48 corrects it.

Not modelled

  • Carers outside the household.
  • UC awards with the carer element (above).
  • Backdated carer awards before first payment (HB para 14(6); SPC para 1(2)(c)), the hospital rules, and loss-of-benefit restrictions (HB para 14(7)).
  • A carer in another benefit unit is placed only with a claimant or partner, never with a disabled child of another unit (no benefit unit that receives such a carer in the Enhanced FRS has a disabled member without one; see above).
  • The Carer's Allowance run-on of up to eight weeks after the person cared for has died (s.70(1A)): such a carer can be attributed to someone else in the household.

Review

vahid-ahmadi approved with nits on 1 October. The should-fix (attribution to a disabled child) is answered in "How often the attribution could withhold the premium" above and in the variable's documentation; the impact section no longer gives sample counts; the parents' changes are explained at the top.

An independent Opus review (subfleet job 20260930-231503-sdp-carer-attr-review-r1) approved b967481e on reading, with five minor findings and six nits; it had no shell. 1c30130b addresses them, and the two checks it could not execute (the YAML and property runs, and the parent-against-head comparison) are reported above.

axiom: HB Regs 2006 Sch 3 para 14 and SPC Regs 2002 Sch I para 1 queued in TheAxiomFoundation/rulespec-uk#386 and TheAxiomFoundation/rulespec-uk#360 (both take "a carer benefit is paid for caring for the claimant" as a leaf input, so the encoding does not change; the new companion cases are added by comment).

🤖 Generated with Claude Code

MaxGhenis and others added 3 commits September 30, 2026 22:27
…ium and the Pension Credit addition

Both rules ask whether anyone is entitled to and in receipt of Carer's
Allowance or Carer Support Payment in respect of caring for the claimant
or partner (HB Regs 2006 Sch 3 para 14(2)(a)(iii) and (2)(b); SPC Regs
2002 Sch I para 1(1)). The legacy premium counted only carers in the
claimant's own benefit unit; the addition also attributed carers in other
benefit units of the household. Both now read
is_cared_for_by_carer_benefit_recipient, a person-level attribution over
the people a carer benefit can be paid for (SSCBA 1992 s.70(2)).

The residence tests stay separate (HB reg 3 non-dependants with para
14(4); SPC Sch I para 2).

Fixes #1972

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ags, pin the qualifying lists

- The attribution docstring says an unplaced award is for someone outside
  the household, and notes the s.70(1A) run-on.
- The person-level property now checks other members (such as disabled
  children) against the reference's within-unit matching.
- YAML cases for three claimant-or-partner flags.
- A test that the Carer's Allowance, legacy premium and Pension Credit
  qualifying lists are the same model variables from 8 April 2013.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vahid-ahmadi

Copy link
Copy Markdown
Collaborator

Reviewed: approve with nits (keep as draft until #1946 and #1951 merge).

One person-level attribution is the right design. HB Regs 2006 Sch 3 para 14(2)(a)(iii) and (b)(iii) (IS Sch 2 para 13 has the same words) make the carer limb independent of the non-dependant limb. So a non-dependant carer who is ignored under para 14(4) correctly bars the premium. Replacing 2 - carers with 2 - cared_for also stops #1946 counting a carer whose award is for a child.

  1. Should fix: is_cared_for_by_carer_benefit_recipient.py, the cross-unit pass (needed = cp_targets - cp_cared_for_within). Left-over carers are placed only with claimants or partners of other units, never with a disabled child there. For the working-age premium this is the adverse case that matters. Example: a grandparent in their own unit gets CA, the grandchild in the claimant's unit gets DLA care, and the claimant's premium is barred. The within-unit "claimant or partner first" rule has the same direction, for example a couple both on PIP daily living where one partner gets CA, plausibly for their DLA child, and the model pays the single rate. Please either (a) let the cross-unit pass match all s.70(2) candidates in the receiving unit, with claimant and partner last, or (b) report how many affected units contain a disabled non-claimant member. Either way, state in the docstring that the choice withholds the premium.
  2. Nit: the impact section quotes small unweighted sample counts. Please drop them or round to survey output rules.
  3. Nit: the parent PRs' changelog fragments and files ride along in the diff. Say in the body that reviewers should use the d82b5b3b...sdp-carer-attribution compare, which you already link.

Verified: I read HB Regs 2006 Sch 3 para 14 and IS Regs 1987 Sch 2 para 13 (carer limbs). I took the ESA and JSA wording from the PR's table and did not fetch it. Locally, 169 YAML cases pass (the shared variable, the legacy SDP and the PC directory), as do the 12 properties. The five household probes gave results identical to #1951's. CI run 36810951630 passed all six jobs.

MaxGhenis added a commit that referenced this pull request Oct 2, 2026
…ion-age-severe-disability-premium

Conflicts in severe_disability_minimum_guarantee_addition.py and
test_carer_support_payment.py resolve to #1951's versions, which replace
this PR's earlier change to the shared Pension Credit addition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 7 commits October 2, 2026 23:21
…emium' into sdp-carer-attribution

# Conflicts:
#	policyengine_uk/tests/test_severe_disability_premium_properties.py
#	policyengine_uk/variables/household/demographic/severe_disability_premium.py
The data do not say whom a carer cares for. Putting claimants and
partners first, and placing left-over carers only with claimants and
partners of other units, withholds the premium or Pension Credit
addition where the carer in fact cares for a disabled child.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main's #1994 reduces Carer's Allowance and Carer Support Payment by
overlapping benefits, so receives_carer_benefit is already the amount in
payment. The documentation still said the rule was not applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis marked this pull request as ready for review October 3, 2026 20:43
@MaxGhenis
MaxGhenis merged commit dba35e2 into main Oct 3, 2026
6 checks passed
@MaxGhenis
MaxGhenis deleted the sdp-carer-attribution branch October 3, 2026 21:20
@MaxGhenis

Copy link
Copy Markdown
Collaborator Author

Merged under decision d764 (merge once its stack has landed, CI is green on the head, an independent review approves it and the impact is stated) and Max's PE-UK merge-on-gates rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use one carer attribution for the legacy severe disability premium and the Pension Credit severe disability addition

2 participants