Repository navigation
Conversation
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
…d-minimum Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11558 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 1 7 +6
Lines 24 142 +118
Branches 0 2 +2
==========================================
+ Hits 24 142 +118
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:
|
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
…d-minimum Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.
What and why
Size the payment standard by TANF assistance-unit members. SSI recipients do not count. In SPM units with anyone under 19, only dependent children and their parents count, so a non-parent caretaker such as a grandparent adds no needs unless the parent inference below counts them. A dependent child is under 18, or under 19 and a full-time secondary student. Units with a dependent child and no parent use the child-only rates. A minor parent who reports their baby uses the parent schedule. Units with no one under 19, including pregnant applicants, use the parent schedule.
sd_tanf_payment_standard.py:26,sd_tanf_is_assistance_unit_member.py:19andsd_tanf_dependent_child.py:16.Parent IDs and reported parenthood identify parents in the SPM unit. If a child has no parent IDs and the unit has no identified parent, the model infers parents from age. An adult 19 or older counts as a parent when they are at least 12 years older than the youngest such child and at most 50 years older than the oldest. A supplied
sd_tanf_parent_of_dependent_childvalue overrides this inference.sd_tanf_parent_of_dependent_child.py:30.The child-only table carries five archived schedules effective June 30, 2014 through July 3, 2023, plus the August 4, 2025 and July 1, 2026 schedules. Before the agency-placement standard’s repeal on August 4, 2025, a unit with a child in foster care uses the parent schedule. The model does not apply the former foster care rate. Each month uses the schedule in force on its first day, so one child gets $432 in August 2025 and $389 in September 2025. The cited rules give the effective dates. How the agency handles a transition month is unverified.
child_only.yaml:26andsd_tanf_payment_standard.py:18.Infer shared living when the household includes an adult 18 or older outside the assistance unit, an SSI recipient, public housing, or a shelter subsidy reported through housing assistance. A homeless household is shared only when it has public housing or a shelter subsidy. A supplied shared-living input takes precedence and can capture other contributions toward shelter costs.
sd_tanf_is_shared_living.py:19.Round the grant down to a whole dollar and pay zero below $10 before recoupment. The December 21, 2009 rule contains both requirements. Under the first-day convention above, a $9 grant pays $9 in December 2009 and $0 in January 2010. Grants just under $10 and $13 pay $0 and $12. The grant subtraction and the earned-income deduction use higher precision, so the two-earner case pays exactly $10.
sd_tanf.py:19,income/sd_tanf_countable_earned_income_person.py:16andminimum_grant.yaml:3.Official sources
PR #10639 changes the South Dakota TANF resource test in separate files. PRs #10532 and #10382 change federal SSI calculations and South Dakota’s SSI supplement. Federal SSI can feed the shared-living flag and the assistance-unit count. PR #11500 also edits the South Dakota TANF earned-income formula. It adds its own
sd_tanf_is_assistance_unit_memberinput, which its child-support deduction uses. The model cannot load two variables with one name, so whichever PR merges second must rename or combine them.Not covered here: the parent tables key the 2025 reduction to August 1, while the archived rule gives August 4. Countable earned income sums the whole SPM unit, so a non-parent caretaker’s earnings in the same SPM unit reduce the child’s grant. The model builds the assistance unit within one SPM unit and uses the age-gap inference in place of the full kinship rules. Neither is verified beyond the tested cases.
Test plan
make format.461, 564, 631, 698, 763, 830, 896, 963, 1027, 1092, 1158, 1225, 1278389, 456, 523, 589, 655, 720, 788, 854, 918, 984, 1050, 1118, 1171491, 601, 672, 743, 812, 884, 954, 1025, 1093, 1163, 1233, 1304, 1357414, 486, 557, 627, 697, 767, 839, 909, 977, 1047, 1118, 1190, 1243axiom: needed
🤖 Generated with Claude Code