Rapu Ture - Exploring the Rules

Is each family classified as eligible for best start tax credit

Best Start Boolean MONTH Family Formula Included used 1 time

Value type Boolean . Default value false Entity family

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 best_start__family_has_children_eligible


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

def formula(families, period, parameters):
    families_have_children_born_after_launch_date = families.max(
        families.members('date_of_birth', period) >= datetime64('2018-07-01'))
    families_have_children_due_after_launch_date = families.max(
        families.members('due_date_of_birth', period) >= datetime64('2018-07-01'))
    families_have_children_younger_than_three_years = families(
        'age_of_youngest', period) < 3
    return ((families_have_children_born_after_launch_date + families_have_children_due_after_launch_date) > 0) * \