diff --git a/changelog.d/qyp-income-support-exclusion.fixed.md b/changelog.d/qyp-income-support-exclusion.fixed.md new file mode 100644 index 0000000000..8dec0770f0 --- /dev/null +++ b/changelog.d/qyp-income-support-exclusion.fixed.md @@ -0,0 +1 @@ +Tested that Pension Credit, Child Benefit and Child Tax Credit each stop counting a young person who receives Income Support in their own right as a qualifying young person, and Universal Credit does not (SPC Regs 2002 reg. 4A(5); Child Benefit (General) Regulations 2006 reg. 8(2)(a); CTC Regs 2002 reg. 5(4)(c); UC Regs 2013 reg. 5(5)), in the baseline and under reforms that remove Income Support. Pension Credit and Child Tax Credit read the benefit unit's calculated Income Support for whichever of the claimant and partner receives it, so a reform that pays no Income Support ends the exclusion for that person; Child Benefit reads the young person's own report while Income Support is in payment. diff --git a/policyengine_uk/tests/policy/baseline/finance/benefit/qualifying_young_person_income_support.yaml b/policyengine_uk/tests/policy/baseline/finance/benefit/qualifying_young_person_income_support.yaml new file mode 100644 index 0000000000..605023af0d --- /dev/null +++ b/policyengine_uk/tests/policy/baseline/finance/benefit/qualifying_young_person_income_support.yaml @@ -0,0 +1,233 @@ +# Income Support in a young person's own right ends qualifying young person +# status for Pension Credit (SPC Regs 2002 reg. 4A(5)), Child Benefit (Child +# Benefit (General) Regulations 2006 reg. 8(2)(a)) and Child Tax Credit (CTC +# Regs 2002 reg. 5(4)(c)). Universal Credit's list (UC Regs 2013 reg. 5(5)) +# names Universal Credit, Employment and Support Allowance and Jobseeker's +# Allowance only. +# +# Pension Credit and Child Tax Credit read is_on_income_support: the benefit +# unit's calculated award, for whichever of the claimant and partner receives +# it, and the person's own report for any other member. Child Benefit reads +# receives_income_support_in_own_right, the person's own report, because the +# family's Income Support reads the Child Benefit test. +# +# Income Support stopped paying on 31 March 2026 +# (gov/dwp/income_support/active.yaml), so reported receipt counts to 2025-26. +# 2025-26 amounts: Child Benefit eldest child £26.05 a week; Pension Credit +# first-child addition £78.10 a week. CTC child element £3,455 in 2024-25; the +# element needs an existing claim that a Universal Credit claim has not ended +# (is_CTC_eligible), so the CTC cases give the parent a reported award and the +# family no Universal Credit claim. + +- name: Case 1, a 17-year-old at school with no Income Support is every programme's qualifying young person. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + grandparent: + age: 70 + is_claimant_or_partner: true + student: + age: 17 + current_education: UPPER_SECONDARY + is_claimant_or_partner: false + benunits: + benunit: + members: [grandparent, student] + output: + receives_income_support_in_own_right: [false, false] + is_qualifying_young_person_for_pension_credit: [false, true] + is_qualifying_young_person_for_child_benefit: [false, true] + is_qualifying_young_person_for_universal_credit: [false, true] + # 78.10 * 52. + child_minimum_guarantee_addition: 4_061.20 + # 26.05 * 52. + child_benefit_entitlement: 1_354.60 + +- name: Case 2, reported Income Support of their own ends it for Pension Credit and Child Benefit, not Universal Credit. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + grandparent: + age: 70 + is_claimant_or_partner: true + student: + age: 17 + current_education: UPPER_SECONDARY + income_support_reported: 3_000 + is_claimant_or_partner: false + benunits: + benunit: + members: [grandparent, student] + output: + receives_income_support_in_own_right: [false, true] + is_qualifying_young_person_for_pension_credit: [false, false] + is_qualifying_young_person_for_child_benefit: [false, false] + is_qualifying_young_person_for_universal_credit: [false, true] + child_minimum_guarantee_addition: 0 + child_benefit_entitlement: 0 + is_child_or_young_person_for_legacy_benefits: [false, false] + +- name: Case 3, the same for Child Tax Credit in 2024-25. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + child_tax_credit_reported: 1 + age: 40 + is_parent: true + is_claimant_or_partner: true + student: + age: 17 + current_education: UPPER_SECONDARY + income_support_reported: 3_000 + is_claimant_or_partner: false + benunits: + benunit: + members: [parent, student] + would_claim_uc: false + output: + is_on_income_support: [false, true] + is_qualifying_young_person_for_child_tax_credit: [false, false] + CTC_child_element: 0 + +- name: Case 4, without it the Child Tax Credit child element is paid. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + child_tax_credit_reported: 1 + age: 40 + is_parent: true + is_claimant_or_partner: true + student: + age: 17 + current_education: UPPER_SECONDARY + is_claimant_or_partner: false + benunits: + benunit: + members: [parent, student] + would_claim_uc: false + output: + is_qualifying_young_person_for_child_tax_credit: [false, true] + CTC_child_element: 3_455 + +- name: Case 5, it ends the 16-year-old's status too, which has no education condition. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + grandparent: + age: 70 + is_claimant_or_partner: true + school_leaver: + age: 16 + current_education: NOT_IN_EDUCATION + income_support_reported: 3_000 + is_claimant_or_partner: false + benunits: + benunit: + members: [grandparent, school_leaver] + output: + is_qualifying_young_person_for_pension_credit: [false, false] + is_qualifying_young_person_for_child_benefit: [false, false] + is_qualifying_young_person_for_universal_credit: [false, true] + +- name: Case 6, a report of Income Support after it stopped paying does not count. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + grandparent: + age: 70 + is_claimant_or_partner: true + student: + age: 17 + current_education: UPPER_SECONDARY + income_support_reported: 3_000 + is_claimant_or_partner: false + benunits: + benunit: + members: [grandparent, student] + output: + receives_income_support_in_own_right: [false, false] + is_qualifying_young_person_for_pension_credit: [false, true] + is_qualifying_young_person_for_child_benefit: [false, true] + +- name: Case 7, the Child Benefit input can be set directly; it does not decide Pension Credit or Child Tax Credit. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + grandparent: + age: 70 + is_claimant_or_partner: true + student: + age: 17 + current_education: UPPER_SECONDARY + receives_income_support_in_own_right: true + is_claimant_or_partner: false + benunits: + benunit: + members: [grandparent, student] + output: + # No Income Support reported or calculated. + is_on_income_support: [false, false] + is_qualifying_young_person_for_pension_credit: [false, true] + is_qualifying_young_person_for_child_tax_credit: [false, true] + is_qualifying_young_person_for_child_benefit: [false, false] + is_qualifying_young_person_for_universal_credit: [false, true] + +# Case 8, 2019-20 amounts: standard minimum guarantee £167.25 a week; severe +# disability addition £65.85 a week; PIP daily living standard rate £58.70 a +# week; Income Support personal allowance for a single person aged 18 to 24 +# £57.90 a week; winter fuel payment £200; colour TV licence £154.50. + +- name: Case 8, a student-carer on Income Support of their own is not the pensioner's qualifying young person, so the pensioner gets no severe disability addition. + period: 2019 + absolute_error_margin: 0.01 + input: + people: + pensioner: + age: 70 + pip_dl_category: STANDARD + state_pension: 5_000 + student: + # An orphan in full-time non-advanced education with an existing + # Income Support claim (IS Regs 1987 reg. 13(2)(c)), caring for the + # pensioner 35 hours a week without Carer's Allowance. + age: 18 + current_education: UPPER_SECONDARY + care_hours: 35 + would_claim_carers_allowance: false + income_support_reported: 3_000 + benunits: + pensioner_unit: + members: [pensioner] + would_claim_uc: false + student_unit: + members: [student] + would_claim_uc: false + households: + household: + members: [pensioner, student] + # DWP first paid cost-of-living payments in 2022. + cost_of_living_support_payment: 0 + output: + # The student claims Income Support for their own benefit unit: no + # income, so the award is the personal allowance, 57.90 x 52 = 3,010.80. + income_support: [0, 3_010.80] + is_on_income_support: [false, true] + # Reg. 4A(5): not a qualifying young person, so not disregarded under + # Schedule I para. 2(2)(f), and the pensioner does not live alone. + is_qualifying_young_person_for_pension_credit: [false, false] + severe_disability_minimum_guarantee_addition: [0, 0] + # 167.25 x 52 = 8,697, less the State Pension 5,000. + pension_credit: [3_697, 0] + # State Pension 5,000 + PIP 58.70 x 52 = 3,052.40 + Pension Credit 3,697 + # + Income Support 3,010.80 + winter fuel payment 200, less TV licence + # 154.50: 14,805.70. The cost-of-living payment is set to zero. + household_net_income: 14_805.70 diff --git a/policyengine_uk/tests/test_child_and_adult_definitions_properties.py b/policyengine_uk/tests/test_child_and_adult_definitions_properties.py index 95f767cdcb..d3b7f75a26 100644 --- a/policyengine_uk/tests/test_child_and_adult_definitions_properties.py +++ b/policyengine_uk/tests/test_child_and_adult_definitions_properties.py @@ -75,8 +75,8 @@ terminal-date input, false unless a test varies it; PC's terminal date follows the 19th-birthday date fact, which is true for everyone under 20 when only an age is given (test_qualifying_young_person_terminal_date_properties.py -covers both dates). Nobody here reports Income Support, which SPC reg 4A(5) -lists and UC reg 5(5) does not. +covers both dates). Nobody here reports Income Support, which SPC reg 4A(5), +Child Benefit reg 8 and CTC reg 5(4)(c) list and UC reg 5(5) does not. Own-benefit receipt collapses different programme-specific benefit lists. UC/CTC/PC blanket looked-after exclusions omit statutory exceptions. HBAI's fallback assumes dependence at 16--17 regardless of study, requires an diff --git a/policyengine_uk/tests/test_qualifying_young_person_income_support_properties.py b/policyengine_uk/tests/test_qualifying_young_person_income_support_properties.py new file mode 100644 index 0000000000..f4b3255333 --- /dev/null +++ b/policyengine_uk/tests/test_qualifying_young_person_income_support_properties.py @@ -0,0 +1,381 @@ +"""Income Support in a young person's own right and qualifying young person +status. + +A person receiving Income Support is not a qualifying young person for +Pension Credit (SPC Regs 2002 reg. 4A(5)), Child Benefit (Child Benefit +(General) Regulations 2006 reg. 8(2)(a)) or Child Tax Credit (CTC Regs 2002 +reg. 5(4)(c)). Universal Credit's list (UC Regs 2013 reg. 5(5)) does not +include Income Support. + +Pension Credit and Child Tax Credit read is_on_income_support: the benefit +unit's calculated award, for whichever of the claimant and partner receives +it, and the person's own report for any other member while Income Support is +in payment and not neutralised. +Child Benefit reads receives_income_support_in_own_right, the person's own +report on the same terms, because the family's Income Support reads the +Child Benefit test and the calculated award would make a cycle. + +Invariants: + +1. Over every combination of age, education, training, the other own-right + benefits and the 16th-birthday fact, for a member who is not the claimant + or partner: reporting Income Support of their own while it is in payment + ends the Pension Credit, Child Benefit and Child Tax Credit statuses; + without a report each status is what it is when the report is left + alone; Universal Credit status never depends on it; and Pension Credit + and Universal Credit agree without it. +2. By default receives_income_support_in_own_right is the person's own + reported Income Support while Income Support is in payment (to 2025-26) + and no reform neutralises it, and false otherwise. +3. Under a reform that neutralises income_support, no Pension Credit, Child + Tax Credit or Child Benefit status depends on reported Income Support. + Under a reform that replaces income_support's formula with one returning + zero, no Pension Credit or Child Tax Credit status of a claimant or + partner depends on it; another member's report and the Child Benefit + reader still exclude, as their documentation says, because only setting + gov.dwp.income_support.active to false, neutralising Income Support, or + setting the report to zero, removes a report. +4. Universal Credit status never depends on reported Income Support, in the + baseline or under either reform. +5. Setting a young person's reported Income Support to zero never lowers + their household's Pension Credit. +""" + +from itertools import product +from unittest.mock import patch + +import numpy as np +from hypothesis import HealthCheck, given, settings +from hypothesis import strategies as st + +from policyengine_uk import Simulation +from policyengine_uk.model_api import YEAR as YEAR_PERIOD +from policyengine_uk.model_api import BenUnit, Variable +from policyengine_uk.tax_benefit_system import system +from policyengine_uk.variables.household.demographic.highest_education import ( + EducationType, +) + +YEAR = 2025 +_PROPERTY_SYSTEM = system.clone() +EDUCATIONS = tuple(item.name for item in EducationType) +SIXTEEN = "is_before_first_september_following_16th_birthday" +INCOME_SUPPORT = "receives_income_support_in_own_right" +EXCLUDING = ("pension_credit", "child_benefit", "child_tax_credit") +# Income Support paid its last awards on 31 March 2026. +IN_PAYMENT = {2016: True, 2019: True, 2024: True, 2025: True, 2026: False} +SETTINGS = settings( + max_examples=10, + deadline=None, + derandomize=True, + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) + + +class income_support(Variable): + """A reform's Income Support formula that pays nothing.""" + + value_type = float + entity = BenUnit + label = "Income Support" + definition_period = YEAR_PERIOD + + def formula(benunit, period, parameters): + return benunit.empty_array() + + +def apply(sim, reform): + if reform == "zero formula": + sim.tax_benefit_system.update_variable(income_support) + elif reform == "neutralised": + sim.tax_benefit_system.neutralize_variable("income_support") + return sim + + +def simulate(households, year=YEAR, reform=None): + """households: a list of households, each a list of benefit units, each a + list of people's inputs. Every person gives the same input names.""" + situation = {"people": {}, "benunits": {}, "households": {}} + people = [] + for h, units in enumerate(households): + household_members = [] + for b, unit in enumerate(units): + names = [] + for p, inputs in enumerate(unit): + name = f"p{h}_{b}_{p}" + situation["people"][name] = {} + people.append(inputs) + names.append(name) + situation["benunits"][f"b{h}_{b}"] = {"members": names} + household_members += names + situation["households"][f"h{h}"] = {"members": household_members} + with patch( + "policyengine_uk.simulation.CountryTaxBenefitSystem", + side_effect=_PROPERTY_SYSTEM.clone, + ): + sim = Simulation(situation=situation) + variables = people[0].keys() + assert all(p.keys() == variables for p in people) + for variable in variables: + sim.set_input(variable, year, [p[variable] for p in people]) + # No family claims Universal Credit, so legacy awards, Child Tax Credit + # included, continue. + benunits = len(situation["benunits"]) + sim.set_input("would_claim_uc", year, np.zeros(benunits, dtype=bool)) + sim.input_variables = list(variables) + ["would_claim_uc"] + sim.reset_calculations() + return apply(sim, reform) + + +def status(sim, programme, year=YEAR): + return sim.calculate(f"is_qualifying_young_person_for_{programme}", year) + + +def member(age, **inputs): + return { + "age": age, + "current_education": "NOT_IN_EDUCATION", + "is_in_approved_training": False, + "receives_benefits_in_own_right": False, + "age_started_or_accepted_current_education_or_training": 17, + "is_claimant_or_partner": False, + "income_support_reported": 0, + "state_pension": 0, + "pip_dl_category": "NONE", + "care_hours": 0, + "would_claim_carers_allowance": False, + "child_tax_credit_reported": 0, + **inputs, + } + + +# --- Invariants 1 and 2 --- + +BASE = [ + dict( + current_education=education, + is_in_approved_training=training, + receives_benefits_in_own_right=own_right, + **{SIXTEEN: sixteen}, + ) + for education, training, own_right, sixteen in product( + EDUCATIONS, (False, True), (False, True), (False, True) + ) +] +GRID = [dict(row, age=age) for age, row in product(range(14, 22), BASE)] + + +def as_members(rows, **inputs): + # Each young person sits in the benefit unit of a 70-year-old claimant, + # so they are not the claimant or partner. + claimant = member(70, is_claimant_or_partner=True, **{SIXTEEN: False}) + return [[[claimant, member(**{SIXTEEN: False, **row, **inputs})]] for row in rows] + + +def test_income_support_ends_three_statuses_and_not_universal_credit(): + untouched = simulate(as_members(GRID)) + reporting = simulate(as_members(GRID, income_support_reported=3_000)) + neutralised = simulate( + as_members(GRID, income_support_reported=3_000), reform="neutralised" + ) + for programme in EXCLUDING + ("universal_credit",): + np.testing.assert_array_equal( + status(neutralised, programme)[1::2], + status(untouched, programme)[1::2], + err_msg=programme, + ) + for programme in EXCLUDING: + before = status(untouched, programme)[1::2] + # Not vacuous: there is a status to lose. + assert before.any(), programme + assert not status(reporting, programme)[1::2].any(), programme + universal_credit = status(untouched, "universal_credit")[1::2] + assert universal_credit.any() + np.testing.assert_array_equal( + status(reporting, "universal_credit")[1::2], universal_credit + ) + np.testing.assert_array_equal( + status(untouched, "pension_credit")[1::2], universal_credit + ) + + +@SETTINGS +@given( + st.lists( + st.tuples(st.integers(0, 60), st.sampled_from([0, 0, 1, 2_500, 9_000])), + min_size=1, + max_size=40, + ), + st.sampled_from([2021, 2024, 2025, 2026, 2028]), +) +def test_default_follows_reported_income_support_while_it_is_paid(rows, year): + # Invariant 2. + households = [ + [[member(age, income_support_reported=amount)]] for age, amount in rows + ] + sim = simulate(households, year) + expected = [year <= 2025 and amount > 0 for _, amount in rows] + np.testing.assert_array_equal(sim.calculate(INCOME_SUPPORT, year), expected) + neutralised = simulate(households, year, reform="neutralised") + assert not neutralised.calculate(INCOME_SUPPORT, year).any() + + +# --- Invariants 3 to 5, on generated households --- + + +@st.composite +def household(draw): + young = member( + draw(st.integers(15, 20)), + current_education=draw(st.sampled_from(EDUCATIONS)), + is_in_approved_training=draw(st.booleans()), + income_support_reported=draw(st.sampled_from([0, 3_000])), + care_hours=draw(st.sampled_from([0, 35])), + ) + shape = draw(st.sampled_from(["pensioner's unit", "own unit", "parent's unit"])) + if shape == "parent's unit": + # A Child Tax Credit claimant and their young person. + parent = member( + draw(st.integers(35, 55)), + is_claimant_or_partner=True, + child_tax_credit_reported=1, + ) + return [[parent, young]] + pensioner = member( + draw(st.integers(66, 90)), + is_claimant_or_partner=True, + state_pension=draw(st.sampled_from([0, 5_000, 9_000])), + pip_dl_category=draw(st.sampled_from(["NONE", "STANDARD", "ENHANCED"])), + ) + if shape == "own unit": + # The young person claims for their own benefit unit, so the model + # calculates their Income Support. + return [[pensioner], [dict(young, is_claimant_or_partner=True)]] + return [[pensioner, young]] + + +def without_reports(households): + return [ + [[dict(p, income_support_reported=0) for p in unit] for unit in units] + for units in households + ] + + +def flat(households, key): + return np.array([p[key] for units in households for unit in units for p in unit]) + + +GENERATED = dict( + households=st.lists(household(), min_size=1, max_size=8), + year=st.sampled_from([2016, 2019, 2024]), +) + + +@SETTINGS +@given(**GENERATED, reform=st.sampled_from(["zero formula", "neutralised"])) +def test_reforms_that_remove_income_support_end_the_exclusions( + households, year, reform +): + # Invariants 3 and 4. + reformed = simulate(households, year, reform) + unreported = simulate(without_reports(households), year, reform) + reported = flat(households, "income_support_reported") > 0 + claimant = flat(households, "is_claimant_or_partner") + # A report counts where it is the reader's evidence: for Child Benefit + # always, and for Pension Credit and Child Tax Credit for anyone who is + # not the claimant or partner; and only until a reform neutralises it. + report_stands = reported & IN_PAYMENT[year] & (reform != "neutralised") + for programme in ("pension_credit", "child_tax_credit"): + np.testing.assert_array_equal( + status(reformed, programme, year), + status(unreported, programme, year) & ~(report_stands & ~claimant), + err_msg=programme, + ) + np.testing.assert_array_equal( + status(reformed, "child_benefit", year), + status(unreported, "child_benefit", year) & ~report_stands, + ) + np.testing.assert_array_equal( + status(reformed, "universal_credit", year), + status(unreported, "universal_credit", year), + ) + assert not reformed.calculate("income_support", year).any() + + +@SETTINGS +@given(**GENERATED) +def test_universal_credit_and_pension_credit_without_reported_income_support( + households, year +): + # Invariants 4 and 5 in the baseline. + reported = simulate(households, year) + unreported = simulate(without_reports(households), year) + np.testing.assert_array_equal( + status(reported, "universal_credit", year), + status(unreported, "universal_credit", year), + ) + gained = unreported.calculate("pension_credit", year, map_to="household") + kept = reported.calculate("pension_credit", year, map_to="household") + assert (gained >= kept - 0.01).all(), (gained, kept) + + +# --- The review's household: a pensioner and a student-carer --- + + +def pensioner_and_student_carer(): + # 2019: a pensioner aged 70 on PIP daily living with £5,000 of State + # Pension, and an unrelated 18-year-old in their own benefit unit: an + # orphan in full-time non-advanced education with an existing Income + # Support claim (IS Regs 1987 reg. 13(2)(c)), caring for the pensioner 35 + # hours a week without Carer's Allowance. + pensioner = member( + 70, + is_claimant_or_partner=True, + state_pension=5_000, + pip_dl_category="STANDARD", + ) + student = member( + 18, + is_claimant_or_partner=True, + current_education="UPPER_SECONDARY", + income_support_reported=3_000, + care_hours=35, + ) + return [[[pensioner], [student]]] + + +def test_a_reform_paying_no_income_support_restores_the_severe_disability_addition(): + # With the student's Income Support in payment, reg. 4A(5) excludes them, + # the pensioner does not live alone, and Pension Credit is the standard + # minimum guarantee 167.25 x 52 = 8,697 less the State Pension: 3,697. + # A reform that pays no Income Support leaves the student a qualifying + # young person, disregarded under Schedule I para. 2(2)(f), so the + # pensioner gets the severe disability addition 65.85 x 52 = 3,424.20 as + # well: 7,121.20. Household net income: State Pension 5,000 + PIP 58.70 x + # 52 = 3,052.40 + Pension Credit 7,121.20 + winter fuel payment 200, less + # TV licence 154.50: 15,219.10, before the cost-of-living payments. + year = 2019 + for reform in ("zero formula", "neutralised"): + sim = simulate(pensioner_and_student_carer(), year, reform) + np.testing.assert_array_equal(status(sim, "pension_credit", year), [0, 1]) + np.testing.assert_allclose( + sim.calculate("severe_disability_minimum_guarantee_addition", year), + [3_424.20, 0], + atol=0.01, + ) + np.testing.assert_allclose( + sim.calculate("pension_credit", year), [7_121.20, 0], atol=0.01 + ) + np.testing.assert_allclose( + sim.calculate("household_net_income", year) + - sim.calculate("cost_of_living_support_payment", year), + [15_219.10], + atol=0.01, + ) + # Child Benefit reads the report: of these two reforms, only neutralising + # Income Support ends its exclusion. + zero = simulate(pensioner_and_student_carer(), year, "zero formula") + assert zero.calculate(INCOME_SUPPORT, year)[1] + assert not status(zero, "child_benefit", year)[1] + neutralised = simulate(pensioner_and_student_carer(), year, "neutralised") + assert status(neutralised, "child_benefit", year)[1] diff --git a/policyengine_uk/variables/gov/dwp/pension_credit/guarantee_credit/minimum_guarantee/additional/is_qualifying_young_person_for_pension_credit.py b/policyengine_uk/variables/gov/dwp/pension_credit/guarantee_credit/minimum_guarantee/additional/is_qualifying_young_person_for_pension_credit.py index 2cad11f56f..9637a2228d 100644 --- a/policyengine_uk/variables/gov/dwp/pension_credit/guarantee_credit/minimum_guarantee/additional/is_qualifying_young_person_for_pension_credit.py +++ b/policyengine_uk/variables/gov/dwp/pension_credit/guarantee_credit/minimum_guarantee/additional/is_qualifying_young_person_for_pension_credit.py @@ -43,7 +43,9 @@ def formula(person, period, parameters): # own awards without calculating family benefits, which depend on QYP # status and could recurse. Unlike UC reg. 5(5), it lists income # support, whose family follows the Child Benefit test and not this - # one, so is_on_income_support can read the calculated award. + # one, so is_on_income_support can read the calculated award: a + # claimant or partner receives Income Support only while the model + # pays their benefit unit an award. receives_own_benefits = ( person("receives_benefits_in_own_right", period) | (person("universal_credit_reported", period) > 0)