Repository navigation
Apply Mississippi TANF's $90 work expense and dependent care deductions and $10 minimum payment - #10258
Conversation
…nd $10 minimum Mississippi deducts $90 for work expenses and the actual cost of dependent care from each earner's monthly earnings (MDHS TANF Policy Manual, Volume III, pages 4104 and 6025-6026), and issues no benefit under $10 a month (page 6015; Chapter 15, Table II). 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 #10258 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 3 -1
Lines 76 44 -32
Branches 2 0 -2
=========================================
- Hits 76 44 -32
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: Claude Opus 5.5 <noreply@anthropic.com>
PR Review: Apply Mississippi TANF's $90 work expense and dependent care deductions and $10 minimum paymentSummaryThe PR makes three changes to Mississippi TANF:
It also adds 6 + 2 + 2 YAML cases and a
Three things need fixing:
Critical (must fix)None. Should address1. The new
The codified rule computes the benefit differently:
With the 2026 need standard of $581 for 3, already in
The formula is pre-existing, and the PR's own provisions move most families toward the rule (Case 9: main $720, PR $1,800, rule $3,120). Two things still need attention:
Fix (either):
2. Fix the 2019-manual page anchor for the $90 and dependent care text, and drop printed page numbers from the reference titles. The anchor:
The titles:
Fix:
3. Add the The body (head Suggestions
Verified correct
Axiom line assessmentThe line is missing (Should 3), and
Recommended line. File a dispatch-ready
CI statusAll 29 checks pass at
None is pending or failing. Branch statusThe branch is 2 commits ahead of main (the change on 2026-10-16 and a merge of main on 2026-10-23) and 48 behind.
Verdict: REQUEST_CHANGES |
DTrim99
left a comment
There was a problem hiding this comment.
The new rules match the 2019 manual and Admin Code T18 Pt13 ($90 per earner, then actual dependent care with no cap, and no benefit under $10), and all 13 expectations hand-check. Three should-address items: (1) the new ms_tanf Cases 9-10 pin 'max less income' ($1,800/$2,400), but the Admin Code pays min(60% x (need - net), max), which gives $3,120 for both; fold in your #10269 or document the deferral in the body and tests; (2) the 2019-manual anchor #page=469 doesn't show the $90/dependent-care text (file page 470), and the titles carry printed page numbers; (3) there's no axiom line. Four suggestions. Full report in the comment above.
- Point the $90 and dependent care citations at 2019 manual file page 470 (was 469), drop printed page numbers from reference titles, and merge the per-page entries into one entry per source document. - Cite Miss. Admin. Code tit. 18, pt. 13 (2024-12-05) beside the 2019 manual for the deduction, the minimum payment and the benefit. - Document that ms_tanf still pays the maximum less countable income, and give the 60% of the deficit amounts (#10269) in the test comments. - Add tests for the per-earner $90 floor and the care_expenses branch. - Note that dependent care is pooled across earners, and that the special student disregard is not modeled (#10490). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the review. Changes are in 9cdc151. Each item and its disposition: Should address1. Benefit formula: deferral documented (option b), not folded in.
2. Page anchor and reference titles: fixed.
3.
Suggestions
Checks
🤖 Generated with Claude Code |
PR Review (round 2): Apply Mississippi TANF's $90 work expense and dependent care deductions and $10 minimum paymentSummaryRound 1 (head
The new commit changes no expected value. It adds two cases, Case 7 (210) and Case 8 (310), and comments that give the 60% amounts. I hand-checked both new cases and every 60% figure in the new comments, and all are right. The governing law is unchanged from round 1:
The branch is 3 ahead and 70 behind main, and it merges cleanly. CI tests the merge commit with current main:
Prior findings
New findingsNone. No critical, should or suggestion items. Verified
Axiom line assessment
CI statusRun 40527339046 is on head Passed:
Failed: Rest Python shard 3. Main causes this, so it is a CI note and not a finding.
Pending:
The PR's own YAML and the guards have passed on the merged tree. Even so, the pending shards need to finish green before merge. Branch statusThe branch is 3 commits ahead of main (the change, a merge of main on 2026-10-23, and this round's commit) and 70 behind.
Verdict: APPROVE |
DTrim99
left a comment
There was a problem hiding this comment.
Approving round 2: 0 critical, 0 should. Full report in the comment above. CI note: the one failure (Rest shard 3, test_mt_state_agi_invariants) comes from main and is fixed by #10496; re-run after it lands. Some contrib shards were still pending.
Summary
ms_tanf_countable_incomeadded gross earned and unearned income with no deductions, andms_tanfpaid any positive amount.The MDHS TANF Policy Manual (July 2019), Volume III and its current codified copy, Miss. Admin. Code Title 18, Part 13 (PDF dated 2024-12-05), say (page numbers are PDF file pages):
Changes:
gov.states.ms.dhs.tanf.income.deductions.work_expense($90 a month, per earner).gov.states.ms.dhs.tanf.minimum_payment($10 a month).ms_tanf_countable_earned_income: the sum of each earner'smax(gross earnings − $90, 0), minuschildcare_expensesandcare_expenses, floored at zero. Dependent care reduces only earned income. The manual deducts care from the earnings of the individual who pays it; PolicyEngine does not record which earner pays, so the unit's care comes off the unit's earnings after the per-earner $90.ms_tanf_countable_incomenow addsms_tanf_countable_earned_incomeandtanf_gross_unearned_income.ms_tanfreturns 0 when the benefit is under $10.The gross income test (185% of the need standard) still uses gross income, as the manual requires. These cases are still not modeled: the 6-month and 3-month total disregards, the special student disregard (#10490), and the dependent care exceptions (care by the payee's child under 21, or care paid by a third party).
Benefit formula: deferred to #10269
ms_tanfstill pays the maximum benefit less countable income. MDHS pays 60% of the deficit (need standard less net income), up to the maximum (Chapter 6, "Computing Benefit", Part 13 pages 458-459; Chapter 15, Table II). #10269 tracks that change. This PR does not make it, because PolicyEngine's need standard for May 2021 to June 2025 is the 2019 manual's Table I ($368 for 3). With that value, the 60% rule would pay a family of 3 with no income floor(0.6 × 368) = $220, not the $260 maximum MDHS has paid since May 2021. The 2021-2024 Table I needs to be found first (#10269, uncertainty 2).The new tests therefore pin PolicyEngine's current formula, and their comments give the 60% amounts. Under the 60% rule, both integration cases below pay min(floor(0.6 × (581 − net income)), 260) × 12 = $3,120. The $10 minimum applies to whichever benefit
ms_tanfcomputes, so it will apply to the 60% amount once #10269 lands.Tests
ms_tanf_countable_earned_income.yaml(8 cases): no earnings (control); $200 a month gives 200 − 90 = $110; $50 a month of child care gives $60; two earners at $500 and $300 with $100 of care give 410 + 210 − 100 = $520; earnings under $90 give $0; care above earnings does not reduce unearned income (countable income $50); two earners at $60 and $300 give 0 + 210 = $210 (the $90 is floored per earner); and $100 a month ofcare_expensesfor a spouse gives (500 − 90) − 100 = $310.ms_tanf.yaml: a $5 benefit is not issued (the existing case that expected $5 now expects $0), and a $10 benefit is issued. The file header and both cases note the inputs the 60% rule would need (Mississippi TANF pays the maximum benefit less income; MDHS pays 60% of the deficit (need standard less net income) up to the maximum #10269).integration.yaml: the issue's case is a parent of two with $2,400 a year of earnings.ms_tanf= 12 × (260 − 110) = $1,800 (main: $720; 60% rule: $3,120). With $600 a year of child care,ms_tanf= 12 × (260 − 60) = $2,400 (60% rule: $3,120).Against main's code, all 11 new or changed earnings and minimum assertions fail. With this PR,
policyengine_us/tests/policy/baseline/gov/states/ms/dhs/tanfpasses (77 tests), as dogov/hhs/tanf/cash(36) and the parameter, registry, reference URL and source-conflict checks (1,025).Fixes #10209
axiom: TheAxiomFoundation/rulespec-us#1946 queued
🤖 Generated with Claude Code