Repository navigation
Use the SNAP standard deduction in effect for Virginia TANF earnings - #10247
Conversation
Virginia's TANF standard deduction is the SNAP standard deduction for the assistance unit's size (TANF Manual 305.1 A.2.b). PE deducted SNAP's FY2020 amounts dated 2016; it now reads the SNAP parameter in effect. 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 #10247 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 1 -3
Lines 76 21 -55
Branches 2 0 -2
=========================================
- Hits 76 21 -55
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: Use the SNAP standard deduction in effect for Virginia TANF earningsSummaryThe PR replaces Virginia TANF's frozen earned income "flat" deduction ($167 / $178 / $209 / $240, dated 2016-01-01, which are SNAP's FY2020 standard deductions) with a lookup of
Critical (must fix)None. Should address1. Add the The body has no Recommended line. File a dispatch-ready
Suggestions
Verified correct
Axiom line assessmentThere is no CI statusAll 29 checks pass at Branch statusThe branch is 2 commits ahead of main (one change and a merge of main on 2026-10-23) and 7 behind. Verdict: REQUEST_CHANGES |
DTrim99
left a comment
There was a problem hiding this comment.
The change is correct: 22VAC40-295-50(C) ties the disregard to the SNAP standard deduction, plus 20% of the remainder, the Appendix 3 order matches, and the October 1 switch works in every year; all 14 expectations hand-check. One should-address item: there's no axiom line, and rulespec-us has no VA TANF module, so please file a dispatch-ready pe-parity issue for 22VAC40-295-50(C) and mark it queued. Five suggestions (reference consolidation, citations, wording). Full report in the comment above.
- Use one reference entry for the Chapter 300 manual (PDF pages 32, 52) and add 22VAC40-295-50(C), since the manual's 22 VAC 40-295-60 footnote now points at the application-processing section. - Describe the 20% exclusion as following the standard deduction and cite the current 305.1 and 305.3 pages instead of the archived 11/20 manual. - Say that the SPM unit is used as the assistance unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, David. Commit 77eca9d applies suggestions 1–4. The VA TANF tests pass (111), and the reference code-health tests pass (257). Should 1, the Suggestion 1, one reference per document. The variable now has one Chapter 300 href ( Suggestion 2, the regulation. The variable and
Suggestion 3, Suggestion 4, unit size. The comment now says "the SNAP standard deduction for the SPM unit's size, used as the assistance unit". Suggestion 5, other dead links. Not changed here. Those files are outside this PR, and #10253 edits |
PR Review (round 2): Use the SNAP standard deduction in effect for Virginia TANF earningsSummaryHead Prior findings
TestsNo expectation changed. The round-1 hand-checks (all 14) stand. CI and branch32 pass, 1 pending and 2 fail. Both failures are infrastructure: "Full Suite - Rest (Python shard 1)" got a runner shutdown ("The runner has received a shutdown signal ... The operation was canceled"), and "Check Rest Python shards" fails only because shard 1 did. Please re-run the failed jobs before merging. The branch is 3 ahead and 46 behind; round 1's merge-tree was clean, and this commit touches only the PR's own files. Verdict: APPROVE |
DTrim99
left a comment
There was a problem hiding this comment.
Round 2: the axiom line is fixed (rulespec-us#1920 queued, open, pe-parity, dispatch-ready, blocker recorded), and so are four of the five suggestions (the reference consolidation, the 22VAC40-295-50(C) citation, the wording, the AU comment). No values changed. The two red checks are a runner shutdown on Rest Python shard 1, so please re-run them before merging. Full note in the comment above.
Summary
va_tanf_countable_earned_incomesubtractedgov.states.va.dss.tanf.income.deductions.earned.flat: $167 (1-3 people), $178 (4), $209 (5), $240 (6+), dated 2016-01-01. Those are SNAP's fiscal year 2020 standard deductions, copied from the 11/20 manual's table.Virginia's TANF standard deduction is the SNAP one. Virginia TANF Manual, Chapter 300, 305.1 A.2.b (page dated 10/23): "All AUs will be allowed the following deductions from earned income: The standard deduction*, the same amount used in the standard deduction for the SNAP program, and 20% of the remainder is deducted from the gross earnings." Its table now shows SNAP's FY2024 amounts ($198 / $208 / $244 / $279). 305.3 B.3 (page 52) subtracts it from the assistance unit's gross earned income and leaves people outside the unit out of the size.
This PR:
gov.usda.snap.income.deductions.standard(household state group, assistance unit size capped at six, as SNAP's table does), so it follows SNAP each October;gov.states.va.dss.tanf.income.deductions.earned.flatparameter;tanfx2fviewpaths now return 404; the manual is undertanfview).Example (the issue's repro, three people, $500 a month of earnings, January 2025): 0.8 x (500 - 204) = $236.80 instead of 0.8 x (500 - 167) = $266.40.
Tests
va_tanf_countable_earned_income.yaml: five new monthly cases (January 2025 at 3 and 4 members, January 2026 at 3 members, a 7-member unit at the six-or-more amount, and a control below the deduction), each with the arithmetic in a comment. The new cases fail on main except the control.policyengine-core test policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf: 111 passed.Note: #9987 (TANF-UP standards) and #9985 (minimum payment) also change Virginia TANF; their diffs touch other files, so the three PRs do not conflict.
Fixes #9986
axiom: TheAxiomFoundation/rulespec-us#1920 queued (open,
pe-parity; the corpus pin must include 22VAC40-295-50 and Manual Chapter 300, and the signed encoder dispatch needs approval)🤖 Generated with Claude Code