Conversation
First try PolicyEngine#331 Co-authored-by: YiweiJ <YiweiJ@users.noreply.github.com>
Final Draft PolicyEngine#331 Co-authored-by: YiweiJ <YiweiJ@users.noreply.github.com> Co-authored-by: 7qiwx <7qiwx@users.noreply.github.com>
…-canada into Kenyaokun/issue331
|
I actually run several times make format, but the Lint would not pass, not sure why it does not work @MaxGhenis @PavelMakarchuk |
|
Try |
|
Cool, it works! |
...ers/gov/provinces/ab/tax/income/credits/credits_return/lower_dependant_income_threshold.yaml
Outdated
Show resolved
Hide resolved
...ada/parameters/gov/provinces/ab/tax/income/credits/credits_return/lower_age_eligibility.yaml
Show resolved
Hide resolved
...ers/gov/provinces/ab/tax/income/credits/credits_return/lower_dependant_income_threshold.yaml
Outdated
Show resolved
Hide resolved
| dependant_net_income <= p.upper_dependant_income_threshold | ||
| ) | ||
|
|
||
| caregiver_amount = ( |
There was a problem hiding this comment.
dont we need the amount for the eligible dependent as well?
There was a problem hiding this comment.
I think we don't need the amount for the eligible dependants: https://www.canada.ca/en/revenue-agency/services/forms-publications/tax-packages-years/general-income-tax-benefit-package/alberta/5009-pc/information-residents-alberta.html The website mentioend that "If you and another person support the same dependant, you can split the claim for that dependant. However, the total amount of your claim and the other person's claim cannot be more than the maximum amount allowed for that dependant." I think why we should include the maxmium amount.
policyengine_canada/variables/household/person/is_parent_or_grandparent.py
Outdated
Show resolved
Hide resolved
…-canada into Kenyaokun/issue331
| - bump: minor | ||
| changes: | ||
| added: | ||
| - Alberta Caregiver Amount. |
There was a problem hiding this comment.
| - Alberta Caregiver Amount. | |
| - Alberta caregiver amount. |
| @@ -0,0 +1,11 @@ | |||
| description: Alberta limits its Child and Family Benefit to people above this age. | |||
| values: | |||
| 2023-01-01: 18 | |||
| label: Alberta child and Family Benefit adult dependant age eligibility | ||
| reference: | ||
| - title: Province of Alberta - Alberta Child and Family Benefit | ||
| href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf |
| class live_together(Variable): | ||
| value_type = bool | ||
| entity = Person | ||
| label = "Albert Caregiver Dependant" |
There was a problem hiding this comment.
| label = "Albert Caregiver Dependant" | |
| label = "Dependant living with the head of household" |
| from policyengine_canada.model_api import * | ||
|
|
||
|
|
||
| class live_together(Variable): |
There was a problem hiding this comment.
| class live_together(Variable): | |
| class cohabitating_dependant(Variable): |
| documentation = "Whthere your spouse's or common-law partner's dependant lives with you or not." | ||
| definition_period = YEAR | ||
| reference = "chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf" | ||
| defined_for = ProvinceCode.AB |
There was a problem hiding this comment.
| defined_for = ProvinceCode.AB |
There was a problem hiding this comment.
move this to the household folder
|
Duplicate of #487 |
First try #331
Co-authored-by: YiweiJ YiweiJ@users.noreply.github.com