Skip to content

Correct South Dakota TANF payment standards and grant amounts - #11558

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
sd-tanf-child-only-shared-living-rounding-and-minimum
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
sd-tanf-child-only-shared-living-rounding-and-minimum

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

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:19 and sd_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_child value 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:26 and sd_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:16 and minimum_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_member input, 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

  • Source-derived YAML cases.
  • Source-conflict register and marker, N/A. The cases use the published rules.
  • make format.
  • Changelog fragment.
  • Seven affected YAML files and the source-conflict test pass. The YAML files also pass on a merge with main. Eight targeted mutations each fail a test.
  • Other branch cases:
    • Child with $500 a month in survivor benefits and a grandmother in the same SPM unit: $414 standard, income-ineligible, $0 grant.
    • Child with a known absent parent and a same-SPM aunt: $414 standard and grant.
    • Parent, child and a sibling on SSI: shared living, $414 standard and grant.
    • Child and an 18-year-old part-time secondary student: $414 standard and grant.
    • Homeless parent and child with a shelter subsidy: shared living, $414 standard and grant.
    • One child with a grandmother in a separate SPM unit: $432 in January 2024 and August 2025, $389 in September 2025.
    • $601 standard and $592 countable income: $9 in December 2009, $0 in January 2010.
Case Main Branch
Child living with a grandparent, July survivor income of $414 $491 standard, $77 grant $414 standard, $0 grant
Child with no income, January $461 grant $389 grant
Child with no income, July $491 grant $414 grant
June schedule, sizes 1–13 461, 564, 631, 698, 763, 830, 896, 963, 1027, 1092, 1158, 1225, 1278 389, 456, 523, 589, 655, 720, 788, 854, 918, 984, 1050, 1118, 1171
July schedule, sizes 1–13 491, 601, 672, 743, 812, 884, 954, 1025, 1093, 1163, 1233, 1304, 1357 414, 486, 557, 627, 697, 767, 839, 909, 977, 1047, 1118, 1190, 1243
Full-time secondary student aged 18 and minor parent with a baby $491 and $601 standards $414 and $601 standards
Parent and child with adult roommate Independent, $601 grant Shared, $414 grant
SSI only, public housing, shelter subsidy, and SSI only while homeless Four $491 independent standards $0, $304, $304, and $0 standards
$592 countable income $9 grant $0 grant
$590.40 countable income $10.599976 grant $10 grant
Exact $10 grant after two earned-income deductions $9.999939 grant $10 grant
January 2024 fractional grant $150.59998 grant $150 grant
Parent and 11 children, June and July $1,225 and $1,304 grants $1,225 and $1,304 grants

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 03:52
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
…d-minimum

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

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

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     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

MaxGhenis and others added 2 commits December 1, 2026 16:21
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

No deployments
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.

1 participant