-
Notifications
You must be signed in to change notification settings - Fork 201
Implement Kansas TANF #7006
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
Open
hua7450
wants to merge
11
commits into
PolicyEngine:main
Choose a base branch
from
hua7450:ks-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.
Open
Implement Kansas TANF #7006
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7006 +/- ##
============================================
+ Coverage 76.92% 100.00% +23.07%
============================================
Files 1 9 +8
Lines 39 121 +82
Branches 4 0 -4
============================================
+ Hits 30 121 +91
+ Misses 8 0 -8
+ Partials 1 0 -1
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:
|
Starting implementation of Kansas Temporary Assistance for Families (TANF) program. Documentation and parallel development will follow.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix income eligibility test Case 3: income equals payment standard should be false (386 < 386 = false per KEESM 7110) - Fix ks_tanf_eligible.yaml: restructure tests with person-level entity and correct variable name (is_person_demographic_tanf_eligible) - Fix parameter descriptions: change "Temporary Assistance for Families" to "Temporary Assistance for Needy Families" in all 6 files - Add PDF page anchors (#page=1) to KEESM Appendix F-4 references - Use add() > 0 pattern in ks_tanf_eligible.py for demographic check - Fix ks_tanf_resources_eligible.py to use spm_unit_cash_assets instead of spm_unit_assets - Fix integration.yaml to use employment_income_before_lsr (what tanf_gross_earned_income uses) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix broken KEESM reference URLs (case sensitivity: EES/KEESM/Current) - Optimize code pattern: combine add() calls in ks_tanf_gross_income_eligible.py - Add integration tests: multiple earners (Case 7), large family of 5 (Case 8) - Add boundary tests: work expense at $89 and $91 thresholds - Apply black formatting 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Implements Kansas Temporary Assistance for Needy Families (TANF) program.
Closes #6935
Regulatory Authority
Income Eligibility Tests
Income Deductions & Exemptions
Per KEESM 7200, deductions are applied in order:
Note on 60% Disregard: Per K.A.R. 30-4-111(b)(2), this disregard does NOT apply when initially establishing TANF eligibility unless the person received TANF in one of the four preceding months. PolicyEngine applies this disregard to all applicants since benefit history cannot be tracked.
Income Standards (Payment Standard - High Population Counties, Group III)
Source: K.A.R. 30-4-101, Kansas TANF State Plan p.29
County Groups: Payment standard = Basic allowance + Shelter allowance by county group:
High Population Counties (Group III): Butler, Jefferson, Leavenworth, McPherson, Miami, Osage, Reno, Rice, Riley, Sedgwick, Shawnee, Wyandotte
Benefit Calculation
Source: KEESM 7110, KEESM 7200
Files
Variables (9 files)
Parameters (6 files)
resource_limit/amount.yaml- $3,000 limitincome/gross_income_limit.yaml- 30% FPLincome/earned_income_disregard/flat.yaml- $90income/earned_income_disregard/rate.yaml- 60%payment_standard/amount.yaml- By family sizepayment_standard/additional_person_amount.yaml- $61Tests (9 files, 58 test cases)
Known Limitations