policyengine-us icon indicating copy to clipboard operation
policyengine-us copied to clipboard

Add 2023 Montana Tax Rules

Open xianxinzhu opened this issue 1 year ago • 4 comments

Fixes #4187

xianxinzhu avatar Apr 09 '24 05:04 xianxinzhu

Could you add the changes to the issue as you go through

PavelMakarchuk avatar Apr 09 '24 16:04 PavelMakarchuk

  • Add 2023 Form 2 references for the unchanged parameters.
  • Update the net long-term capital gain tax rate.

xianxinzhu avatar Apr 09 '24 17:04 xianxinzhu

For the capital gains tax:

  • exclude the credit from the income tree for the year where it is repealed

  • create a mt_capital_gains_tax (probably need an _indiv and _joint)

  • add the value of this new variable to the mt_income_tax_before_non_refundable_credits (_indiv and _joint)

  • in the income for the variable above, exclude capital gains from the income line: income = person("mt_taxable_income_indiv", period)

Make a bool parameter stating that capital gains should be taxed separately

PavelMakarchuk avatar Apr 09 '24 17:04 PavelMakarchuk

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.17%. Comparing base (70fbb46) to head (5b7297f). Report is 8 commits behind head on master.

:exclamation: Current head 5b7297f differs from pull request most recent head e661fc1

Please upload reports for the commit e661fc1 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4352      +/-   ##
==========================================
+ Coverage   98.99%   99.17%   +0.17%     
==========================================
  Files        2454     2427      -27     
  Lines       35679    35185     -494     
  Branches      184      177       -7     
==========================================
- Hits        35322    34893     -429     
+ Misses        327      262      -65     
  Partials       30       30              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 26 '24 02:04 codecov[bot]

tests failing

MaxGhenis avatar Jul 25 '24 04:07 MaxGhenis

tests failing

Old tests, removed,

PavelMakarchuk avatar Jul 25 '24 10:07 PavelMakarchuk