-
Notifications
You must be signed in to change notification settings - Fork 201
Implement Arizona TANF (cash assistance) program #7150
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7150 +/- ##
============================================
+ Coverage 72.11% 100.00% +27.88%
============================================
Files 3794 11 -3783
Lines 54662 163 -54499
Branches 275 0 -275
============================================
- Hits 39418 163 -39255
+ Misses 15228 0 -15228
+ Partials 16 0 -16
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:
|
…into hua7450/issue7149
Add individual test files for each Iowa FIP variable following the Arizona TANF pattern from PR PolicyEngine#7150: - ia_fip_eligible.yaml (8 tests) - ia_fip_income_eligible.yaml (8 tests) - ia_fip_payment_standard.yaml (8 tests) - ia_fip_standard_of_need.yaml (8 tests) - ia_fip_countable_income.yaml (8 tests) - ia_fip_gross_income.yaml (6 tests) - ia_fip_gross_earned_income.yaml (7 tests) - ia_fip_gross_unearned_income.yaml (10 tests) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PR Review - Arizona TANF Implementation🔴 Critical Issues (Must Fix Before Merge)1. Reference Corroboration: 100% FPL Limit Source MissingFile:
2. Reference Section Mismatch: Wrong Subsection CitedFile:
3. Period Access Error in FormulaFile:
🟡 Should Address1. Third-Party Reference SourceFile:
2. Reference Format - Vague SubsectionsFiles:
3. Missing Boundary Tests
4. Missing Integration Test Scenarios
🟢 Suggestions
✅ What's Implemented Correctly
Validation Summary
Documented Limitations (Acknowledged)The PR correctly documents these as NOT implemented:
Test Coverage: 75 Tests Passing
Next StepsTo auto-fix code issues: Or address manually:
🤖 Generated with Claude Code - Complete Review Plugin |
|
@hua7450 please take a look at the missing 100% fpl reference |
…into hua7450/issue7149
Can't find it in Statues, but its in both state plan and official website of Arizona TANF |
Summary
Implements Arizona Cash Assistance (TANF) program.
Closes #7149
Closes #6719
Regulatory Authority
1. Income Eligibility Tests
Needy Family Test
Source: 2023 Arizona TANF State Plan, Page 18
Payment Standard Test
After passing the Needy Family test, countable income must also be at or below the applicable Payment Standard (A1 or A2).
2. Income Deductions & Exemptions
Earned Income Disregards
Source: 2023 Arizona TANF State Plan, Page 18
Dependent Care Expense Deduction
Source: A.R.S. § 46-292
3. Payment Standards
Arizona payment standards are calculated as a percentage of the 1992 Federal Poverty Guidelines:
Per A.R.S. § 46-207: "the department shall reduce the federal poverty level used in its calculation of payments by thirty-seven per cent if the person is not paying, or is not obligated to pay, shelter costs"
Payment Standard by Family Size (Current - Post Dec 2023)
Historical Benefit Reduction (2009-2023)
Arizona implemented a 20% benefit cut during the Great Recession (July 2009 - November 2023), reducing the payment standard rate from 36% to 28.8%.
Sources:
4. Resource Limit
Source: 2023 Arizona TANF State Plan, Page 20
5. Benefit Calculation
Formula
Countable Income Calculation
Example (Family of 3, with shelter, $400 earned income)
6. Not Implemented
The following program rules are documented but not implemented in this PR:
40% Self-Employment Income Standard Deduction
Per 2023 Arizona TANF State Plan, Page 18-19:
This deduction applies before the $90 flat and 30% percentage disregards. Without this, benefits for self-employed recipients may be underestimated.
Disabled Adult Dependent Care Deduction
The State Plan mentions care expenses for disabled adults at $175/month, but only child care deductions are implemented.
Files Changed
Parameters (7 files)
Variables (11 files)
az_tanf.py- Main benefit calculationaz_tanf_eligible.py- Overall eligibilityaz_tanf_eligible_child.py- Child eligibilityaz_tanf_income_eligible.py- Income eligibilityaz_tanf_resources_eligible.py- Resource eligibilityaz_tanf_fpg_rate.py- FPG rate selector (100%/130%)az_tanf_fpg_baseline.py- 1992 FPG baseline calculatoraz_tanf_payment_standard.py- Payment standard (A1/A2)az_tanf_countable_income.py- Total countable incomeaz_tanf_countable_earned_income.py- Countable earned incomeaz_tanf_earned_income_after_disregard_person.py- Per-person earned income after disregardsaz_tanf_dependent_care_deduction.py- Dependent care deductionTests (12 files)
🤖 Generated with Claude Code