Skip to content

Exclude dependent children’s earnings and separate care caps in Rhode Island Works - #11590

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
ri-works-child-earnings-and-care-caps
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
ri-works-child-earnings-and-care-caps

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

Exclude dependent children’s earnings from Rhode Island Works countable income. Deduct each participating child’s or incapacitated adult’s verified care payment for the month, up to that person’s cap. The cap is $200 for a child under two and $175 for an older child or an incapacitated adult. If no child has a reported payment for the month, the deduction uses the monthly share of the unit’s annual childcare total, up to the sum of the participating children’s caps. If any child has a reported payment, a child without one counts as having no paid care. An adult’s monthly share of annual care expenses applies unless that adult has a reported payment. A reported zero means no payment qualified that month. See ri_works_earned_income_after_disregard_person.py:32 and ri_works_dependent_care_deduction.py:45.

An incapacitated adult is 18 or older by monthly age and cannot care for themselves. The deduction leaves out people reported outside the assistance case, SSI recipients and dependent children in foster care. Negative expense inputs count as zero.

The February rule defines a dependent child on PDF pp. 11–12, covers the month a student completes or leaves school on pp. 37–39, addresses minor parents on p. 123, and sets the earnings exclusion and care caps on pp. 102 and 108–109. Pages 108–109 also require verified care from a provider outside the household. The payment standards used in the cases are on p. 128. The November amendment continues both income rules on pp. 103 and 109. February rule PDF · November rule PDF

The statute defines dependent children and minor parents in § 40-5.2-8(7) and (17) and excludes children’s earnings in § 40-5.2-10(g)(3)(ii). The 2008 Act excluded the earned income of any child from July 1, 2008. The 2021 amendment, effective July 6, 2021, removed the condition that an 18-year-old student be expected to finish before 19. Definitions · Income requirements · 2008 Act · 2021 amendment

The earnings exclusion applies from July 2008, when the Act took effect. The separate care caps apply from October 2008, when the 2008 program rules took effect. A dependent child is under 18 by monthly age or in the month of their 18th birthday, or is under 19 and enrolled full-time in secondary school. A student qualifies through the reported month they leave school, but not after. Before August 2021, an 18-year-old student must also be expected to finish before 19. The SPM unit supplies the candidate assistance-case members. A child claimed on another federal return and a student filing their own return both count as dependent children. A reported case head identifies a minor parent who heads their own case in a shared household. Without that report, a parent or pregnant member heads the case when every unit member meets the dependent-child test. February filing · November filing

source_conflicts/candidates.yaml records two open source conflicts. On school completion, the code follows the statute; the February rule also requires an 18-year-old student to be expected to finish before 19. On the earned income disregard, the code follows the rule. Section 40-5.2-10(g)(2) applies the disregard to the family’s gross earnings, while the rule applies it to each eligible earner. The code applies it per earner, so two $1,000 earners count $475 instead of $737.50 under the family reading. This PR does not change the per-earner calculation, which predates it. A test records the $475 result.

Annual expense totals give only an estimate, because they carry no payment month, verification or recipient. Foster care status stands in for foster care maintenance payments.

#10639 changes Rhode Island Works resource eligibility. The patches share no files.

Test plan

Case (January 2026 unless noted) Monthly output Main Branch
16-year-old dependent earns $1,000 Per-person earnings after disregard [0, 237.50] [0, 0]
Same household Countable earned income / total countable income / grant $237.50 / $237.50 / $463.50 $0 / $0 / $701
18-year-old full-time secondary student and nonstudent, with a separate minor-parent unit Per-person earnings after disregard [0, 237.50, 237.50, 237.50, 0] [0, 0, 237.50, 237.50, 0]
$350 childcare and $0 adult care Deduction / countable earned income / total countable income / grant $350 / $150 / $150 / $715 $175 / $325 / $325 / $540
Two incapacitated adults, one with paid care Deduction $525 $350
$350 childcare and $350 adult care Deduction / countable income / grant $350 / $150 / $715 $350 / $150 / $715
17-year-old parent heads the unit Countable earned income / grant $237.50 / $463.50 $237.50 / $463.50
Three-year-old who is not a tax dependent, $300 childcare (January 2024) Deduction $0 $175
  • YAML cases with expected values derived from the statute and regulation cover 2008, 2021 and early 2025 periods, assistance-case roles, age and school boundaries, care recipients, and verified monthly care. The January 2024 row is the only existing case whose expected value differs from main. Undoing any of these rules makes at least one case fail.
  • All 84 Rhode Island Works YAML cases passed on the branch and on a merge with main. The source-conflict checks passed.
  • make format
  • Changelog fragment in changelog.d/

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 04:40
Exclude dependent children's earnings and apply separate caps to childcare and each incapacitated adult's care.

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

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

Additional details and impacted files
@@             Coverage Diff             @@
##              main   #11590      +/-   ##
===========================================
- Coverage   100.00%   92.14%   -7.86%     
===========================================
  Files            1        8       +7     
  Lines           24      140     +116     
===========================================
+ Hits            24      129     +105     
- Misses           0       11      +11     
Flag Coverage Δ
unittests 92.14% <100.00%> (-7.86%) ⬇️

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:14
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
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