Repository navigation
Index the Arizona standard deduction under A.R.S. 43-1041(H) - #9928
Merged
Merged
Conversation
The Arizona standard deduction's uprating sat on the parent parameter node. policyengine-core uprates only parameters whose own metadata names an uprating and the parent did not propagate its metadata, so every filing-status amount stayed at its 2025 value in 2026 and later. Laws 2026, ch. 140 (HB 4168) set the 43-1041(A) amounts to the federal 2025 amounts ($15,750 / $23,625 / $31,500), "subject to subsection H", and 43-1041(H) indexes them "in the same manner in which the federal basic standard deduction is adjusted for inflation pursuant to section 63". Add the 2026 amounts from Rev. Proc. 2025-32 sec. 4.14(1) ($16,100 single and separate, $24,150 head of household, $32,200 joint) and move the uprating, with section 63's round-down to $50, onto each amount. Tests: 2026 base amounts for every filing status, a scenario_018-shaped single filer (PolicyBench reference audit 2026-10-05), the HB 4168 2026 head-of-household case updated to the indexed amount, and a parameter invariant that the Arizona amounts equal the federal ones from 2025 to 2035 and follow the $50 round-down. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of #9928: projecting the joint amount on its own with a $50 round-down can break the federal method's rule that the joint amount is twice the single amount (26 U.S.C. 63(c)(2)(A)); with the current index 2027 would give $33,150 against 2 x $16,550. The 2026 joint amount is twice the single amount, so a $100 round-down of the joint amount equals twice the single amount's $50 round-down in every later year. The invariant now checks single, separate and head of household against the federal amounts and the $50 round-down of the model's projection, and checks joint = 2 x single for 2025 to 2035. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Handing off to the US + core hub.
Nothing is pending from the opening session. |
Contributor
Author
|
US + core hub merge audit, us#9928 at
|
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.
Summary
policyengine-us left the Arizona standard deduction at its 2025 amounts ($15,750 single) in 2026 and every later year. This PR indexes it under A.R.S. 43-1041(H).
The law
The Arizona and federal 2025 amounts are equal and the method is the same, so the 2026 Arizona amounts equal the federal ones. Joint is $32,200, the federal-match amount (200% of single under 63(c)(2)(A)); ADOR published federal-equal joint amounts in every year from 2021 to 2025.
The defect
gov.states.az.tax.income.deductions.standard.amountcarrieduprating: gov.irs.upratingon its parent node, with a comment that it "remains inactive pending selective propagation in PolicyEngine/policyengine-core#537". policyengine-core uprates onlyParameterleaves whose own metadata names an uprating, and the parent does not setpropagate_metadata_to_children, so no filing-status amount was ever indexed after its last listed value (2025).The fix
Invariants
floor_50(amount_2026 × uprating(year) / uprating(2026)), an independent recomputation of the round-down.These are exhaustive over the 4 statuses × 11 years, in
policyengine_us/tests/core/test_state_uprating_rounding.py::test_az_standard_deduction_is_indexed_like_the_federal_basic_amount(fails onmainwith15750 == 16100,23625 == 24150and31500 == 32200).Tests
az_base_standard_deduction.yaml: 2026 amounts for all four filing statuses (4 cases, all fail onmain).integration.yaml: a scenario_018-shaped single filer in 2026: AZ AGI $61,592, standard deduction $16,100, taxable income $45,492, tax $1,137.30 (fails onmainwith $15,750).integration.yaml, "HB 4168 (2026) combined effect": the head-of-household case had encoded the unindexed $23,625. It now expects $24,150 + $1,000 = $25,150, taxable income $52,050, tax $1,301.25 and $1,176.25 after the $125 dependent credit.Local runs: the AZ deduction and integration tests (88 passed), the remaining AZ tax, credit and contrib tests (265 passed), and the new invariant (4 passed).
Evidence
PolicyBench reference audit, scenario_018 ×
state_income_tax_before_refundable_credits: the reference was $1,146.05 (standard deduction $15,750) and the law gives $1,137.30.PolicyEngine/policybench-wt/reference-adversary/reference_audit/2026-10-05-reference-adversary/verification/independent/az_018.md.../reference_audit/2026-10-05-reference-adversary/runs/claude/cases/us__scenario_018__state_income_tax_before_refundable_credits/Impact
Raises the Arizona standard deduction in 2026 by $350 (single and separate), $525 (head of household) or $700 (joint), and keeps it indexed from 2027 on. Arizona taxable income and tax fall for standard-deduction filers. The rate is 2.5%, so the 2026 tax change is at most $17.50 per return.
axiom: A.R.S. 43-1041(A),(H) queued: rulespec-us
us-az/statutes/43-1041.yamlstill encodes the pre-HB 4168 amounts ($12,200 / $18,350 / $24,400) and defers the subsection H indexing; thepe-parityissue link is added here before merge.🤖 Generated with Claude Code