Skip to content

Fix SSI student exclusion timing and federal and state parental deeming - #11316

Draft
MaxGhenis wants to merge 6 commits into
mainfrom
ssi-deeming-two-rules
Draft

MaxGhenis wants to merge 6 commits into
mainfrom
ssi-deeming-two-rules

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task for Max Ghenis; no person has reviewed it yet.

SSI parental deeming uses parents’ wages and excludes married minors and minors who head a household. The patch also corrects monthly SSI student exclusions and parental deeming in Medicaid and New Hampshire ANB.

  • Rule A removes the child’s student earnings exclusion from the parental income budget. A1’s annual SSI falls from $10,106 to $9,606 in the model. A2’s corrected January-start model produces $454.50 in annual SSI before payment rounding. Main’s $4,726 result used an averaged student exclusion. This applies to SSI nationwide, California CAPI, New Hampshire and Oklahoma supplements, and Medicaid’s optional senior-or-disabled deeming. §416.1165 · §416.1161 · §416.1112
  • Rule B excludes married minors and minors who head a household. Annual deemed income falls from $12,090 to $0 in B1 and from $5,562 to $0 in B3. In B2 the married daughter goes from $5,943 to $0 and the son goes from $5,943 to $11,886. Virginia uses its own under-21 deeming rules in the optional ABD and medically needy budgets. It counts co-resident Medicaid-ineligible parents across tax returns and uses the same parent set for medical expenses. 42 U.S.C. §1382c · §416.1101 · §416.1856 · §416.1165 · Virginia M05

Replaces #10159 by applying the federal income rules to main’s monthly helpers. This patch resolves co-resident Virginia parents across returns. Broader federal per-child pooling remains deferred.

Follow-ups

  • Review the spouse’s student exclusion in _msp_spouse_income.py and _ia_ssa_smme_spouse_income.py.
  • Review the co-resident spouse test in is_ssi_resource_deeming_child.py for spouses who live apart.

Case calculations

  • A1. The $1,000 student exclusion covers all of the child’s earnings. Monthly deemed income rises from (2,500 − 1,000/12 − 85)/2 − 994 to (2,500 − 85)/2 − 994, or $171.83 to $213.50. Annual SSI is 994 × 12 − annual deemed + 240, or $10,106 to $9,606.
  • A2. Monthly parental deeming is ($4,000 − $85) / 2 − $994 = $963.50. The child excludes $1,000 each month from January through September and $730 in October. Countable income is $943.50 in January and $1,046 in October. The model calculates nine months of $994 − $943.50 = $50.50 before rounding, totaling $454.50.
  • A3. Missouri starts with the natural parent’s $4,000 in monthly wages. It deducts $20 and $65, halves the remainder and deducts $994. Main also deducted $9,730/12 from wages, yielding $6,697 annually. The corrected amount is $11,562.
  • B1. (5,000 − 85)/2 − 1,450 = $1,007.50 monthly on main. The married minor receives zero and both parents lose their SSI parent flags.
  • B2 and B4. (4,000 − 20 − 65)/2 − 967 = $990.50 monthly. Under SSI, the daughter receives $0 and the son receives $11,886 annually. Missouri gives both children $5,943 annually when the daughter’s spouse lives elsewhere. If the spouse lives with the daughter, Missouri gives the son $11,886 annually and the daughter $0.
  • B2 monthly. The daughter moves from CHILD_IN_PARENTAL_HOUSEHOLD to OWN_HOUSEHOLD. The son keeps CHILD_IN_PARENTAL_HOUSEHOLD.
  • B3. (3,000 − 85)/2 − 994 = $463.50 monthly on main. The minor who heads the household receives zero and the mother loses their SSI parent flag.
  • B5. Main applied $495.25 − $20 = $475.25 to both children. CAPI now counts $990.50 − $20 = $970.50 for the son and $0 for the daughter.
  • B6. Virginia deems ($4,000 − $85) / 2 − $967 = $990.50 monthly from the Medicaid-ineligible mother. The optional ABD and medically needy budgets use that amount before applicant exclusions. The mother loses their federal SSI parent flag for that married child.

Tests

The branch and a merge with main each passed all 1,441 cases in 85 household YAML files.

  • Seven mutations failed on their intended regression cases.
  • Ruff formatting, lint and the diff check passed.
  • CI: pending.

impact: pending a comparison at the final head.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 30, 2026 04:20
…income

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
MaxGhenis and others added 2 commits November 30, 2026 17:14
Apply the Missouri, Virginia, New Hampshire and Oklahoma child definitions. Use Virginia’s own parent rules for income and medical expenses. Test working students’ monthly parental deeming.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 2 commits December 1, 2026 06:03
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 Fix SSI parental deeming for working students and married children Fix SSI student exclusion timing and federal and state parental deeming 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