-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manitoba Renters Tax Credit #423
base: master
Are you sure you want to change the base?
Conversation
Fixes PolicyEngine#419 Tests to be done
...ine_canada/parameters/gov/provinces/mb/tax/income/credits/renters_tax_credit/age_amount.yaml
Show resolved
Hide resolved
...parameters/gov/provinces/mb/tax/income/credits/renters_tax_credit/applicable_percentage.yaml
Show resolved
Hide resolved
...ne_canada/parameters/gov/provinces/mb/tax/income/credits/renters_tax_credit/base_amount.yaml
Show resolved
Hide resolved
...e_canada/parameters/gov/provinces/mb/tax/income/credits/renters_tax_credit/credit_value.yaml
Show resolved
Hide resolved
...gine_canada/parameters/gov/provinces/mb/tax/income/credits/renters_tax_credit/max_value.yaml
Show resolved
Hide resolved
...canada/parameters/gov/provinces/mb/tax/income/credits/renters_tax_credit/months_in_year.yaml
Show resolved
Hide resolved
"months_living_in_rentals", period | ||
) | ||
|
||
renters_tax_credit_amount = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renters_tax_credit_amount = ( | |
return ( |
) | ||
|
||
age_eligible_credit = age_eligible * ( | ||
(p.base_amount - max_amount_allowed) / p.months_in_year |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use mask for dividing by 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we assume that 12 months have been rented - dont need this condition
Fixes #419
Tests to be done
awaits issue#418 to be approved