-
Notifications
You must be signed in to change notification settings - Fork 183
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
Decouple California CDCC calculation from ARPA in 2021 #3224
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/ca_cdcc_rate.yaml
Outdated
Show resolved
Hide resolved
...ine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/ca_cdcc_relevant_expenses.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc_rate.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc_relevant_expenses.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_cdcc.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_cdcc.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc_rate.py
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_cdcc.py
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_cdcc.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_cdcc.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3224 +/- ##
=======================================
Coverage 99.02% 99.02%
=======================================
Files 1835 1839 +4
Lines 27028 27100 +72
Branches 158 160 +2
=======================================
+ Hits 26765 26837 +72
Misses 225 225
Partials 38 38 ☔ View full report in Codecov by Sentry. |
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_cdcc.py
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_capped_cdcc.py
Outdated
Show resolved
Hide resolved
…federal_capped_cdcc.py
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc.py
Outdated
Show resolved
Hide resolved
…cyengine-us into LeqiGogo/issue2060
policyengine_us/variables/gov/states/ca/tax/income/credits/ca_federal_capped_cdcc.py
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ca/tax/income/credits/child_dependent_care/input.yaml
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ca/tax/income/credits/child_dependent_care/input.yaml
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ca/tax/income/credits/child_dependent_care/input.yaml
Outdated
Show resolved
Hide resolved
PavelMakarchuk
approved these changes
Nov 15, 2023
MaxGhenis
approved these changes
Nov 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2060
🤖 Generated by Copilot at f60001c
Summary
👶💰📆
This pull request adds the
ca_federal_cdcc
variable and its components, which compute the California Child and Dependent Care Expenses Credit for tax units. It also adds test cases for the new variables in thepolicyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits
folder. This credit is part of the California state income tax system.Walkthrough
ca_cdcc_rate
variable to calculate the California Child and Dependent Care Expenses Credit rate based on AGI (link)ca_cdcc_rate
with different AGI levels in 2019 and 2021 (policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/ca_cdcc_rate.yaml
, link)ca_cdcc_relevant_expenses
variable to calculate the relevant care expenses for the California CDCC credit (link)ca_cdcc_relevant_expenses
with different childcare expenses, number of care receivers, and minimum earnings in 2019 and 2021 (policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/ca_cdcc_relevant_expenses.yaml
, link)ca_federal_cdcc
variable to calculate the amount of the California CDCC credit by multiplying the relevant expenses by the rate (link)