Skip to content
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

Merged
merged 17 commits into from
Dec 1, 2023

Conversation

ThapeloMasasa
Copy link
Contributor

@ThapeloMasasa ThapeloMasasa commented Nov 13, 2023

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.

deduction added
Alabama tax feature
autumn leaves fall fast

Walkthrough

  • Bump minor version and add changelog entry for Alabama federal income tax deduction feature (link)
  • Implement al_federal_tax_deduction variable as the difference between federal income tax and Alabama tax credits, with a lower bound of zero (link)
  • Add unit tests for al_federal_tax_deduction variable in policyengine_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)

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8a31c28) 99.05% compared to head (6709fa3) 99.05%.

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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@MaxGhenis MaxGhenis left a 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

Copy link
Contributor

@MaxGhenis MaxGhenis left a 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

@MaxGhenis MaxGhenis merged commit c878828 into PolicyEngine:master Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alabama federal income tax deduction
3 participants