Apply MT taxable Social Security base amounts once per return (#9011)#9018
Open
PavelMakarchuk wants to merge 1 commit into
Open
Apply MT taxable Social Security base amounts once per return (#9011)#9018PavelMakarchuk wants to merge 1 commit into
PavelMakarchuk wants to merge 1 commit into
Conversation
mt_taxable_social_security ran the 2021-2023 Form 2 Taxable Social Security Benefits Schedule per person but took the line 10/12 base amounts by tax-unit filing status, so a married-joint couple got $32,000/$12,000 each ($64,000/$24,000 combined) and the separate-on-same-form columns never got their $16,000/$6,000 amounts. Now the person-level variable (separate columns) uses the half-of-joint base amounts, and a new mt_taxable_social_security_joint runs the schedule once on combined income with the full joint base amounts for the single-column joint path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9018 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 3 +2
Lines 18 92 +74
Branches 0 1 +1
=========================================
+ Hits 18 92 +74
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9011.
Problem
mt_taxable_social_securityruns the 2021–2023 Form 2 Taxable Social Security Benefits Schedule per person but took the line 10/12 base amounts by tax-unit filing status. So a married-joint couple got $32,000/$12,000 each ($64,000/$24,000 combined) instead of once, and the married-filing-separately-on-same-form columns never got their $16,000/$6,000 amounts.2021 Form 2, page 6:
This understated Montana taxable SS for essentially every married unit with benefits in 2021–2023. On taxsim #1078, TaxAct (status 2a columns) reports 34,166 + 20,539 = 54,705; PolicyEngine reported 23,337 + 5,318 = 28,655.
Fix
mt_taxable_social_security(used by the separate-on-same-form path,mt_agi_indiv) now maps joint filers to the married-filing-separately half-of-joint base amounts ($16,000/$6,000) so each spouse's column is computed once at the half amount.mt_taxable_social_security_joint(tax-unit) runs the schedule once on combined income with the full joint base amounts ($32,000/$12,000), andmt_agi_jointnow consumes it instead of summing the per-person result. This keeps the true single-column joint computation correct.Tests
mt_taxable_social_security_joint) to document both paths.mt_taxable_social_security: [34_166, 20_539](matches TaxAct status 2a columns).🤖 Generated with Claude Code