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

Arizona Long-term Capital Gains Subtraction #2994

Merged
merged 34 commits into from
Oct 4, 2023

Conversation

JudyZ13
Copy link
Collaborator

@JudyZ13 JudyZ13 commented Sep 11, 2023

Fixes #2993

🤖 Generated by Copilot at 0ba5fa4

Summary

✨📄✅

This pull request adds a new feature to the policy engine: the Arizona net capital gains subtraction. It introduces a new parameter, variable, and test cases for this feature, and updates the changelog accordingly.

New feature added
az_net_capital_gains_subtractions
Springtime for taxpayers

Walkthrough

  • Add a new feature to allow subtracting a portion of net capital gains from Arizona income tax (link, link, link, link)
  • Create a new parameter file subtraction_rate.yaml to define the rate of subtraction for different years (link)
  • Create a new variable file az_net_capital_gains_subtractions.py to implement the formula for calculating the subtractions based on the parameter and the tax unit's capital gains (link)
  • Create two test cases in az_net_capital_gains_subtractions.yaml to verify the expected output of the variable for different scenarios (link)
  • Update the changelog entry to indicate the new feature and the minor version bump (link)

@JudyZ13 JudyZ13 changed the title Add Arizona Net Capital Gains Subtractions Arizona Net Capital Gains Subtractions Sep 11, 2023
@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e0a95ba) 98.72% compared to head (ee04579) 98.72%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2994   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files        1726     1727    +1     
  Lines       25950    25963   +13     
  Branches      145      145           
=======================================
+ Hits        25618    25631   +13     
  Misses        301      301           
  Partials       31       31           
Files Coverage Δ
...al_gains/az_long_term_capital_gains_subtraction.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

JudyZ13 and others added 7 commits September 12, 2023 00:00
…/net_capital_gains/subtraction_rate.yaml

Co-authored-by: Pavel Makarchuk <[email protected]>
…/net_capital_gains/subtraction_rate.yaml

Co-authored-by: Pavel Makarchuk <[email protected]>
…/net_capital_gains/subtraction_rate.yaml

Co-authored-by: Pavel Makarchuk <[email protected]>
…net_capital_gains/az_net_capital_gains_subtractions.py

Co-authored-by: Pavel Makarchuk <[email protected]>
@JudyZ13 JudyZ13 changed the title Arizona Net Capital Gains Subtractions Arizona Net Capital Gains Subtraction Sep 13, 2023
@JudyZ13 JudyZ13 changed the title Arizona Net Capital Gains Subtraction Arizona Long-term Capital Gains Subtraction Sep 21, 2023
…net_capital_gains/az_long_term_capital_gains_subtraction.py
@PavelMakarchuk PavelMakarchuk marked this pull request as ready for review September 21, 2023 17:46
@MaxGhenis MaxGhenis merged commit 85e0e0b into PolicyEngine:master Oct 4, 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.

Arizona Long-term Capital Gains Subtraction
3 participants