Skip to content

Apply the Carer's Allowance earnings limit - #2312

Merged
MaxGhenis merged 5 commits into
mainfrom
carers-allowance-earnings-limit
Oct 12, 2026
Merged

MaxGhenis merged 5 commits into
mainfrom
carers-allowance-earnings-limit

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #2309

axiom: ukpga/1992/4/70 + uksi/1976/409/8 TheAxiomFoundation/rulespec-uk#454 queued (the provisions are not yet in the corpus, and the signed encoder run needs its own approval)

What changes

Until now, Carer's Allowance was paid to anyone caring for 35 hours a week, whatever they earned. A person is not entitled on any day they are gainfully employed (SSCBA 1992 s. 70(1)(b)). Reg. 8(1) of SI 1976/409 treats them as gainfully employed when their earnings in the previous week exceed the limit: £204 from 6 April 2026 (SI 2026/218).

  • gov.dwp.carers_allowance.earnings_limit: the weekly limit from 2015, each value cited to the instrument that set it. Values are taken from legislation.gov.uk's point-in-time versions of reg. 8.
  • carers_allowance_earnings: net earnings under the Computation of Earnings Regulations 1996.
    • Employment (reg. 10(4)): pay less the income tax and primary Class 1 deducted from it. The law deducts the tax actually withheld; the model approximates it as PAYE on the pay alone with a standard code. That also avoids a cycle, since Carer's Allowance is taxable.
    • Self-employment (regs. 13(4) and 14): trading profit less a notional income tax at the basic rate (the Scottish basic rate for a Scottish taxpayer) on the profit above the full personal allowance, and Class 4 at the main rate between the profits limits. Reg. 14(1) deducts "the personal reliefs to which the claimant is entitled", with no reduction for allowance the pay uses. Capital expenditure is not deducted (reg. 13(6)(a)). Until 6 April 2024, reg. 14(2)(a) also deducted the Class 2 contributions payable on the chargeable profit. This uses the engine's Class 2 rules (class_2_liable, the year's contribution weeks) on the profit itself. Class 2's flat rate is nil from 2024-25, so 2026 is unchanged. The Scottish basic rate is read from the parameter tree's second Scottish bracket: the scale at an instant drops the null starter bracket of 2016-17 and 2017-18, where index 1 was the 40% higher rate.
    • Less half of pension contributions. A trading loss counts as nil.
    • Not modelled: the Sch. 3 care-charge deduction and the Sch. 1 disregards. The docstring says so.
  • is_gainfully_employed_for_carers_allowance: weekly net earnings (annual ÷ 52, with a fraction of a penny disregarded under reg. 5) exceed the limit.
  • carers_allowance_pre_overlap: no allowance when gainfully employed, including for reported recipients (reported receipt creates no exemption).
  • is_carer_for_benefits: a reported Carer's Allowance award now counts as evidence of the caring itself. So a reported recipient whom the earnings limit stops being paid stays a carer for the Universal Credit carer element, which doesn't apply the limit (UC Regs 2013 reg. 30).

Rules that read Carer's Allowance entitlement now see none for a carer over the limit, as the law requires. These are the extended childcare partner exception and the Tax-Free Childcare caring-benefit exception.

Impact (real run)

Measured on enhanced_frs_2023_24.h5 (local policyengine-uk-data storage, 6 October build) for 2026, at head c4aa96c. The run uses this branch twice: as is, and with the earnings limit set to £1 trillion, which reproduces main for the allowance.

Baseline This PR Change
Carer's Allowance £4,522.4m £4,345.0m −£177.4m
Carer's Allowance recipients 1,006.6k 967.1k −39.5k
Universal Credit £62,156.8m £62,200.5m +£43.7m
Income Tax £349,674.5m £349,636.3m −£38.2m (Carer's Allowance is taxable)
Household net income −£95.4m
  • Universal Credit: Carer's Allowance is unearned income for UC. When it stops, UC unearned income falls by exactly the £177.4m and UC rises by £43.7m. The UC carer element is unchanged (£2,669.0m both ways): carers over the limit keep it, because UC reg. 30 does not apply the earnings limit. The first head's run gave +£19.2m, because those carers then lost the carer element; review caught that.
  • Unchanged: Pension Credit, Housing Benefit and Council Tax Reduction, at £0.1m precision.

Tests

  • YAML (gov/dwp/carers_allowance_earnings_limit.yaml): 17 hand-worked cases, mostly for 2026-27, plus 2025-26 and 2018-19. They cover:

    • the boundary (£204.00 passes; £204.005 rounds to £204.00 and passes; £204.01 fails);
    • tax and NI on pay of £15,000;
    • half of pension contributions;
    • trading profit under reg. 14 (£60,000 takes £9,486 tax and £2,262 Class 4, not the progressive amounts);
    • personal pension contributions bringing trading earnings under the limit (£202.27 a week), with £5,000 of capital allowances that reg. 13(6)(a) does not deduct;
    • pay and profit each taking the full personal allowance (Case 15, £15,000);
    • pay of £6,000 and profit of £8,000 with £6,600 of personal pension contributions (Case 16): £205.76 a week, over the limit. Sharing one allowance would have given £200.27, under it;
    • a trading loss;
    • a reported recipient, who loses the allowance but stays a carer for UC;
    • unearned income;
    • 2018: £7,000 of profit with £1,400 of personal pension contributions gives £118.20 a week, under the £120 limit, once Class 2 is deducted (Case 17). Without Class 2 it would be £121.15.
  • Changed existing tests:

    • One extended-childcare case described a working partner "entitled to Carer's Allowance" on pay of £20,000, which the law rules out. It now has pay of £8,400 and pension contributions of £3,100: £131.73 a week, under the limit.
    • One property test (test_council_tax_reduction_carer_income_properties.py) assumes the carer is always entitled. Its generated carer pay is now capped at £10,000 (£192 a week).
  • Property and regression tests (test_carers_allowance_earnings_limit_properties.py, Hypothesis):

    • net earnings lie between nil and gross pay plus profit;
    • entitlement matches the penny-rounded net-earnings test exactly;
    • net earnings never fall as pay rises;
    • savings and pension income are not earnings (a modelling assumption of the PAYE approximation);
    • trading profit of £30,000 takes the 20% basic rate in 2016, 2017, 2018 and 2026, in England and Scotland, net of Class 2 before 2024-25. With the old index read, the Scotland 2016 and 2017 cases fail.
  • Run locally at b934055:

    • the full policy YAML suite, 3,012 passed;
    • the carer-related Python tests, 171 passed.
  • Reviews: three GPT-6.1 Sol reviews asked for changes, and all are addressed:

    • first: reg. 14 for self-employment, reg. 5 rounding, UC carer status, and wording;
    • second: the full personal allowance against profit, the Scottish basic-rate read, the capital allowances in Case 12, and wording;
    • third: the pre-2024 Class 2 deduction.

    The third review also noted the missing 2016-17 personal allowance, filed as Personal allowance for 2016-17 is £10,600; it was £11,000 #2359.

  • Follow-up filed: Carer Support Payment has no earnings limit either: Carer Support Payment has no earnings limit (SSI 2023/302 reg. 14) #2345.

🤖 Generated with Claude Code

…I 1976/409 reg. 8)

