Skip to content

Revert #8911: restore OK retirement subtraction for IRC 401 pensions pre-2022 (#9009)#9016

Open
PavelMakarchuk wants to merge 1 commit into
mainfrom
revert-ok-401-pension-9009
Open

Revert #8911: restore OK retirement subtraction for IRC 401 pensions pre-2022 (#9009)#9016
PavelMakarchuk wants to merge 1 commit into
mainfrom
revert-ok-401-pension-9009

Conversation

@PavelMakarchuk

Copy link
Copy Markdown
Collaborator

Fixes #9009. Reverts #8911 (which addressed #8830).

Problem

#8911 excluded private (IRC §401) employer pensions from ok_pension_subtraction before 2022, on the premise that the 2021 Schedule 511-A line 6 instructions did not list §401 plans. That premise is false. The 2021 Form 511 Packet, page 17 — the same document cited by private_pension_qualifies.yaml — lists as the first qualifying source "An employee pension benefit plan under IRC Section 401". The 2022 packet's line-6 text is word-for-word identical; §401 was not added in 2022.

Effect on the originating taxsim record (2021 MFJ, pensions $38,458): PolicyEngine returned ok_pension_subtraction = $0 (should be 2 × $10,000 = $20,000) and overstated ok_income_tax by a flat $1,000 (5% × $20,000) for any pre-2022 MFJ record with ≥$10k/person private pension.

Fix

Reverts #8911: drops the private_pension_qualifies gate and restores min_(p.pension_limit, pensions) per person.

Tests

🤖 Generated with Claude Code

…pre-2022 (#9009)

The 2021 Form 511 Packet (page 17) lists 'An employee pension benefit plan
under IRC Section 401' as the first qualifying Schedule 511-A line 6 source,
and the 2022 packet's line-6 text is word-for-word identical. #8911's premise
that section 401 plans were added in 2022 was false, so it overstated pre-2022
OK income tax by 5% x $20,000 = $1,000 for MFJ records with >=$10k/person
private pension. Reverts the private_pension_qualifies gate and restores
min_(p.pension_limit, pensions) per person.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ff39625) to head (82133f8).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #9016   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           18        14    -4     
=========================================
- Hits            18        14    -4     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Revert #8911: 2021 OK Schedule 511-A line 6 instructions DO list IRC §401 employer pensions as qualifying for the $10,000 retirement exclusion

1 participant