Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMalamute committed May 11, 2024
1 parent f16f384 commit 2e425e8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ def formula(person, period, parameters):
dependant_net_income <= p.upper_dependant_income_threshold
)

net_income = max_(0, p.upper_dependant_income_threshold - dependant_net_income)
net_income = max_(
0, p.upper_dependant_income_threshold - dependant_net_income
)

cohabitating_dependant = person("cohabitating_dependant", period)

caregiver_amount = (
net_income
* income_eligibility
* cohabitating_dependant
net_income * income_eligibility * cohabitating_dependant
)

return min_(caregiver_amount, p.maximum_caregiver_amount)

0 comments on commit 2e425e8

Please sign in to comment.