Fixes #2309. Carer's Allowance was paid whatever the carer earned. A person
whose net weekly earnings exceed the limit (£204 from 6 April 2026) is
gainfully employed and not entitled. Net earnings are pay and trading profit
less the income tax and NI deducted from them and half of pension
contributions (Computation of Earnings Regulations 1996 regs. 10(4), 13).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 2 commits October 11, 2026 14:43
…eep UC carer status

Review changes: trading profit takes reg. 14's notional basic-rate tax and
main-rate Class 4 rather than progressive PAYE, with one set of personal
reliefs; a fraction of a penny of weekly earnings is disregarded (reg. 5);
a reported award the person would claim still marks them as a carer for
Universal Credit when the earnings limit stops payment (UC reg. 30 has no
earnings test); the PAYE approximation is described as one. A property
test that assumes an entitled carer now keeps the carer's pay under the
limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sic rate robustly

Second-round review fixes for #2312:
- Reg. 14(1) deducts the personal reliefs the claimant is entitled to, with
  no reduction for allowance the pay uses, so trading profit now takes the
  full personal allowance. Sharing one allowance deducted too much tax and
  could make a carer over the limit eligible (Case 16).
- Read the Scottish basic rate from the parameter tree's second bracket. The
  scale at an instant drops the null starter bracket of 2016-17 and 2017-18,
  so index 1 was the 40% higher rate in those years.
- Case 12 carries £5,000 of capital allowances, which reg. 13(6)(a) does not
  deduct; Case 15 now expects the full allowance.
- Wording: the UC carer status description names the reported-award
  evidence and calls would_claim a modelling convention; the property-test
  docstring drops Class 2; the 2020 limit cites the 2020-04-06 version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Third-round review fix for #2312. Until it was omitted from 6 April 2024,
reg. 14(2)(a) of the Computation of Earnings Regulations deducted the Class 2
contributions payable on the chargeable profit. The deduction now uses the
engine's Class 2 rules (class_2_liable, the year's contribution weeks) on the
profit itself, not ni_class_2's base after capital allowances. The flat rate
is nil from 2024-25, so 2026 is unchanged.

Case 17 (2018): £7,000 of profit and £1,400 of personal pension
contributions give £118.20 a week, under the £120 limit; without Class 2 it
was £121.15, over it. The year-by-country oracle deducts Class 2 for
2016-2018.

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

Copy link
Copy Markdown
Collaborator Author

CI run cancelled to free runners (UK hub, 2026-10-11 23:30Z). The PolicyEngine org is at GitHub's limit of 60 concurrent jobs, with about 360 queued. Fleet ops asked the hub to let the Budget-critical #2305 take runners first. This PR's queued run had not started, so I cancelled it. Nothing is wrong with the PR.

Please don't re-run it or push just to retrigger CI. The hub re-runs this run itself once #2305 has runners. The record is ~/reviews/uk-hub/ci-yield-2026-10-11.json; see notice 17 in ~/reviews/uk-hub/notices.md.

@MaxGhenis

Copy link
Copy Markdown
Collaborator Author

Hand-off to the UK hub (session local_66e4b1fd, PolicyBench UK round 2).

@MaxGhenis
MaxGhenis merged commit 2e8c882 into main Oct 12, 2026
6 of 12 checks passed
@MaxGhenis
MaxGhenis deleted the carers-allowance-earnings-limit branch October 12, 2026 03:07
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.

Carer's Allowance is paid whatever the carer earns: no earnings limit (SSCBA 1992 s. 70(1)(b), SI 1976/409 reg. 8)

1 participant