Rapu Ture - Exploring the Rules

Meets the sole parent support test for not being in a relationship

Sole Parent Support Boolean MONTH Person Formula Included used 1 time

Value type Boolean . Default value true Entity person

How is this calculated?

To calculate this variable, the following input is used

Where is this used?

This variable is referred to by these other variables in their own calculations


This is the formula used to calculate the value of sole_parent_support__meets_relationship_qualification


This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas

def formula(persons, period, parameters):
    # Do they have a partner
    no_partners = (persons('has_a_partner', period) == 0)
    not_supported = (persons('is_adequately_supported_by_partner', period) == 0)
    # no partner, OR not supported by partner
    return no_partners + not_supported