-
Notifications
You must be signed in to change notification settings - Fork 201
Add Iowa TANF Program #7171
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
Draft
llennemann
wants to merge
18
commits into
PolicyEngine:main
Choose a base branch
from
llennemann:ia-tanf
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Add Iowa TANF Program #7171
Conversation
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
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 Report✅ All modified and coverable lines are covered by tests. 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
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:
|
Co-Authored-By: Claude Opus 4.5 <[email protected]>
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
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
Work in progress implementation of Iowa TANF (Family Investment Program).
Closes #7163
Status
This is a draft PR created automatically. Implementation work is in progress.