diff --git a/changelog.d/legacy-award-reader-switches-1966.fixed.md b/changelog.d/legacy-award-reader-switches-1966.fixed.md new file mode 100644 index 0000000000..0afde1c732 --- /dev/null +++ b/changelog.d/legacy-award-reader-switches-1966.fixed.md @@ -0,0 +1 @@ +The Childcare Offer for Wales income test now counts only the claimant's and partner's income-related ESA and income-based JSA towards a parent's gross income, not an award that another member of the benefit unit claims in their own right. New tests check that only the applicant's or partner's own income-related ESA gives a single applicant under 25 the higher council tax reduction personal allowance in Scotland and Wales. New tests check that the Housing Benefit and council tax reduction non-dependant exemptions for Income Support, income-based JSA and income-related ESA go only to the person the award is payable to, and that another member's award leaves a non-dependant couple banded on its own income. diff --git a/policyengine_uk/parameters/gov/welsh_government/childcare_offer/income/benunit_gross_income_sources.yaml b/policyengine_uk/parameters/gov/welsh_government/childcare_offer/income/benunit_gross_income_sources.yaml index 7068d78d15..5554cf78f5 100644 --- a/policyengine_uk/parameters/gov/welsh_government/childcare_offer/income/benunit_gross_income_sources.yaml +++ b/policyengine_uk/parameters/gov/welsh_government/childcare_offer/income/benunit_gross_income_sources.yaml @@ -13,8 +13,12 @@ values: # credits or Housing Benefit, so as a modelling convention (not a legal # reading) each is shared equally between the claimant and any partner; the # legacy income-related benefits are shared the same way for consistency. - # A lone parent counts all of it. None of them reads the Childcare Offer, so - # counting them creates no dependency cycle. + # A lone parent counts all of it. Income-related ESA and income-based JSA + # are the claimant's and partner's awards (claimant_or_partner_esa_income + # and claimant_or_partner_jsa_income): another member of the benefit unit + # who claims either in their own right receives that income, not a parent. + # None of them reads the Childcare Offer, so counting them creates no + # dependency cycle. 2019-08-01: - child_benefit - universal_credit @@ -23,5 +27,5 @@ values: - housing_benefit - income_support - pension_credit - - esa_income - - jsa_income + - claimant_or_partner_esa_income + - claimant_or_partner_jsa_income diff --git a/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/council_tax_reduction_working_age_personal_allowance.yaml b/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/council_tax_reduction_working_age_personal_allowance.yaml new file mode 100644 index 0000000000..ad6b4c0120 --- /dev/null +++ b/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/council_tax_reduction_working_age_personal_allowance.yaml @@ -0,0 +1,139 @@ +# Scotland and Wales working-age council tax reduction: a single applicant +# under 25 gets the lower personal allowance unless entitled to main phase +# employment and support allowance (SSI 2021/249 Sch 1 para 1; WSI 2013/3029 +# Sch 7 para 1). The model takes receipt of ESA by the applicant or partner as +# the main phase: contributory ESA on their own records, and income-related +# ESA through claimant_or_partner_esa_income where the benefit unit's awards +# are the applicant's. "other" is a member who is neither the applicant, the +# partner nor a child or young person they are responsible for, so their +# income-related ESA is their own claim and leaves the applicant on the lower +# rate. The applicant is the household head, whom the model takes to be +# liable, so the applicant applies with the benefit unit's awards +# (council_tax_reduction_head_applies_alone is false). The cases run in 2025, +# when income-related ESA is paid for the whole year. Weekly rates for 2025-26 +# (x 52): Scotland £72.90 under 25 and £92.05 at 25 or over (SSI 2025/24 reg +# 16(a)); Wales £77.65 and £98.10 (W.S.I. 2025/59 reg 9(a)(i)). + +- name: Scotland, another member's income-related ESA leaves an applicant under 25 on the lower personal allowance + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 22 + is_claimant_or_partner: true + is_household_head: true + other: + age: 30 + is_claimant_or_partner: false + is_household_head: false + current_education: NOT_IN_EDUCATION + esa_income_reported: 5_000 + benunits: + benunit: + members: [applicant, other] + would_claim_uc: false + households: + household: + members: [applicant, other] + region: SCOTLAND + country: SCOTLAND + output: + council_tax_reduction_head_applies_alone: false + esa_income: 5_000 + claimant_or_partner_esa_income: 0 + # 72.90 * 52 + council_tax_reduction_working_age_personal_allowance: 3_790.80 + +- name: Scotland, the applicant's own income-related ESA gives the higher personal allowance under 25 + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 22 + is_claimant_or_partner: true + is_household_head: true + esa_income_reported: 5_000 + other: + age: 30 + is_claimant_or_partner: false + is_household_head: false + current_education: NOT_IN_EDUCATION + benunits: + benunit: + members: [applicant, other] + would_claim_uc: false + households: + household: + members: [applicant, other] + region: SCOTLAND + country: SCOTLAND + output: + council_tax_reduction_head_applies_alone: false + esa_income: 5_000 + claimant_or_partner_esa_income: 5_000 + # 92.05 * 52 + council_tax_reduction_working_age_personal_allowance: 4_786.60 + +- name: Wales, another member's income-related ESA leaves an applicant under 25 on the lower personal allowance + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 22 + is_claimant_or_partner: true + is_household_head: true + other: + age: 30 + is_claimant_or_partner: false + is_household_head: false + current_education: NOT_IN_EDUCATION + esa_income_reported: 5_000 + benunits: + benunit: + members: [applicant, other] + would_claim_uc: false + households: + household: + members: [applicant, other] + region: WALES + country: WALES + output: + council_tax_reduction_head_applies_alone: false + esa_income: 5_000 + claimant_or_partner_esa_income: 0 + # 77.65 * 52 + council_tax_reduction_working_age_personal_allowance: 4_037.80 + +- name: Wales, the applicant's own income-related ESA gives the higher personal allowance under 25 + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 22 + is_claimant_or_partner: true + is_household_head: true + esa_income_reported: 5_000 + other: + age: 30 + is_claimant_or_partner: false + is_household_head: false + current_education: NOT_IN_EDUCATION + benunits: + benunit: + members: [applicant, other] + would_claim_uc: false + households: + household: + members: [applicant, other] + region: WALES + country: WALES + output: + council_tax_reduction_head_applies_alone: false + esa_income: 5_000 + claimant_or_partner_esa_income: 5_000 + # 98.10 * 52 + council_tax_reduction_working_age_personal_allowance: 5_101.20 diff --git a/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/non_dependant_exemptions.yaml b/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/non_dependant_exemptions.yaml new file mode 100644 index 0000000000..03a711fd2d --- /dev/null +++ b/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/non_dependant_exemptions.yaml @@ -0,0 +1,369 @@ +# Non-dependant exemptions and the "not in remunerative work" test for a +# non-dependant on a legacy income-related award. No deduction is made for a +# non-dependant aged under 25 who is on Income Support or income-based JSA +# (HB Regs 2006 reg 74(8)(a); SI 2006/214 reg 55(8)(a)), or, under the +# national council tax reduction schemes, for one of any age on Income +# Support, income-based JSA or income-related ESA (SI 2012/2885 Sch 1 para +# 8(8)(a); SSI 2012/319 reg 48; SSI 2021/249 reg 90; WSI 2013/3029 Sch 1 +# para 3 and Sch 6 para 5). A person on one of them is not in remunerative +# work (HB Regs 2006 reg 6(6); SI 2006/214 reg 6(6)). +# +# A person is on income-based JSA or income-related ESA on a day the +# allowance "is payable to him", and on Income Support when "in receipt of" +# it (HB Regs 2006 reg 2(1), (3) and (3A); the council tax reduction schemes +# use the same definitions). "other" is a member of the non-dependant's +# benefit unit who is neither its claimant, a partner nor a child or young +# person they are responsible for, so an award they report is their own +# claim, payable to them: it makes them exempt and leaves the claimant +# deducted. A claimant whose own report falls below the tariff income on the +# capital has no award, so is on none, whatever another member receives. +# +# Every case runs in 2025-26, when Income Support, income-based JSA and +# income-related ESA are in payment for the whole year. The applicant is the +# 70-year-old household head, so England's pensioner scheme deducts for the +# non-dependants at its 2025-26 rates (SI 2025/39): £5.00 a week (£260 a +# year) for a non-dependant outside remunerative work. Housing Benefit's +# 2025-26 scale: £19.65 a week under £183, £45.15 from £183, £62.00 from +# £266 and £101.35 from £348 of normal gross weekly income. + +- name: Another member's income-based JSA exempts that member, not the non-dependant claimant + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + other: + age: 23 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + jsa_income_reported: 4_000 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 0 + output: + claimant_or_partner_jsa_income: [0, 0] + is_on_income_based_jsa: [false, false, true] + # reg 74(8)(a): the other member is 23 and on income-based JSA. + housing_benefit_non_dep_deduction_exempt: [false, false, true] + # Sch 1 para 8(8)(a). + council_tax_reduction_non_dep_deduction_exempt: [false, false, true] + # The claimant pays the lowest amount, £5.00 x 52. + council_tax_reduction_individual_non_dep_deduction: [0, 260, 0] + council_tax_reduction_non_dep_deductions: [260, 0] + +- name: Another member's income-related ESA exempts that member from council tax reduction deductions, not the claimant + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + other: + age: 23 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + esa_income_reported: 4_000 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 0 + output: + claimant_or_partner_esa_income: [0, 0] + is_on_income_related_esa: [false, false, true] + council_tax_reduction_non_dep_deduction_exempt: [false, false, true] + council_tax_reduction_individual_non_dep_deduction: [0, 260, 0] + council_tax_reduction_non_dep_deductions: [260, 0] + +- name: A claimant whose own ESA falls below tariff income is not on it when another member's award is paid + # Savings of £10,000 give tariff income of ceil(4,000 / 250) = 16 x £1 a + # week, £832 a year. The claimant's £500 report leaves no award; the other + # member's own claim pays £5,000 - £832 = £4,168. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + esa_income_reported: 500 + other: + age: 23 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + esa_income_reported: 5_000 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 10_000 + output: + esa_income_tariff_income: [0, 832] + claimant_or_partner_esa_income: [0, 0] + esa_income: [0, 4_168] + is_on_income_related_esa: [false, false, true] + council_tax_reduction_non_dep_deduction_exempt: [false, false, true] + council_tax_reduction_individual_non_dep_deduction: [0, 260, 0] + council_tax_reduction_non_dep_deductions: [260, 0] + +- name: Another member aged 23 who reports Income Support in their own right is on it + # The model calculates income_support for the claimant and partner only, + # so the benefit unit's award stays nil; the other member is in receipt of + # their own award. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + other: + age: 23 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + income_support_reported: 4_000 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 0 + output: + income_support: [0, 0] + is_on_income_support: [false, false, true] + housing_benefit_non_dep_deduction_exempt: [false, false, true] + council_tax_reduction_non_dep_deduction_exempt: [false, false, true] + council_tax_reduction_individual_non_dep_deduction: [0, 260, 0] + council_tax_reduction_non_dep_deductions: [260, 0] + +- name: Another member aged 40 on their own Income Support is exempt from council tax reduction deductions only + # Housing Benefit exempts a non-dependant on Income Support only under 25 + # (reg 74(8)); the national council tax reduction schemes do at any age. + # The other member, outside remunerative work, pays Housing Benefit's + # lowest amount. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + other: + age: 40 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + income_support_reported: 4_000 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 0 + output: + is_on_income_support: [false, false, true] + housing_benefit_non_dep_deduction_exempt: [false, false, false] + council_tax_reduction_non_dep_deduction_exempt: [false, false, true] + council_tax_reduction_individual_non_dep_deduction: [0, 260, 0] + +- name: The claimant's own income-based JSA exempts the claimant + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + jsa_income_reported: 4_000 + other: + age: 23 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 0 + output: + claimant_or_partner_jsa_income: [0, 4_000] + is_on_income_based_jsa: [false, true, false] + housing_benefit_non_dep_deduction_exempt: [false, true, false] + council_tax_reduction_non_dep_deduction_exempt: [false, true, false] + # The other member, with no award, pays the lowest amount separately. + council_tax_reduction_individual_non_dep_deduction: [0, 0, 260] + council_tax_reduction_non_dep_deductions: [260, 0] + +- name: The claimant's own income-related ESA exempts the claimant from council tax reduction deductions + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + claimant: + age: 22 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + esa_income_reported: 4_000 + other: + age: 23 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, other] + would_claim_uc: false + households: + household: + members: [applicant, claimant, other] + country: ENGLAND + local_authority: MAIDSTONE + council_tax: 2_000 + savings: 0 + output: + claimant_or_partner_esa_income: [0, 4_000] + is_on_income_related_esa: [false, true, false] + council_tax_reduction_non_dep_deduction_exempt: [false, true, false] + council_tax_reduction_individual_non_dep_deduction: [0, 0, 260] + +- name: Another member's own ESA leaves a non-dependant couple banded on their own income + # The claimant works 35 hours on £13,000 a year, £250 a week; the partner + # has no income. A couple is banded on its joint income, which counts the + # claimant's and partner's income-related ESA (reg 74(4)), here nil. The + # other member's £8,000 award is their own: counting it would add £153.85 + # a week and move the claimant from the £183 band (£45.15) to the £348 band + # (£101.35). The partner and the other member, outside remunerative work, + # pay the lowest amount, £19.65 a week. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + applicant: + age: 70 + housing_benefit_individual_non_dep_deduction_eligible: false + claimant: + age: 30 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 35 + housing_benefit_non_dep_gross_income: 13_000 + housing_benefit_individual_non_dep_deduction_eligible: true + partner: + age: 30 + is_claimant_or_partner: true + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + housing_benefit_non_dep_gross_income: 0 + housing_benefit_individual_non_dep_deduction_eligible: true + other: + age: 40 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + weekly_hours: 0 + housing_benefit_non_dep_gross_income: 0 + housing_benefit_individual_non_dep_deduction_eligible: true + esa_income_reported: 8_000 + benunits: + applicant_unit: + members: [applicant] + non_dependant_unit: + members: [claimant, partner, other] + would_claim_uc: false + child_benefit: 0 + child_tax_credit: 0 + working_tax_credit: 0 + households: + household: + members: [applicant, claimant, partner, other] + country: ENGLAND + local_authority: MAIDSTONE + savings: 0 + output: + esa_income: [0, 8_000] + claimant_or_partner_esa_income: [0, 0] + # 45.15 x 52 = 2,347.80; 19.65 x 52 = 1,021.80. + household_benefits_individual_non_dep_deduction: [0, 2_347.80, 1_021.80, 1_021.80] diff --git a/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/wales_childcare_offer.yaml b/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/wales_childcare_offer.yaml new file mode 100644 index 0000000000..64203dad61 --- /dev/null +++ b/policyengine_uk/tests/policy/baseline/finance/benefit/family/legacy_award_readers/wales_childcare_offer.yaml @@ -0,0 +1,137 @@ +# Childcare Offer for Wales: each parent must have gross income of no more +# than £100,000 a year, counting all of that parent's income (guidance for +# local authorities, version 8.3, April 2026, paragraphs 57 and 69; July 2020 +# income guidance, questions 8 and 9). The model shares the benefit unit's +# benefits equally between the claimant and any partner, and a lone parent +# counts all of them (benunit_gross_income_sources). Of income-related ESA and +# income-based JSA it counts the claimant's and partner's awards +# (claimant_or_partner_esa_income, claimant_or_partner_jsa_income). "other" is +# a member who is neither the claimant, the partner nor a child or young person +# they are responsible for, so an award they claim in their own right is their +# income, not the parent's. An award entered for the benefit unit with no +# reports behind it is read as the claimant's or partner's. Child Benefit is +# set to zero so that wages and awards alone decide each case. The lone parent +# earns £96,000, far above 16 hours a week at the National Living Wage. The +# cases run in 2025, when income-related ESA and income-based JSA are paid for +# the whole year. + +- name: Wales, another member's income-related ESA does not count towards a lone parent's gross income + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 30 + employment_income: 96_000 + is_claimant_or_partner: true + child: + age: 3 + other: + age: 30 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + esa_income_reported: 8_000 + benunits: + benunit: + members: [parent, child, other] + would_claim_uc: false + child_benefit: 0 + households: + household: + members: [parent, child, other] + region: WALES + country: WALES + output: + esa_income: 8_000 + claimant_or_partner_esa_income: 0 + # 96,000 <= 100,000. Counting the other member's award would give + # 96,000 + 8,000 = 104,000. + wales_childcare_offer_parent_condition: [true, false, false] + wales_childcare_offer_eligible: true + +- name: Wales, another member's income-based JSA does not count towards a lone parent's gross income + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 30 + employment_income: 96_000 + is_claimant_or_partner: true + child: + age: 3 + other: + age: 30 + is_claimant_or_partner: false + current_education: NOT_IN_EDUCATION + jsa_income_reported: 8_000 + benunits: + benunit: + members: [parent, child, other] + would_claim_uc: false + child_benefit: 0 + households: + household: + members: [parent, child, other] + region: WALES + country: WALES + output: + jsa_income: 8_000 + claimant_or_partner_jsa_income: 0 + wales_childcare_offer_parent_condition: [true, false, false] + wales_childcare_offer_eligible: true + +- name: Wales, the benefit unit's income-related ESA counts towards the lone parent's gross income + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 30 + employment_income: 96_000 + is_claimant_or_partner: true + child: + age: 3 + benunits: + benunit: + members: [parent, child] + would_claim_uc: false + child_benefit: 0 + esa_income: 8_000 + households: + household: + members: [parent, child] + region: WALES + country: WALES + output: + claimant_or_partner_esa_income: 8_000 + # 96,000 + 8,000 = 104,000 > 100,000 + wales_childcare_offer_parent_condition: [false, false] + wales_childcare_offer_eligible: false + +- name: Wales, the benefit unit's income-based JSA counts towards the lone parent's gross income + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 30 + employment_income: 96_000 + is_claimant_or_partner: true + child: + age: 3 + benunits: + benunit: + members: [parent, child] + would_claim_uc: false + child_benefit: 0 + jsa_income: 8_000 + households: + household: + members: [parent, child] + region: WALES + country: WALES + output: + claimant_or_partner_jsa_income: 8_000 + wales_childcare_offer_parent_condition: [false, false] + wales_childcare_offer_eligible: false diff --git a/policyengine_uk/tests/test_legacy_award_readers_properties.py b/policyengine_uk/tests/test_legacy_award_readers_properties.py index cf3666cb9c..4392ea5ac6 100644 --- a/policyengine_uk/tests/test_legacy_award_readers_properties.py +++ b/policyengine_uk/tests/test_legacy_award_readers_properties.py @@ -13,6 +13,10 @@ ESA: HB Regs 2006 Sch 4 para 12, Sch 5 para 4 and Sch 6 para 5. - The working-age council tax reduction passport and non-dependant exemption: CTR (Default Scheme) (England) Regs 2012, Schedule. +- The higher personal allowance for a single applicant under 25 entitled to + main phase employment and support allowance, in Scotland's and Wales's + working-age council tax reduction schemes: SSI 2021/249 Sch 1 para 1; WSI + 2013/3029 Sch 7 para 1. - The tax credit income test: TCA 2002 s.7(2), SI 2002/2008 reg 4. - Scottish Child Payment: SSI 2020/351 reg 18(e)-(f). - The benefit cap exemption: HB Regs 2006 reg 75F(1)(a); UC Regs 2013 reg @@ -29,6 +33,15 @@ 11A(1)(e), 14(4)(b) and 15(4). - The higher Pension Credit earnings disregard for a claimant or partner on employment and support allowance: SPC Regs 2002 Sch VI para 4(1)(a)(vii). +- The Childcare Offer for Wales gross income limit for each parent: Welsh + Government guidance for local authorities, version 8.3 (April 2026), + paragraphs 57 and 69. +- The non-dependant exemptions, and the rule that a non-dependant on Income + Support, income-based JSA or income-related ESA is not in remunerative + work, for the person the award is payable to: HB Regs 2006 regs 2(1), (3) + and (3A), 6(6) and 74(8); SI 2006/214 regs 6(6) and 55(8); SI 2012/2885 + Sch 1 para 8(8); SSI 2012/319 reg 48; SSI 2021/249 reg 90; WSI 2013/3029 + Sch 1 para 3 and Sch 6 para 5. A member of the benefit unit who is neither the claimant, the partner nor a child or young person they are responsible for (for example a non-dependent @@ -38,7 +51,7 @@ member reports never changes any of these readers for the claimant's family or for its existing members; - adding such a member changes a reader only by ending the family's severe - disability premium, or, for the two Council Tax Reduction readers, by + disability premium, or, for the three Council Tax Reduction readers, by becoming the household head (these families flag none, so the eldest member is the head) who is liable and applies alone, so that the applicant changes (CTR_APPLICANT_READERS). A non-dependant aged 18 or over ends the @@ -129,6 +142,7 @@ "housing_benefit_pension_age_regulations_apply", "has_mixed_age_couple_pension_credit_saving", "pension_credit_earnings_disregard", + "council_tax_reduction_working_age_personal_allowance", ] MEMBER_READERS = [ "is_scp_eligible", @@ -137,6 +151,10 @@ "is_on_income_based_jsa", "is_on_income_support", "extended_childcare_entitlement_limited_capability_or_specified_benefit", + "wales_childcare_offer_parent_condition", + "housing_benefit_non_dep_deduction_exempt", + "council_tax_reduction_non_dep_deduction_exempt", + "household_benefits_individual_non_dep_deduction", ] # Readers built from the members' own ESA and JSA reports, their work and the # household's capital alone, which the severe disability premium cannot reach. @@ -264,13 +282,14 @@ def other_members(draw): # added member older than the claimant and partner becomes the liable head, # who then applies alone (council_tax_reduction_head_applies_alone). Their # presence then changes the applicant, which is intended, so those families -# are left out of the comparison with the family on its own for these two +# are left out of the comparison with the family on its own for these # readers. What the added member reports still never changes them: the first # property compares a silent added member with the member as drawn for every # family. CTR_APPLICANT_READERS = [ "council_tax_reduction_applicable_income", "council_tax_reduction_relevant_income_based_benefit", + "council_tax_reduction_working_age_personal_allowance", ] @@ -500,14 +519,16 @@ def test_adult_non_dependant_ends_the_severe_disability_premium(): # --- Further family shapes (begin) --- # Some readers only bite for a claimant over state pension age (the Housing # Benefit regulations that apply, the mixed-age couple saving), for a single -# applicant under 25, or for parents of a young child of whom only one works -# (the extended childcare partner condition). The families above rarely take -# those shapes, so three more properties check every family and member reader -# on them. The claimant and partner seldom report an award themselves, and on -# the savings drawn below the £16,000 capital limit the added member's award -# survives tariff income, so a reader that wrongly counts it changes (£20,000 -# of savings screens income-related ESA and income-based JSA to nil). The -# shapes pay no rent, so Universal Credit stays far below the benefit cap. +# applicant under 25, for parents of a young child of whom only one works +# (the extended childcare partner condition), or for a parent in Wales with +# gross income just under £100,000 (the Childcare Offer for Wales income +# limit). The families above rarely take those shapes, so four more +# properties check every family and member reader on them. The claimant and +# partner seldom report an award themselves, and on the savings drawn below +# the £16,000 capital limit the added member's award survives tariff income, +# so a reader that wrongly counts it changes (£20,000 of savings screens +# income-related ESA and income-based JSA to nil). The shapes pay no rent, so +# Universal Credit stays far below the benefit cap. # The cap reads only the couple's own awards and the family's # (benefit_cap_reduction), not another member's; the first property checks # that on JSA_COUPLE_WITH_LODGER, a family that an added member's £3,000 of @@ -625,6 +646,43 @@ def working_parent_families(draw): return [working, not_working], [{"age": draw(st.integers(1, 4))}], household +@st.composite +def high_earning_welsh_parent_families(draw): + """Parents of a child aged three or four in Wales, one of whom works and + has gross income just under the Childcare Offer for Wales limit of + £100,000 (guidance paras 57 and 69). The limit counts the benefit unit's + benefits, shared equally between the claimant and any partner, so an + added member's own award of £3,000 or more would take that parent over it + if it counted: the wages leave room for one child's Child Benefit + (£1,354.60 in 2025-26, half each in a couple) but not for the award, even + after tariff income on £7,000 of savings (£208).""" + couple = draw(st.booleans()) + earner = { + "age": draw(st.integers(25, 45)), + "is_parent": True, + "employment_income": 99_000 if couple else 98_000, + **draw(couple_award_reports()), + } + adults = [earner] + if couple: + adults.append( + { + "age": draw(st.integers(25, 45)), + "is_parent": True, + "employment_income": draw(st.sampled_from([0, 20_000])), + "current_education": draw( + st.sampled_from(["NOT_IN_EDUCATION", "TERTIARY"]) + ), + **draw(couple_award_reports()), + } + ) + household = { + "country": "WALES", + "savings": draw(st.sampled_from([0, 7_000])), + } + return adults, [{"age": draw(st.integers(3, 4))}], household + + def _family_readers_never_change(drawn, enter_is_mixed_age_couple=False): without = [(*family, None) for family, _ in drawn] with_other = [(*family, other) for family, other in drawn] @@ -740,6 +798,20 @@ def test_other_members_awards_never_change_the_readers_for_working_parents(drawn _family_readers_never_change(drawn) +@SETTINGS +@given( + st.lists( + st.tuples(high_earning_welsh_parent_families(), other_members_with_awards()), + min_size=1, + max_size=6, + ) +) +def test_other_members_awards_never_change_the_readers_for_welsh_high_earners( + drawn, +): + _family_readers_never_change(drawn) + + # --- Further family shapes (end) --- @@ -1041,6 +1113,145 @@ def test_other_members_esa_never_changes_non_dependant_exemption(drawn): assert np.isclose(deduction[a], deduction[b]), drawn[i] +# Readers of the non-dependant rules in Housing Benefit and England's +# pensioner council tax reduction scheme. The property runs in 2025, when +# Income Support, income-based JSA and income-related ESA are all in payment. +NON_DEPENDANT_READERS = [ + "housing_benefit_non_dep_deduction_exempt", + "council_tax_reduction_non_dep_deduction_exempt", + "council_tax_reduction_individual_non_dep_deduction", + "household_benefits_individual_non_dep_deduction", +] + + +@st.composite +def non_dependant_units(draw): + """A non-dependant benefit unit of one or two claimants aged 22 or 30, + each working 35 hours a week on £13,000 or not working, and sometimes + reporting £200 or £3,000 of one award; sometimes an adult aged 45 outside + their couple who is already a member, with a report of their own; and + household savings of nil or £10,000.""" + claimants = [] + for _ in range(draw(st.integers(1, 2))): + works = draw(st.booleans()) + claimants.append( + { + "age": draw(st.sampled_from([22, 30])), + "employment_income": 13_000 if works else 0, + "hours_worked": 1_820 if works else 0, + **NO_AWARDS, + draw(st.sampled_from(AWARD_REPORTS)): draw( + st.sampled_from([0, 0, 200, 3_000]) + ), + } + ) + existing = None + if draw(st.booleans()): + existing = { + "age": 45, + **NO_AWARDS, + draw(st.sampled_from(AWARD_REPORTS)): draw( + st.sampled_from([0, 200, 3_000]) + ), + } + return claimants, existing, draw(st.sampled_from([0, 10_000])) + + +@SETTINGS +@given( + st.lists( + st.tuples(non_dependant_units(), other_members_with_awards()), + min_size=1, + max_size=6, + ) +) +def test_other_members_awards_never_change_the_non_dependant_readers(drawn): + """Adding an adult outside the non-dependant couple, with an award of + their own, never changes a non-dependant reader for an existing member. + + Each household in Maidstone has an applicant aged 70, the household head, + so England's pensioner scheme applies, and a non-dependant benefit unit + (non_dependant_units), with or without the added adult. Savings of £10,000 + give tariff income of £832 a year, more than a £200 report of + income-related ESA or income-based JSA on its own. The claimant's and + partner's reports make one award (£3,200 of reports leave £2,368), so a + couple whose only report is £200 has no award, and nor does the adult aged + 45 with a £200 report of their own. Whether anyone is on an award never + turns on the added adult's award (HB Regs 2006 reg 2(3), (3A)). A couple in + remunerative work is banded on its own gross income, which leaves out the + added adult's award (HB Regs 2006 reg 74(4); SI 2006/214 reg 55(4); SI + 2012/2885 Sch 1 para 8(4)). The benefit unit claims no Universal Credit, + tax credits or Child Benefit, so the legacy awards and pay alone decide + each case. + """ + people, benunits, households = {}, {}, {} + layouts = [] + for other_present in [False, True]: + for i, ((claimants, existing, savings), other) in enumerate(drawn): + tag = f"{int(other_present)}_{i}" + applicant = f"applicant_{tag}" + people[applicant] = {"age": 70, "is_claimant_or_partner": True} + members = [(c, True) for c in claimants] + if existing is not None: + members.append((existing, False)) + if other_present: + members.append((other, False)) + unit = [] + for j, (inputs, claimant_or_partner) in enumerate(members): + name = f"nondep_{tag}_{j}" + people[name] = { + "current_education": "NOT_IN_EDUCATION", + **inputs, + "is_claimant_or_partner": claimant_or_partner, + } + unit.append(name) + benunits[f"applicant_unit_{tag}"] = { + "members": [applicant], + "claims_all_entitled_benefits": False, + } + benunits[f"nondep_unit_{tag}"] = { + "members": unit, + "claims_all_entitled_benefits": False, + "would_claim_uc": False, + "universal_credit": 0, + "child_benefit": 0, + "child_tax_credit": 0, + "working_tax_credit": 0, + } + households[f"h_{tag}"] = { + "members": [applicant] + unit, + "country": "ENGLAND", + "local_authority": "MAIDSTONE", + "council_tax": 2_000, + "savings": savings, + } + layouts.append([applicant] + unit) + + def timed(entities): + return { + name: {k: (v if k == "members" else {YEAR: v}) for k, v in inputs.items()} + for name, inputs in entities.items() + } + + sim = Simulation( + situation={ + "people": timed(people), + "benunits": timed(benunits), + "households": timed(households), + } + ) + k = len(drawn) + for variable in NON_DEPENDANT_READERS: + values = dict(zip(people, sim.calculate(variable, YEAR))) + for i in range(k): + without, with_other = layouts[i], layouts[k + i] + for a, b in zip(without, with_other): + assert np.isclose(values[a], values[b], atol=0.01), ( + variable, + drawn[i], + ) + + def _difference(variable, base_people, award_people, benunit_inputs=None): def build(people): names = list(people) diff --git a/policyengine_uk/tests/test_wales_childcare_offer_income_sources.py b/policyengine_uk/tests/test_wales_childcare_offer_income_sources.py index f083cb4b4f..67a54f5ae4 100644 --- a/policyengine_uk/tests/test_wales_childcare_offer_income_sources.py +++ b/policyengine_uk/tests/test_wales_childcare_offer_income_sources.py @@ -95,8 +95,8 @@ def sources(name): "housing_benefit", "income_support", "pension_credit", - "esa_income", - "jsa_income", + "claimant_or_partner_esa_income", + "claimant_or_partner_jsa_income", }, }