Fix AZ property tax credit table selection for married couples#8874
Open
PavelMakarchuk wants to merge 1 commit into
Open
Fix AZ property tax credit table selection for married couples#8874PavelMakarchuk wants to merge 1 commit into
PavelMakarchuk wants to merge 1 commit into
Conversation
az_property_tax_credit selected the Table 1 (living-alone) schedule for married couples because it relied on cohabitating_spouses, a no-formula input defaulting to False. Per ARS 43-1072(A)(3)/(B)(2) and the 2025 Form 140PTC, a claimant who lived with a spouse uses the Table 2 (cohabitating) schedule. Now treat the tax unit as cohabitating when married, without changing the global cohabitating_spouses default (which feeds Social Security taxability, Medicaid, and NJ property tax). Before: AZ MFJ both 75, $3,638 income -> $78. After: $323. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8874 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 1 -2
Lines 55 16 -39
=========================================
- Hits 55 16 -39
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
az_property_tax_credit(Form 140PTC) selected the Table 1 (living-alone) schedule for married couples, roughly quartering the credit. It relied oncohabitating_spouses, a no-formula input defaulting toFalse, so a married-filing-jointly couple living together was treated as not cohabitating.Per ARS §43-1072(A)(3), a claimant who "lived with a spouse or one or more persons" uses the Table 2 schedule (§43-1072(B)(2)); only a claimant who "did not live with a spouse or any other persons" uses Table 1. A married couple living together falls under Table 2.
Fix
Treat the tax unit as cohabitating when it is married (
tax_unit_married), in addition to the existingcohabitating_spousesflag. This is a local fix inaz_property_tax_creditrather than changing the globalcohabitating_spousesdefault, which also feeds Social Security taxability, Medicaid household size/income, and the NJ property tax credit.Impact
AZ MFJ, both age 75, $3,638 household income, $9,059 rent, TY2025:
az_property_tax_credit$323 matches the ARS §43-1072(B)(2) table (household income $3,551–3,700 → $323), PE's own Table 2 parameter, and the reporter's filled 2025 Form 140PTC.
Tests
Added the issue's integration test to
az_property_tax_credit.yaml. Full AZ baseline sweep: 468 passed.Originating TAXSIM comparison: PolicyEngine/policyengine-taxsim#983
Fixes #8649
🤖 Generated with Claude Code