-
Notifications
You must be signed in to change notification settings - Fork 201
Update Arizona 2025 Individual Income Tax Model #7112
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?
Update Arizona 2025 Individual Income Tax Model #7112
Conversation
Starting implementation of Arizona 2025 individual income tax updates. Documentation and parallel development will follow. Fixes PolicyEngine#7111 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update az_base_standard_deduction.yaml with 2025 values (Single: $15,000, Joint: $30,000, HOH: $22,500, Separate: $15,000) - Update az_increased_standard_deduction_for_charitable_contributions.yaml with 34% rate tests - Add az_529a_able_account_subtraction.yaml testing $2,000/$4,000 limits by filing status - Add az_adoption_expense_subtraction.yaml testing $40,000 cap (2025) and $5,000/$10,000 limits (2026+) - Add az_wood_stove_conversion_subtraction.yaml testing $500 cap - Add az_families_tax_rebate_subtraction.yaml for one-time rebate subtraction - Add az_income_tax_filing_required.yaml with 2025 filing thresholds - Add integration_2025.yaml for end-to-end 2025 Arizona tax calculation scenarios Tests based on 2025 Arizona Form 140 Instructions and A.R.S. 43-1022, 43-1027, 43-1041 Closes PolicyEngine#7111 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update parameters with 2025 values: - Standard deduction: Single $15,000, Joint $30,000, HOH $22,500 - Increased standard deduction rate: 34% - Add 2025 references to all tax rate and subtraction files New subtractions implemented: - az_529a_able_account_subtraction: $2,000/$4,000 cap based on filing status - az_adoption_expense_subtraction: $40,000 for 2023-2025 (reverts to $5,000/$10,000 in 2026) - az_wood_stove_conversion_subtraction: $500 maximum - az_families_tax_rebate_subtraction: Pass-through for federal taxable rebate New filing requirement variable: - az_income_tax_filing_required: Thresholds $15,750 (single), $31,500 (joint) All values parameterized with zero hard-coded numeric values. References embedded from official Arizona DOR documentation. Fixes PolicyEngine#7111 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Tests created based on documentation for Arizona 2025 income tax model update.
Variables and parameters for Arizona 2025 income tax model update.
- Add 2025 standard deductions ($15,750 single/$31,500 joint/$23,625 HOH) - Update Arizona income tax parameters with 2025 references - Add comprehensive 2025 integration tests - Update charitable contribution, capital gains, family tax credit, dependent credit, and exemption parameters Closes PolicyEngine#7111 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7112 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 6 -4
Lines 144 69 -75
=========================================
- Hits 144 69 -75
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:
|
PR Review: Arizona 2025 Income Tax Model UpdateOverall Assessment: APPROVE with minor suggestionsThis PR correctly implements Arizona 2025 income tax updates including standard deduction increases, charitable contribution rate updates, new subtractions, and filing requirement thresholds. The implementation is well-structured and properly wired into the existing Arizona tax model. What's Working Well
Should Address
# policyengine_us/variables/gov/states/az/tax/income/az_income_tax_filing_required.py:8
unit = USD # Should be removed - this is a bool variable
Suggestions (Non-blocking)
Validation Summary
Next Steps
Generated with Claude Code |
- Remove `unit = USD` from boolean variable az_income_tax_filing_required.py - Remove 6 duplicate filing requirement tests from integration_2025.yaml (already in dedicated test file) - Remove 3 redundant passthrough tests from az_families_tax_rebate_subtraction.yaml - Renumber integration test sections after removal 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fixes AppliedIssues Fixed
Verification
Summary
Total test reduction: 9 duplicate/redundant tests removed Ready for re-review. |
PavelMakarchuk
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.
High level notes
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.
We dont model the filing requirements, I dont think it is in the legal code but a combination of deductions and exemptions etc.
Please remove
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.
Remove
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.
I think this is cluttering the model, we dont have relevant data
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.
Do we not model the rebate itself?
| p = parameters(period).gov.states.az.tax.income.subtractions.adoption | ||
|
|
||
| filing_status = tax_unit("az_filing_status", period) | ||
| expenses = tax_unit("az_adoption_expenses", period) |
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.
If we want to model this, this should be a federal input
…ction, make adoption expenses federal Per reviewer feedback: - Remove az_income_tax_filing_required variable and filing_requirement parameter - Remove az_wood_stove_conversion_subtraction (no relevant data) - Convert az_adoption_expenses to federal qualified_adoption_expenses input - Keep az_families_tax_rebate_subtraction (subtraction is needed for tax filings) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Review Feedback AddressedChanges Made
Details
Files ChangedDeleted:
Added:
Modified:
Verification
Question for ReviewerRegarding Arizona Families Tax Rebate: I kept the subtraction because it serves a legitimate purpose - users who received the 2023/2024 rebate need to subtract it from Arizona taxable income (federally taxable but AZ-exempt). Should this also be removed, or is the current approach acceptable? Ready for re-review. |
Summary
Update the Arizona income tax model for tax year 2025, including parameter value updates, 2025 references for all parameters, and implementation of new modelable programs.
Fixes #7111
Changes
Parameter Value Updates
2025 Reference Updates
New Programs (Planned)
Status
Test Plan
make formatpassesmake testpassesPrimary Source
2025 Arizona Form 140 Instructions
This is a draft PR created for early visibility. Implementation work is in progress.