Repository navigation
Apply the Carer's Allowance full-time education exclusion - #2962
juaristi22 wants to merge 1 commit into
Conversation
Aggregate impact on certified data: passBase Checks: 0 broken by this change, 1 failing on both sides, 0 fixed. Moves flagged for review: 0 (thresholds in Notes
Moves flagged for reviewNone. Spending by benefit and service
Caseloads
Household net income by decileNo household's net income changes in any year. No change in any year: receipts by tax head; government balance, each component counted once; model totals; household income totals; population; poverty rates; people in poverty; inequality; mean household net income in each side's own deciles; standard reform costings (change in gov_balance); standard reforms: change in each reform's target. Checks failing on both base and head (1)
Counted-once checkThe check raised each of 92 components by £1 per unit in 2026-27 and read every head of its totals household by household: its own head must rise by exactly £1, no other tax head may move, no other benefit may rise, and the model's own total must move by what its heads moved. A response that is not finite breaks every rule. The check measures a head that breaks a rule twice more: once holding every other head at its baseline value, and once holding every other head at its value after the first £1 while the component rises again. The head fails where either measurement still shows the response. The check cannot hold a head at a value that is not finite. In each unit where another head is not finite after the first £1, it holds that head at its baseline value, and the second measurement judges no household the unit belongs to. There a head fails wherever it first broke a rule, or wherever the check could not confirm whether its response contains the component. 0 failed and the check skipped 0.
Provenance
Dataset: Receipts by tax head: head levels
Spending by benefit and service: head levels
Caseloads: head levels
Government balance, each component counted once: head levels
Model totals: head levels
Household income totals: head levels
Population: head levels
Poverty rates: head levels
People in poverty: head levels
Inequality: head levels
Mean household net income in each side's own deciles: head levels
Standard reform costings (change in gov_balance): head levels
Standard reforms: change in each reform's target: head levels
|
Fixes #2311
Apply the statutory full-time education exclusion before Carer's Allowance couple selection and overlapping-benefit adjustments. A supplied exclusion also removes underlying entitlement and applies when reported receipt supplies the caring-hours condition.
Add
is_in_full_time_education_for_carers_allowance, a person-level annual input supplied by the user or dataset under the applicable Great Britain or Northern Ireland rules. Education stage and the Universal Credit course flag do not determine this separate legal classification. With no supplied or carried input, the default remains false; Core carries earlier supplied values, so callers must update the annual status when it changes. The input represents a constant status throughout the year and does not calculate hours or prorate course transitions. Its documentation explains the Great Britain counted-hours rule without applying that definition to Northern Ireland. Scottish Carer Support Payment and Universal Credit education rules are unchanged.Sources: Great Britain section 70(3), Northern Ireland section 70(3), Great Britain regulation 5, and Northern Ireland guidance.
Reproducer: policyengine_uk/tests/policy/baseline/gov/dwp/carers_allowance_education.yaml
Validation: 14 new policy cases passed, covering England, Wales and Northern Ireland, receipt imputation, annual status changes, same-caree couple selection, pension overlap and a Scottish control. Another 158 existing related policy cases and 101 Python tests passed. The first serial Python attempt timed out after 540 seconds; the same five files passed with the repository's four-worker settings.
make formatpassed. Validation used Python 3.13.15, Core 3.34.9 and the locked environment at base5987eb3. The full suite, private-data and population-impact checks were not run locally; current-head CI is assessed separately.axiom: needed