-
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
Alberta Caregiver Amount #332
Conversation
First try PolicyEngine#331 Co-authored-by: YiweiJ <[email protected]>
Final Draft PolicyEngine#331 Co-authored-by: YiweiJ <[email protected]> Co-authored-by: 7qiwx <[email protected]>
…-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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont we need the amount for the eligible dependent as well?
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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 |
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.
find 2022 values
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.
all yaml files
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 |
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.
add pdf pages
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.
all yaml files
class live_together(Variable): | ||
value_type = bool | ||
entity = Person | ||
label = "Albert Caregiver Dependant" |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defined_for = ProvinceCode.AB |
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.
move this to the household folder
Duplicate of #487 |
First try #331
Co-authored-by: YiweiJ [email protected]