Does the hours per week the person is employed for qualify them as a full time earner
Family Scheme Int MONTH Person Formula Included used 2 timesValue type Int . Default value 0 Entity person
How is this calculated?
To calculate this variable, the following input is used
- Boolean has_a_partner Is this person in a relationship?
- Int hours_per_week_employed The hours per week a person is employed for
Where is this used?
This variable is referred to by these other variables in their own calculations
- Boolean family_scheme__qualifies_for_in_work_tax_credit Is a person is qualified as eligible for the in-work tax credit
- Boolean family_scheme__qualifies_for_minimum_family_tax_credit Is a person is qualified as eligible for the minimum family tax credit
Formulas
This is the formula used to calculate the value of family_scheme__full_time_earner
0001-01-01
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(persons, period, parameters):
has_partner = (persons('has_a_partner', period) > 0)
hours_per_week_threshold = parameters(period).entitlements.social_security.family_scheme.hours_per_week_threshold
hours_per_week_threshold_with_partner = parameters(period).entitlements.social_security.family_scheme.hours_per_week_threshold_with_partner
return ((has_partner == 0) * (persons('hours_per_week_employed', period) >= hours_per_week_threshold)) +\
((has_partner > 0) * (persons.family.sum(persons.family.members('hours_per_week_employed', period, role=Family.PARTNER)) >= hours_per_week_threshold_with_partner))