Skip to content

Commit

Permalink
use reform parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelMakarchuk committed Sep 12, 2024
1 parent b521791 commit c37a145
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class is_younger_child_dependent(Variable):
def formula(person, period, parameters):
is_dependent = person("is_tax_unit_dependent", period)
age = person("age", period)
p = parameters(period).gov.irs.dependent.ineligible_age
age_eligible = age <= p.non_student
p = parameters(period).gov.contrib.states.ny.wftc
age_eligible = age <= p.child_age_threshold
return is_dependent & age_eligible

class eitc_younger_children_count(Variable):
Expand Down

0 comments on commit c37a145

Please sign in to comment.