-
Notifications
You must be signed in to change notification settings - Fork 186
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
Alabama federal income tax deduction #3264
Alabama federal income tax deduction #3264
Conversation
policyengine_us/variables/gov/states/al/tax/income/deductions/al_federal_tax_deduction.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3264 +/- ##
=======================================
Coverage 99.05% 99.05%
=======================================
Files 1887 1887
Lines 27687 27689 +2
Branches 162 162
=======================================
+ Hits 27426 27428 +2
Misses 224 224
Partials 37 37 ☔ View full report in Codecov by Sentry. |
...e_us/tests/policy/baseline/gov/states/al/tax/income/deductions/al_federal_tax_deduction.yaml
Outdated
Show resolved
Hide resolved
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.
please make these two policy parameters listing the countable tax sources and credits. also add legal code references
policyengine_us/variables/gov/states/al/tax/income/deductions/al_federal_tax_deduction.py
Outdated
Show resolved
Hide resolved
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 parameters into federal_tax
subfolder
mention the federal tax deduction in labels and descriptions
add the deduction to the parameter list of deductions
...yengine_us/parameters/gov/states/al/tax/income/deductions/federal_tax/countable_sources.yaml
Outdated
Show resolved
Hide resolved
...yengine_us/parameters/gov/states/al/tax/income/deductions/federal_tax/countable_sources.yaml
Show resolved
Hide resolved
policyengine_us/variables/gov/states/al/tax/income/deductions/al_deductions.py
Outdated
Show resolved
Hide resolved
Addressed the Comments
Fixes #3252
🤖 Generated by Copilot at 42776f7
Summary
📝🧪🚀
This pull request adds a new feature to the policy engine: the Alabama federal income tax deduction. It updates the changelog, implements the formula for the deduction variable, and adds unit tests for the feature.
Walkthrough
al_federal_tax_deduction
variable as the difference between federal income tax and Alabama tax credits, with a lower bound of zero (link)al_federal_tax_deduction
variable inpolicyengine_us/tests/policy/baseline/gov/states/al/tax/income/deductions/al_federal_tax_deduction.yaml
, covering different scenarios of income tax, net investment income tax, and federal tax credits (link)