-
Notifications
You must be signed in to change notification settings - Fork 201
Update Oklahoma 2025 Individual Income Tax Model #7061
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
base: main
Are you sure you want to change the base?
Conversation
Starting implementation of Oklahoma 2025 individual income tax updates. Documentation and implementation work will follow. Relates to PolicyEngine#7060 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add 2024-01-01 pension limit value of $20,000 (HB 2020) - Add 2025 Form 511-NR references to all 29 parameter files - Update 2024 references to use past-year URLs - References: 2025 Form 511-NR-Pkt, 538-H, 538-S, 511-EIC 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Tests cover: - Pension subtraction: 2024+ $20,000 limit (HB 2020) vs 2023 $10,000 limit - 2025 tax rates for all filing statuses (Single, Joint, MFS, HOH, SS) - 2025 standard deduction amounts - EITC (5% of federal) - Property tax credit ($200 max, $12,000 income limit, age 65+) - Sales tax credit ($40/exemption, income limits by category) - Child care/child tax credit (5% CTC or 20% CDCC, $100,000 limit) - Integration tests for complete tax calculation flows Addresses issue PolicyEngine#7060 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updates 29 Oklahoma income tax parameter files for 2025: - Increases pension subtraction limit from $10,000 to $20,000 (HB 2020) - Adds 2025 reference dates to all parameter files
Adds comprehensive integration tests for Oklahoma 2025 income tax updates: - 103 test cases covering all filing statuses - Tests for pension subtraction limit increase ($10,000 to $20,000) - Tests for standard deduction, exemptions, and credits - Edge cases and boundary condition tests
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7061 +/- ##
===========================================
+ Coverage 73.03% 99.28% +26.25%
===========================================
Files 3550 16 -3534
Lines 51113 280 -50833
Branches 263 1 -262
===========================================
- Hits 37328 278 -37050
+ Misses 13770 1 -13769
+ Partials 15 1 -14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Update Oklahoma income tax parameters for 2025 with current form references - Increase pension subtraction limit from $10,000 to $20,000 for 2024+ per HB 2020 - Add comprehensive 2025 test cases (103 tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Pension subtraction boundary tests (old/new limits) - Tax bracket boundary tests for all filing statuses - Credit income limit edge cases (PTC, STC, Child credits) - Special cases: zero income, high income, disabled filers - All edge cases documented with calculation comments 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Add calculation examples to all major variable docstrings - Document HB 2020 pension limit increase in ok_pension_subtraction.py - Document frozen 2020 federal EITC usage per 68 O.S. Section 2357.43 - Add step-by-step tax calculation examples - Document credit eligibility rules with examples - Add regulatory references with page numbers 🤖 Generated with [Claude Code](https://claude.com/claude-code)
These files were working artifacts not needed in the final PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
📋 PR Review Summary✅ Overall Assessment: APPROVEThis is a well-structured PR that updates Oklahoma income tax for 2025. The implementation follows PolicyEngine best practices with proper parameterization and comprehensive documentation. ✅ Strengths
🔍 Minor Observations
📊 Validation Results
📝 Test Coverage HighlightsThe PR includes excellent test cases for:
✅ RecommendationReady to merge. This is a quality implementation with proper documentation, comprehensive tests, and correct parameter updates. 🤖 Generated with Claude Code |
DTrim99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well-structured implementation of Oklahoma 2025 tax updates with proper parameterization and comprehensive test coverage. See summary comment for details. This implementation follows PolicyEngine best practices and is ready for merge.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Changed all parameter file references from Form 511-NR-Pkt (nonresident) to Form 511-Pkt (resident) with correct page numbers: - Tax tables: page 27 - Deductions/exemptions: pages 9-10 - AGI subtractions (Schedule 511-A): pages 16-17 - Credits: pages 11, 15 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
Updates the Oklahoma individual income tax implementation for tax year 2025.
Fixes #7060
Key Changes
Parameter Files to Update
Critical Value Change
pension_limit.yaml- Update to $20,000 for 2024+Reference Updates (29 files)
Status
Reference Documents
This is a draft PR. Implementation work is in progress.
🤖 Generated with Claude Code