Rapu Ture - Exploring the Rules

Is this person in a relationship?

Boolean MONTH Person Formula Included used 2 times

Value type Boolean . Default value false Entity person


Where is this used?

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


Formulas

This is the formula used to calculate the value of has_a_partner

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 1 or more partners
    number_of_partners = persons.family.nb_persons(role=Family.PARTNER)
    return number_of_partners >= 1

Scenarios calculating this variables