Conversation
…ements group UC Regs 2013 reg. 62(1)(b) applies the floor to a claimant who would, apart from regs. 62 and 90, fall within Welfare Reform Act 2012 s. 22. Add the work-related group (ss. 19 to 21, regs. 89 and 91), the responsible carer nomination (s. 19(6), reg. 86), the expected hours of reg. 88, and the individual and couple thresholds of reg. 90(2) and (3). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t with fewer paid hours The responsible carer is the couple's nomination (WRA 2012 s. 19(6), UC Regs reg. 86). Without one, take the claimant who works fewer hours, then the elder, rather than the nomination that maximises the award. Put the group, hours and threshold rules back in their own variables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rk-related-groups # Conflicts: # docs/book/programs/gov/dwp/universal-credit.ipynb
Collaborator
Author
|
Follow-up for item 5 of the caveats (reg 89(1)(a) uses
Nothing in this PR needs to change for it. The prepared patch is anchored on these lines of this PR:
If you change those before merging, the follow-up adapts by hand. |
Collaborator
Author
|
#2084 is stacked on this PR. It models the rest of a reg 3(3) single claim: single amounts (reg 36(3)), the elements, the benefit cap and the shared accommodation rate. Two things in it touch this PR:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After #1973 the Universal Credit minimum income floor (MIF) applies to every claimant with self-employment profit or loss outside a start-up period. The law is narrower. UC Regs 2013 reg 62(1) applies the floor only to a claimant who:
So the floor does not reach claimants whom Welfare Reform Act 2012 ss.19 to 21 put in another group. That includes claimants with limited capability for work or work-related activity, carers, claimants over State Pension Credit qualifying age, the responsible carer of a child under 3, and the prescribed descriptions in regs 89 and 91. Two other rules change the amount:
This PR adds the work-related group, the responsible carer, the expected hours and the per-partner thresholds. It finishes the three scope gaps #1973 listed.
Two 2026 examples, each a lone parent aged 30 with £5,000 of profits and council rent of £9,600:
On the Enhanced FRS this raises 2026 UC by £0.266bn. About 81,000 benefit units gain (65 records), by a mean of £3,272 a year, and nobody loses. The couple's nomination of the responsible carer is the main modelling choice: nominating the other partner gives +£0.367bn (see "Modelling choices").
Stacked on #1973 (head
ae8f59fd1, merged into this branch). Retarget tomainafter #1973 merges; CI runs only on PRs intomain.Law (legislation.gov.uk, read 2026-09-30 and 2026-10-01)
Welfare Reform Act 2012 (https://www.legislation.gov.uk/ukpga/2012/5/part/1/chapter/2/crossheading/application-of-workrelated-requirements):
The child ages took this form on 3 April 2017 (Welfare Reform and Work Act 2016 s.17). Before that, s.20(1)(a) covered "a child who is aged at least 1 and is under a prescribed age". The prescribed age was 5 (reg 91(1) as made), then 3 from 28 April 2014 (SI 2014/1097 reg 16). From 28 April 2014, reg 91A put the responsible carer of "a child aged 3 or 4" in s.21. The parameters carry these dates.
UC Regs 2013:
Reg 86(2) (https://www.legislation.gov.uk/uksi/2013/376/regulation/86): "Only one of joint claimants may be nominated as a responsible carer". Reg 86(3): "The nomination applies to all the children".
Reg 89(1) (https://www.legislation.gov.uk/uksi/2013/376/regulation/89): these claimants fall within s.19:
Reg 91(2) (https://www.legislation.gov.uk/uksi/2013/376/regulation/91): foster parents, and friend or family carers in their first 12 months, fall within s.20.
Reg 88 (https://www.legislation.gov.uk/uksi/2013/376/regulation/88):
Reg 90 (https://www.legislation.gov.uk/uksi/2013/376/regulation/90):
DWP guidance agrees on the scope.
Change
New variables, under
variables/gov/dwp/universal_credit/work_related_requirements/:uc_work_related_group_apart_from_earnings(Enum). The group the claimant would fall within apart from regs 62 and 90: no work-related requirements, interview only, work preparation, all requirements, or not a claimant. The sections are tested in the Act's order: s.21 only takes someone outside ss.19-20, and s.22 is what is left. The earnings routes of reg 90 are left out, as reg 62(1)(b) and reg 90(2) both require. The routes are:uc_limited_capability_for_WRA);is_carer_for_benefits; reg 30 and reg 89(1)(b));is_SP_age; reg 89(1)(a));uc_is_responsible_carer. A lone claimant with a child, or one member of a couple (s.19(6), reg 86). It is an input where the nomination is known; the default is described under "Modelling choices".uc_youngest_child_age(benefit unit). The youngest person under 16 (WRA s.40) in the benefit unit who is not a member of the couple and is not looked after by a local authority (reg 4(6)(a)).uc_expected_hours(reg 88). This is 35, or DWP's figure for the responsible carer of a child under 13. It is an input for the discretionary relevant-carer and impairment reductions.uc_is_in_gainful_self_employment(reg 64). By default, any self-employment profit or loss. It is an input for a trader who breaks even, or whose self-employment is not gainful.uc_has_limited_capability_for_work;uc_is_in_pregnancy_or_post_confinement_period;uc_is_adopter_in_first_year;uc_is_student_with_no_work_related_requirements;uc_is_responsible_foster_parent_of_child_under_one;uc_is_foster_parent_or_new_friend_or_family_carer;uc_is_ineligible_partner(reg 3(3)).Changed:
uc_mif_applies: the group is all requirements, the claimant is in gainful self-employment, and they are not in a start-up period.uc_minimum_income_floor_gross: the hours follow the group.no_requirements_partner_hoursparameter (0).uc_individual_earned_incomeis unchanged: the couple threshold was already the sum of the two members'uc_minimum_income_floor, which now follows the group.New parameters:
gov.dwp.universal_credit.work_requirements:responsible_carer.child_age.{no_requirements, interview_only, work_preparation}, with the 2013, 2014 and 2017 ages;responsible_carer.expected_hours.{below_compulsory_school_age, compulsory_school_age, child_age_limit};interview_or_preparation_threshold_hours(16);gov.dwp.universal_credit.means_test.minimum_income_floor.no_requirements_partner_hours(0).Modelling choices
hours_worked), then the elder.uc_is_responsible_carer. An input set for some people sets it for everyone, so set it on both members.no_requirements_partner_hours, 0). The partner's earned income then reduces the self-employed partner's floor pound for pound (reg 62(3)). Setting it to 35 hours gives 2026 UC +£0.258bn (the "Partner at 35 hours" column).gov.dfe.compulsory_school_agescale in whole years. England and Wales start it on a prescribed day after the fifth birthday, and Scotland uses school commencement dates.is_SP_ageuntil Use the State Pension Credit qualifying age, and start-of-year status for Class 4 NI #1907 landshas_attained_state_pension_credit_qualifying_age.is_carer_for_benefits: Carer's Allowance or Carer Support Payment receipt, or 35 hours of care. Reg 30 also requires that the person cared for gets a qualifying disability benefit, and excludes paid caring (reg 30(3)). The flag checks neither, so it can over-include. In the Enhanced FRS it equals reported Carer's Allowance receipt, becausecare_hoursis not stored. Its earnings are untested, which matches reg 30(1)(a)(i): a carer earning over the Carer's Allowance limit is still in s.19.Tests
work_related_requirements/uc_work_related_group_apart_from_earnings.yamlcovers every route, the order of the sections, the 2016 child ages and qualifying young people.work_related_requirements/uc_is_responsible_carer.yamlandwork_related_requirements/uc_expected_hours.yamlcover the nomination and the hours.income_floor/uc_MIF_applies.yamlcovers scope for each route and for gainful self-employment.income_floor/uc_minimum_income_floor.yamlcovers 30- and 16-hour thresholds; ADM J2082 "Alison", J2085 "Louise", and J2086 "Richard" and "Laura" (Laura's arithmetic corrected: £7.05 × 25 × 52 / 12 is £763.75, not the ADM's £763.25); and the reg 90(3)(b) partner aged 17 at the national living wage.income_floor/uc_mif_earned_income.yamlcovers couples. Cases include an LCWRA partner's earnings reducing the floor pound for pound, a mixed-age couple, a partner with a 16-hour threshold (s.20) and one with a work-preparation threshold (s.21), a baby, and reg 3(3) partners.tests/test_uc_work_related_groups_properties.py, 7 properties.Invariants
uc_mif_appliesis exactly: in the all-requirements group, in gainful self-employment, and not in a start-up period. Everyone else keeps their actual earned income, and the floor never lowers anyone's earned income.The Enhanced FRS runs check invariants 1 and 5 on every record in every year 2025-2030. No earned income rises, no UC before the cap falls, the floor never lowers anyone, and everyone outside its scope is unchanged.
Impact (Enhanced FRS, real runs)
These are real microsimulation runs. The dataset is a private copy of
enhanced_frs_2024_25.h5(sha256e433e532…68712). The base is #1973's headae8f59fd1and the branch is94b7129b4; both are clean checkouts, run one at a time. The two sensitivity columns are full runs of the branch:no_requirements_partner_hoursset to 35.2026 detail:
The scripts (
dataset_impact.py,compare_impact.py) write aggregates only.Known gaps
uc_is_ineligible_partnerkeeps the partner out of the floor and puts the 35-hour amount into the couple threshold. The rest of a single claim by a member of a couple is not modelled: the standard allowance (reg 36(3)), capital (reg 18(2)) and the work allowance (reg 22(3)).uc_expected_hours. So are pregnancy, adoption, students, fostering and limited capability for work alone: the Enhanced FRS has no fields for them.uc_is_in_gainful_self_employmenttakes the answer when there is one.uc_mif_appliesnow readsis_carer_for_benefits, which needs Carer's Allowance parameters that start in 2015, so it raises a missing-parameter error for 2013 and 2014.universal_credititself already raises one in those years on Apply the UC minimum income floor to net earned income against a net threshold #1973 (other UC parameters start later), so no award changes.Axiom parity
axiom: TheAxiomFoundation/rulespec-uk#396 queued (scope comment TheAxiomFoundation/rulespec-uk#396 (comment): UC Regs 2013 regs 62(1)(b), 88 and 90(2)-(3); WRA 2012 ss.19-22; new modules for regs 3, 30, 85, 86, 89, 91 and 91A)
🤖 Generated with Claude Code