Seven states' tax formulas treat another state's public pension as an in-state or federal pension
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start by reading taxable_public_pension_income.py, the state formulas and tests linked in the issue, and the related issues #9511, #9512, #9545, and #9551. The change needs a new input identifying the paying government and state codes for reciprocity, then updates across seven state formulas. Done means the listed states follow their pension rules while federal AGI, own-state and federal pensions, and Missouri and Alabama results remain unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
taxable_public_pension_income records how much a government pension pays, but not which government pays it. Seven states' formulas subtract it as if the filer's own state or the federal government paid it. New York, Louisiana and Kansas say so in code comments, and New York's reads "PolicyEngine subtracts taxable_public_pension_income as an in-state/federal proxy" (sources.yaml). New York, Louisiana, Kansas and Arizona give a pension from another state's public plan less than the model does. Massachusetts, Michigan and Minnesota give it the full treatment only when the paying state meets a reciprocity test. So the model can compute too little state tax for a retiree who moved after a public career elsewhere.
The seven states
| State | Model at main | Another state's public pension under the law |
|---|---|---|
| New York | Subtracts all of it on IT-201 line 26; the line 29 exclusion leaves public pensions out | Line 29 only: up to $20,000 per person from age 59½ (IT-201-I 2025, lines 26 and 29) |
| Louisiana | Exempts all of it; the 06E exemption reads private pensions only | 06E only: up to $12,000 in 2025, from age 65; codes 02E to 05E cover the Louisiana state employees' and teachers' systems, federal systems, and systems "specifically exempted by law from Louisiana income tax" (IT-540i 2025, Schedule E) |
| Kansas | Subtracts all of it | No subtraction; the law names federal and Kansas plans (K.S.A. 79-32,117(c), Schedule S line A14) |
| Massachusetts | Deducts all of it from gross income | The exclusion covers contributory plans of "the United States government or the commonwealth or any political subdivision thereof" (c. 62, § 2(a)(2)(E)); the Department of Revenue lets a resident deduct another state's plan only if that state exempts or deducts Massachusetts public pensions or "has no income tax" (DOR guidance) |
| Arizona | Subtracts up to $2,500 | No subtraction; the $2,500 covers federal plans and Arizona state, county, city and town plans (A.R.S. 43-1022(2)) |
| Michigan | Tier one, for filers born before 1946, deducts all of it with no cap | Uncapped only if the paying state reciprocates; otherwise it shares the private-pension cap (MCL 206.30(1)(f)(ii) and (iv), (9)(a)) |
| Minnesota | Subtracts it up to the cap | Qualifies only if the paying state reciprocates (Minn. Stat. 290.0132, subd. 34(c)(4)) |
Missouri and Alabama give another state's public pension the same treatment as their own. Missouri's § 143.124 covers pensions "provided by the United States, this state, any other state or any political subdivision". Alabama's Form 40 booklet does not tax any defined benefit "retirement plan in accordance with IRC 414(j)". The model's Missouri and Alabama formulas already give that result.
A New York example
A single 67-year-old New York resident outside New York City and Yonkers draws a $50,000 pension from another state's public retirement system in 2026 and has no other income.
The model subtracts the full $50,000, so New York AGI and tax both come to $0.
The 2025 IT-201-I gives nothing on line 26 and $20,000 on line 29, for pension income "not from a New York State or local government pension plan or federal government pension plan". The model carries the same $20,000 cap and age 59½ into 2026. New York AGI comes to $30,000, and after the $8,000 standard deduction, taxable income comes to $22,000. The model's 2026 single rates give:
| Bracket | Amount | Rate | Tax |
|---|---|---|---|
| $0 to $8,500 | $8,500 | 3.9% | $331.50 |
| $8,500 to $11,700 | $3,200 | 4.4% | $140.80 |
| $11,700 to $13,900 | $2,200 | 5.15% | $113.30 |
| $13,900 to $22,000 | $8,100 | 5.4% | $437.40 |
| Total | $1,023.00 |
The household credit pays nothing to a single filer with $50,000 of federal AGI, so the model's New York tax falls short of the law's by $1,023.
Entering the pension as taxable_private_pension_income reproduces New York's line 29 result. A Missouri or Alabama resident would then lose the treatment those states give any state's public plan, and so would a Massachusetts or Minnesota resident paid by a reciprocating state. No current input fits every state.
What a fix needs
The model needs an input that names who pays each public pension: the filer's own state, the federal government, or another state. The Massachusetts, Michigan and Minnesota reciprocity tests also need the paying state's code. Each state would then subtract own-state and federal amounts as it does now and send other-state amounts through its general pension rules, such as New York's line 29 and Louisiana's 06E. Indiana and West Virginia already read a separate taxable_federal_pension_income input, which #9551 reports never reaches federal AGI.
The fix should leave federal AGI, own-state and federal pensions, and the Missouri and Alabama results unchanged.
Related: #9511, #9512, #9545, #9551
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 178
- Fork
- 224
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 309
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/policyengine-us
-
Secondary earnings threshold description names a stale 2035 capCó thể đã có người làm @Prabh022 đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
PolicyEngine/policyengine-us#11252 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PolicyEngine/policyengine-us#11201 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testCó thể đã có người làm @DTrim99 đã nhận 4 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
PolicyEngine/policyengine-us#11199 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine-us#11192 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
PolicyEngine/policyengine-us#11084 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-us
Issue tương tự
-
S2-12 Atualizar README.mdĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
cofade/open-garden-planner#1044 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
python-commandline-toolsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
codecrafters-io/build-your-own-x#2126 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
julianleno/cortai#10 ·
-
difficulty:easy func:python os:windows prio:high type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NatronGitHub/Natron#2029 ·
Maintainer thường phản hồi trong vòng 1 ngày