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

Allocate the Montana deductions and exemptions optimally to the head and spouse if filing separately #3886

Merged
merged 11 commits into from
Feb 18, 2024

Conversation

PavelMakarchuk
Copy link
Collaborator

@PavelMakarchuk PavelMakarchuk commented Feb 14, 2024

Fixes #3885

@PavelMakarchuk PavelMakarchuk marked this pull request as ready for review February 16, 2024 22:46
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9058620) 99.11% compared to head (80df71a) 99.11%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3886   +/-   ##
=======================================
  Coverage   99.11%   99.11%           
=======================================
  Files        2296     2299    +3     
  Lines       33349    33399   +50     
  Branches      165      165           
=======================================
+ Hits        33053    33103   +50     
  Misses        263      263           
  Partials       33       33           

☔ 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.

Add two more variables:

  • mt_tax_unit_deductions_exemptions_indiv: Total deductions and exemptions to be allocated between head and spouse under individual filing
  • mt_head_deductions_exemptions_indiv: Dollar value of deductions and exemptions allocated to the head under individual filing

Then this main formula does simple subtraction based on if the person is head or spouse.

@MaxGhenis MaxGhenis merged commit 4eb0c9e into master Feb 18, 2024
5 of 6 checks passed
@MaxGhenis MaxGhenis deleted the mt_integration_1 branch February 18, 2024 19:51
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.

Allocate the Montana deductions and exemptions optimally to the head and spouse if filing separately
2 participants