Skip to content

Deduct pre-approval dependent care and require earnings below the gross limit for Washington cash assistance - #11547

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
wa-tanf-pre-approval-dependent-care-deduction
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
wa-tanf-pre-approval-dependent-care-deduction

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

Washington deducts qualifying dependent care paid before cash-assistance approval after the earnings disregards. The deduction applies from September 1998, using the cap table in force each month. The September 2002 table swapped the two columns, and the February 2004 table gave the higher caps to children two and under. From August 2024, the $500 flat disregard applies first and two-year-olds use the standard caps. Gross earnings must be below the WAC 388-478-0035 limit, so a unit with earnings at the limit is ineligible. Cases with grant outputs use Washington’s $570 and $706 monthly payment standards for two and three people. WAC 388-450-0170, p. 1 · RCW 74.08A.230, p. 1 · WSR 98-16-044 · WSR 02-17-030 · WSR 04-03-051 · WSR 24-11-019 · WAC 388-478-0020, p. 1

TANF, SFA, and RCA read the shared result through wa_tanf_countable_income.py:13, and all three use wa_tanf_income_eligible for the gross test. A care recipient counts as a child if under 18, or if the caller marks them as meeting the applying program's age and school rules for that month. A person 18 or older who cannot care for themselves counts as an incapacitated adult. The student input applies only to the care deduction. Grant eligibility uses school enrollment in is_person_demographic_tanf_eligible and wa_sfa_student_pathway_eligible as a stand-in for Washington's participation and program-completion rules. That gap is outside this PR and stays open. RCA uses TANF income rules. WAC 388-404-0005, p. 1 · WAC 388-466-0140, p. 1

wa_cash_assistance_dependent_care_deduction caps each eligible recipient's care on its own, using the recipient's monthly_age and the unit's work hours for the benefit month. wa_tanf_countable_earned_income sums these deductions and stops at zero countable earnings. Callers supply monthly inputs for assistance-unit membership, care paid before approval, provider eligibility, verification, work hours, and the eligible share of the approval month. The deduction multiplies the payment by that share before applying the cap, so a month after approval, with a share of zero, gets no deduction. Callers set the share from the approval date of the program applied for, so RCA and SFA do not depend on TANF enrollment. SSI recipients, payments to a parent or other ineligible provider, and unverified payments get no deduction. General inputs such as childcare_expenses and care_expenses do not feed the deduction, so it is zero unless callers set these monthly inputs. The rule gives no method to combine workers' hours or round fractional hours, so the work-hours input takes the hours the case uses. The 2002 table's headings leave age two unclear, so two-year-olds use the standard caps until the 2004 table. The 2002 and 2004 tables took effect mid-month, so the model applies them from the next month. WAC 388-408-0015, p. 1 · WAC 388-408-0020, p. 1 · WAC 388-406-0055, p. 1

PR #10764 changes WCCC income and can change a family's net care costs. The deduction takes net payments as a direct input. PR #10639 changes the resource test, and #9732 changes immigration inputs. PR #11409 adds the student earnings exclusion and conflicts with this branch in wa_tanf_countable_earned_income.py and wa_tanf_income_eligible.py. When combining them, use its student-adjusted gross earnings, keep the strict gross comparison, and apply the care deduction after the disregards in both its TANF and RCA path and its separate SFA path. With $1,000 of parent wages, $300 of excluded student wages, and $100 of allowable care, combined countable earnings should be $150. No joint test has run, since both income-file conflicts must be resolved first.

Test plan

Case Outputs Main Branch
RCA case 8, $100 monthly adult care Countable income / RCA $550 / $20 $450 / $120
RCA case 9, November, $300 adult care paid before approval Countable income / RCA $550 / $20 $375 / $195
RCA case 9, December, after approval, no TANF enrollment Countable income / RCA $550 / $20 $550 / $20
Earnings case 13, one-year-old at 80 monthly hours Countable earnings / TANF $550 / $20 $450 / $120
Earnings case 14, two-year-old at 41 monthly hours, July 2024 Countable earnings $800 $700
Earnings case 14, two-year-old at 41 monthly hours, August 2024 Countable earnings $550 $462.50
  • YAML cases with arithmetic from the WAC tables cover each rule. Earnings cases 14, 15, and 22 check the earlier cap tables. Earnings case 16 checks separate caps per recipient, 17 assistance-unit membership and SSI, 18 proration in a half-eligible month, 19 provider and verification, 20 school eligibility, and 21 benefit-month hours and age. RCA and SFA case 9 check months after approval. Income-eligibility case 15 checks earnings at the gross limit.
  • In earnings case 16, only the two-year-old has care costs, so the deduction is the $175 cap and TANF is $331. Earnings case 22 gives $700 in 1998 and 2004 and $712.50 in 2002. Income-eligibility case 15 has gross earnings equal to the $1,640 two-person limit, so the unit is ineligible.
  • Each of 12 single-rule mutations makes its regression case fail on the expected assertion.
  • All 266 cases pass in 14 YAML files covering Washington TANF, SFA, RCA, LIHEAP, SNAP state cash assistance, and the partner WA TANF edge cases. All 251 source-conflict checks pass.
  • make format passes.
  • Changelog fragment added.
  • Source-conflict register and marker — N/A.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 03:35
…rnings

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

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.95918% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.41%. Comparing base (8999568) to head (d2796ed).
⚠️ Report is 414 commits behind head on main.

Files with missing lines Patch % Lines
...ome/wa_cash_assistance_dependent_care_deduction.py 92.85% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main   #11547      +/-   ##
===========================================
- Coverage   100.00%   98.41%   -1.59%     
===========================================
  Files            1       10       +9     
  Lines           24      126     +102     
  Branches         0        2       +2     
===========================================
+ Hits            24      124     +100     
- Misses           0        1       +1     
- Partials         0        1       +1     
Flag Coverage Δ
unittests 98.41% <97.95%> (-1.59%) ⬇️

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 20:17
Use benefit-month expenses, eligibility shares, and the historical care caps. Require earnings below the gross limit.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Deduct pre-approval dependent care from Washington cash assistance earnings Deduct pre-approval dependent care and require earnings below the gross limit for Washington cash assistance Dec 1, 2026

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