Skip to content

Conversation

@llennemann
Copy link
Collaborator

Summary

Work in progress implementation of Iowa TANF (Family Investment Program).

Closes #7163

Status

  • Documentation collected
  • Parameters created
  • Variables implemented
  • Tests written
  • CI passing

This is a draft PR created automatically. Implementation work is in progress.

llennemann and others added 12 commits January 14, 2026 17:25
Starting implementation of Iowa TANF (Family Investment Program).
Documentation and parallel development will follow.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add Schedule of Living Costs for Iowa FIP (Family Investment Program):
- Main parameter with family sizes 1-10
- Additional amount for families larger than 10

Per 441 IAC 41.28(239B), effective 7/1/2025.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add Schedule of Basic Needs for Iowa FIP:
- Main parameter with family sizes 1-10
- Additional amount for families larger than 10

Per 441 IAC 41.28(239B), effective 7/1/2025.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add FIP income parameters:
- 20% earned income deduction rate
- 58% work incentive disregard rate
- 185% gross income limit (percent of standard of need)

Per 441 IAC 41.27(239B), effective 7/1/2025.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add FIP resource limits:
- Applicant families: $2,000
- Recipient families: $5,000

Per 441 IAC 41.26(239B).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add FIP variables:
- ia_tanf_standard_of_need: Schedule of Living Costs by family size
- ia_tanf_payment_standard: Schedule of Basic Needs by family size
- ia_tanf_eligible: Overall eligibility combining demographic and income tests

Per 441 IAC 41.27(239B) and 41.28(239B).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add FIP income test variables:
- ia_tanf_income_eligible: Combined income eligibility
- ia_tanf_gross_income_eligible: Test 1 (185% of standard of need)
- ia_tanf_net_income_eligible: Test 2 (after 20% deduction)
- ia_tanf_payment_standard_eligible: Test 3 (after work incentive)

Per 441 IAC 41.27(239B).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add FIP income source parameters:
- Earned income sources (employment, self-employment)
- Unearned income sources (social security, SSI, unemployment, etc.)

Add FIP income variables:
- ia_tanf_gross_earned_income: Total earned income
- ia_tanf_gross_unearned_income: Total unearned income
- ia_tanf_gross_income: Combined gross income
- ia_tanf_countable_income: Net income after 20% deduction and 58% work incentive

Per 441 IAC 41.27(239B).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add main ia_tanf variable that calculates the FIP benefit amount:
- Benefit = Payment Standard - Countable Income
- Eligible households get max(payment_standard - countable_income, 0)

Per 441 IAC 41.28(239B).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add test cases for ia_tanf:
- Unit tests for benefit calculation
- Integration test based on documentation example (family of 3, $800/month)
- Integration test for gross income limit failure

Per 441 IAC 41.27(239B) and 41.28(239B).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Apply black formatting to ia_tanf_net_income_eligible.py

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (dff5637) to head (f510c20).
⚠️ Report is 48 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##             main     #7171       +/-   ##
============================================
+ Coverage   76.71%   100.00%   +23.28%     
============================================
  Files        3665         9     -3656     
  Lines       52702       137    -52565     
  Branches      263         0      -263     
============================================
- Hits        40432       137    -40295     
+ Misses      12244         0    -12244     
+ Partials       26         0       -26     
Flag Coverage Δ
unittests 100.00% <100.00%> (+23.28%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

llennemann and others added 6 commits January 19, 2026 04:42
Refactored Iowa TANF implementation to use FIP (Family Investment Program)
naming convention which is the official state program name. Added 11 tests
covering unit tests, integration tests with various income scenarios,
and edge cases including large families and non-Iowa states.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Iowa TANF

1 participant