Revert #8911: restore OK retirement exclusion for IRC 401 employer pensions in 2021#9014
Closed
PavelMakarchuk wants to merge 2 commits into
Closed
Revert #8911: restore OK retirement exclusion for IRC 401 employer pensions in 2021#9014PavelMakarchuk wants to merge 2 commits into
PavelMakarchuk wants to merge 2 commits into
Conversation
…sions in 2021 The 2021 Form 511 Packet, page 17 — the document cited by the private_pension_qualifies parameter — lists 'An employee pension benefit plan under IRC Section 401' as the first qualifying source for Schedule 511-A line 6, word-for-word identical to the 2022 packet. The pre-2022 restriction was based on a false premise and over-taxed affected filers by $500/person x 5%. Adds a taxsim #1083 integration test verified against TaxAct and the TAXSIM-35 binary. Fixes #9009 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9014 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 18 14 -4
=========================================
- Hits 18 14 -4
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:
|
Collaborator
Author
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 #9009. Corrects #8830. Originating issue: PolicyEngine/policyengine-taxsim#1083. Related: #9005.
#8911 excluded private (IRC §401) employer pensions from
ok_pension_subtractionbefore 2022 on the premise that the 2021 Schedule 511-A line 6 instructions did not list §401 plans. The premise is false: the 2021 Form 511 Packet, page 17 (the same document cited byprivate_pension_qualifies.yaml), lists as the first qualifying source "An employee pension benefit plan under IRC Section 401" — word-for-word identical to the 2022 packet.Change: clean
git revertof 1f61736 (drops theprivate_pension_qualifiesgate and its tests, restoresmin_(p.pension_limit, pensions)per person).Test: integration test from the taxsim #1083 record (2021 OK MFJ, ages 65/68, $19,229/person private pension) — TaxAct and the TAXSIM-35 binary agree to the cent: subtraction 2 × $10,000 = $20,000,
ok_agi$61,891,ok_income_tax$2,005 (PE previously $0 / $81,891 / $3,004.57). All 16 OK income tests pass.🤖 Generated with Claude Code