Skip to content

Deem income from a disabled parent who is not eligible for SSI - #10630

Merged
hua7450 merged 13 commits into
PolicyEngine:mainfrom
hua7450:ssi-disabled-parent-deeming
Nov 13, 2026
Merged

hua7450 merged 13 commits into
PolicyEngine:mainfrom
hua7450:ssi-disabled-parent-deeming

Conversation

@hua7450

@hua7450 hua7450 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #10625

Changes since review, round 4 (2026-11-12)

  • The rulings are on record (review Should 1). A dated comment records the project lead's rulings of 2026-11-12 (a lone parent's allowance) and 2026-11-02 (order of the ineligible-child allocation). Both candidates' notes now link it.
  • New Jersey's and Vermont's couple rates are pinned (Should 2). In New Jersey a parent whose spouse's income is deemed is tested on the higher individual rate, a limit of $18,267 rather than $18,196.20 (is_ssi_ineligible_parent.yaml Case 25). Vermont's couple rate gives a limit of $19,161.60 (Case 26). A New Jersey joint claim within $18,196.20 deems nothing, where without the couple rate it would deem $68 (Case 27).
  • Wording (Suggestion 1). The candidate's example and "A lone parent's allowance" below now say the readings differ only in California, New Jersey and Vermont in the model. Under the POMS reading, Nevada's and Iowa's supplements at home would also count for some parents.
  • Commit. 02ad5ddd3d, with no merge of main; it merges cleanly with main at ca7a470271.

Changes since review, round 3 (2026-11-12)

  • No more error before 1991 (review Critical 1). The supplement helper read California's at-home rates for every person in every state, and those rates start in 1991, so every SSI calculation before 1991 raised an error, failing five cases in three files this PR didn't change. California's rates now go through the same guard as New Jersey's and Vermont's, which reads a rate as zero before its first value. is_ssi_ineligible_parent.yaml Case 20 (California, 1986) is tested on the federal rate and deems $1,728.
  • Missouri's allowance counts a parent filing elsewhere (Critical 2). The count added two boolean arrays, which NumPy treats as a logical OR; it now counts them as integers. A Missouri mother earning $48,000 and the father earning $30,000 in his own tax unit deem $20,598, as MHABD 0805.020.15 step 8 gives (Medicaid deeming Case 8; the review traced $26,562 at the old head).
  • The cross-unit terms are pinned (Should 1). A non-disabled sibling in the father's unit gives $8,808 to each disabled child, for SSI and Ohio Medicaid. The pension case asserts the Medicaid variable too ($35,478). A Missouri stepfather filing in his own unit gives $65,598 for SSI and $11,562 for Missouri Medicaid (Case 9).
  • New Jersey, Vermont and the joint claim have cases (Should 2). A New Jersey parent with a $12,400 pension and a Vermont parent with $12,700 stay due the supplement and deem nothing (Cases 21 and 22); in Ohio the New Jersey parent would deem $232. Two California parents on a joint claim share $25,185.96 and deem $2,574.04 (Case 23).
  • A lone parent's allowance: ruled for the POMS (Should 3). See "A lone parent's allowance" below. Candidate us:ssi-parent-allowance-state-supplement is state: ruled, and Case 24 pins it: a lone California parent with a $60,000 pension deems $44,952.72, where the regulation would give $47,832.
  • Smaller items. The no-ids stepparent figure, $65,598, is now a run case (Suggestion 3). The helper's Iowa note now names people living with a dependent. Limits gain the years before each state's rates start (Suggestion 1) and two Missouri limits (Suggestion 4).
  • Not taken. Sharing California's rates with ca_state_supplement_rates (Suggestion 2) would touch a merged California file, so it is left for a separate PR. Round 1's suggestions 2, 3, 5 and 6 stay as they were.
  • Commits. The fixes are 9002847e39. The branch then merged main at cc486336d7 (432c9c5900, no conflicts), which now holds Apply SSI's spouse rules to Medicare Savings Programs when only one spouse is on Medicare #10633, Apply immigration tests to Medicare and Medicare Savings Programs #10632 and Combine an SSI couple's income by each month's facility status #10820.

Changes since review, round 2 (2026-11-12)

  • Supplement test by state, not a blanket rule (review Critical 1 and Should 1). An aged, blind or disabled parent is now tested against the federal rate plus the state's at-home supplement in California, New Jersey and Vermont, and the parents' allowance includes it (20 CFR 416.1166(e)(2); POMS SI 01320.630 B.1). The other nine states on SSA's list pay a federally administered supplement only in care settings or to some categories (POMS SI 01415.058 C to I, K and L), so their parents are tested against the federal rate. The parameter gov.ssa.ssi.state_supplement.federally_administered is deleted, so Suggestion 1 no longer applies. The California household from the review now deems $10,184.04, as the regulation gives (is_ssi_ineligible_parent.yaml Case 17). The California couple from round 1 deems $0 (Case 18), and a Michigan parent with a $60,000 pension deems $47,832 (Case 19).
  • Spouses in separate tax units (Critical 2 and Should 2). The pooled income is divided among both units' eligible children, and both units' ineligible children get allocations. The Medicaid variable now pools the same way, giving $20,598 in Ohio (Medicaid deeming Case 7), and counts that spouse in Missouri's allowance. A spouse filing elsewhere counts without parent ids too, as on the resource side. The two new cases at the end of from_ineligible_parent.yaml give $10,299 to each of two children, and $35,478 from a father with a $30,000 pension in his own unit. No case pins & ineligible_parent[spouse] in the cross-unit test: when the spouse filing elsewhere stays eligible, the couple's pooled countable income is within the allowance, so nothing is deemed either way.
  • The no-ids stepparent limit is gone (follows from Should 2). The same flag now covers a stepparent married to a parent whom the tax-unit proxy finds, so a mother earning $48,000 and a stepfather earning $120,000 in Ohio deem $65,598, as the rule gives (traced from the code then; a run case since round 3).
  • The monthly resource divisor is pinned (Should 3) by a case that sets the child's countable income by month.
  • Tracking (Should 1). "Payments based on need" is now Leave a deemor's income out of SSI deeming when they receive a payment based on need #10852 and gives the review's New York figure (Suggestion 3). The supplement level needs no follow-up issue.
  • Smaller items. ssi_ineligible_parent_allocation's documentation is rewritten (round 1 Suggestion 4), and the changelog fragment gives the separate-filer rule its own sentence (Suggestion 2).
  • Merged with main at 24939d2701 (5a8598da77, no conflicts), which now holds Let Missouri aged, blind and disabled people who don't receive SSI spend down #10629. The Missouri parental expense share then leaves out a stepparent (d2045e7dc6); see "Let Missouri aged, blind and disabled people who don't receive SSI spend down #10629, merged" below.

Changes since review, 2026-11-11

  • A parent still due a federally administered state supplement is no longer treated as ineligible on income alone, in the 12 states where SSA pays the supplement. This is the smaller of the two fixes the review named; round 2 (above) replaces it. is_ssi_ineligible_parent.yaml Case 15.
  • A parent's spouse who files in another tax unit now has their income counted with the parent's. from_ineligible_parent.yaml, "Married parents in separate tax units pool both parents' wages."
  • Two unpinned terms are pinned: the qualified-noncitizen test (Case 16) and the couple rate shared by two unmarried parents ("Unmarried parents in one tax unit share the couple rate.").
  • Merged with main at 23a7c9a8f4. One case main added that day is re-expected and renamed; see "In-kind support" below.
  • Description corrected after a law check, 2026-11-11, with no code change. "Payments based on need" under Limits is new.

What and why

is_ssi_ineligible_parent treated every aged, blind or disabled (ABD) parent as eligible for SSI, however high their income. None of a disabled parent's income reached their disabled child's SSI, so the child received the full benefit and SSI-based Medicaid.

20 CFR 416.1160(d) defines an ineligible parent as one who "is not eligible for SSI benefits". The variable now tests an ABD parent's income, resources and noncitizen status, and flags a parent who fails any of them. ssi_resources_deemed_from_ineligible_parent already treats ABD parents this way (POMS SI 01330.310).

An Ohio parent aged 45 with a $60,000 pension and a disabled child aged 10, in 2026:

Parent Income deemed to child Child's SSI before Child's SSI after
Not disabled $47,832 $0 $0
Disabled, $60,000 pension $47,832 $11,928 $0
Disabled, no income $0 $11,928 $11,928

The parent's tests. A joint claim, where both spouses are ABD, tests the couple's totals against the couple rate. In other cases the test adds ssi_income_deemed_from_ineligible_spouse to the parent's own countable income, so allocations for ineligible children come first (20 CFR 416.1163(b), (d)(2)). A disabled parent whose spouse has a $22,000 pension, with one ineligible child, counts $15,796 against the $17,892 couple rate and stays eligible. The resource test uses the couple limit for a parent with a co-resident spouse (20 CFR 416.1205). is_ssi_eligible has no income test, and uncapped_ssi, ssi_countable_income and the marital income variables all depend on this variable, so the tests read the parent's own inputs and the spouse's deemed income directly.

States where SSA pays a supplement at home. 20 CFR 416.1166 says "For the purpose of this section, SSI benefits include any federally administered State supplement", and 20 CFR 416.1161(a)(2) leaves out of deeming the income of a parent who receives such a payment. POMS SI 01320.630 B.1 makes available for deeming "Only the countable income in excess of what is required to reduce the parents' FBR and any Federally-administered State supplement to zero". A parent whose income is deemed lives at home with the child. Of the 12 states where SSA administers the supplement (POMS SI 01415.058 A), only California (B), New Jersey (J) and Vermont (M) pay one at home in every category. In those three states the variable tests an ABD parent against the federal rate plus the state's at-home supplement, and ssi_ineligible_parent_allocation adds the same supplement to the parents' allowance. A new helper, _ssi_parent_supplement.py, reads the supplement from the existing state parameters, because the state supplement variables depend on this variable. It takes the couple rate on a joint claim, the higher of the couple and individual rates when a spouse's income is deemed, and the individual rate otherwise, as ssi_state_supplement does. Delaware, the District of Columbia, Hawaii, Michigan, Montana and Rhode Island pay a federally administered supplement only in care or facility settings, Pennsylvania only in care homes or with an essential person, Nevada at home only to aged or blind people, and Iowa at home only to blind people or to people with a dependent. Parents in those nine states are tested against the federal rate.

Household, 2026 Calculation Deemed to child Child's SSI is_ssi_ineligible_parent.yaml
California disabled parent, $14,000 pension $13,760, above the federal $11,928 and within California's $14,807.28 SSI/SSP standard $0 $11,928 Case 15
California disabled parent, $18,000 pension; spouse earning $36,000 $35,370 - ($17,892 + $7,293.96) $10,184.04 $1,983.96 Case 17
California disabled parent, no income; spouse earning $40,000 $19,490, within $17,892 + $7,293.96 = $25,185.96 $0 $11,928 Case 18
Michigan disabled parent, $60,000 pension $59,760 - $11,928 $47,832 $0 Case 19

The first reviewed head, ad5aaee77f, cut the child's SSI in Case 15 to $10,336.

Who counts as a parent. A disabled child's parent ids settle this: the flag covers the co-resident parents the ids name and those parents' spouses. An aged grandparent with a $40,000 pension, whom the child's ids don't name, deems $0 and the child keeps $11,928. A child with no ids falls back on the tax-unit proxy (unlinked_parent), and the flag also covers the co-resident spouse of a parent found that way, in any tax unit, as the resource side does.

The parent allocation. ssi_ineligible_parent_allocation now follows 20 CFR 416.1165(d)(3), which subtracts the couple rate "if both parents live with you" and the individual rate "if only one parent lives with you". Two ineligible spouses in one tax unit share the couple rate, as do two ineligible parents there with no spouse between them. A flagged parent takes the whole couple rate when their spouse stays eligible or files in another tax unit. A flagged spouse who files in another tax unit adds their income to the pool, so married parents earning $48,000 and $30,000 on separate returns deem $20,598, where the earlier head deemed $5,598. A new helper, _parent_pool.py, divides that pool among the eligible children of both tax units and allocates for both units' ineligible children (20 CFR 416.1165(e)(2), (b)). When each spouse claims a disabled child, each child is deemed $10,299 and receives $1,869. Nothing then reaches the child while the spouse stays eligible, as 20 CFR 416.1166(e)(1) requires: "If you are eligible for SSI benefits after your spouse's income has been deemed to you, we do not deem any income to your child." In California, New Jersey and Vermont the allowance adds the at-home supplement in the same shares, except that two unmarried parents share the federal couple rate alone.

This also changes a household type on main. A disabled parent with no income, a non-ABD spouse with a $15,000 pension and a disabled child move from $2,832 deemed and $9,336 of child's SSI to $0 and $11,928. medicaid_optional_senior_or_disabled_unearned_income_deemed_from_ineligible_parent reads the same flag and allocation in every state but Missouri.

In-kind support. ssi_federal_living_arrangement puts a child with an ineligible parent in a parental household, where the model counts no in-kind support. The flag now reaches ABD parents, so food or shelter their children receive from others no longer counts. 20 CFR 416.1148(b)(1) says shelter that a person whose income can be deemed provides "is not income to you", and that shelter "from another source" is; before September 30, 2024 the same sentence covered food. The inputs cannot say that support comes from outside the household. Main's case in ssi_resources_deemed_from_ineligible_parent.yaml with a 70-year-old parent over the resource limit relied on that parent not being flagged. It keeps its inputs, is renamed "Food for a child living with an ineligible parent does not change the resource divisor", and expects $680 of countable income, $2,000 of deemed resources for each child and a met resource test in January, November and December. Decided by the project lead, 2026-11-11. A new case in the same file sets the child's countable income by month and pins the monthly divisor: $0, $4,000 and $4,000 deemed in January, and $0, $2,000 and $2,000 in December.

Missouri. MHABD 0805.020.15 says "Do not deem the income of any other persons in the home, including a stepparent", and step 8 says "The parental living allowance is the SSI maximum for the number of parents in the home whose income was used in deeming." The Medicaid variable's Missouri branch limits the pool to the child's own parents through a new helper, is_parent_of_any, and sets the allowance from the number of parents in the pool. SSI counts a parent's spouse under 416.1160(d), so the two programs differ. With a mother earning $48,000, a stepfather earning $120,000 and ids naming the mother:

Program Calculation Deemed to child
SSI (168,000 - 240 - 780) / 2 - 17,892 $65,598
Missouri Medicaid (48,000 - 240 - 780) / 2 - 11,928 $11,562

Order of the ineligible-child allocation. The sources disagree for a parent with excess income. 20 CFR 416.1165(b) deducts the allocation before the exclusions and the parent allocation in 416.1165(d): "We next deduct an allocation for each ineligible child in the household". POMS SI 01320.630 B.2 deducts it last: "From the amount in excess of what is required to reduce the individual's (parent) or couple's (both parents) payment to zero, subtract an allocation for each ineligible child." The model follows the regulation, and this PR leaves that formula's order unchanged. Ruled by the project lead, 2026-11-02; candidate us:ssi-parental-child-allocation-order. In 2026 an aged parent with $4,000 of monthly wages, a disabled child and a non-disabled child deems $8,580 a year under the regulation and $5,598 under the POMS order. The orders differ only when the allocation falls on earned income.

A lone parent's allowance. 20 CFR 416.1165(d)(3) subtracts "(i) The Federal benefit rate for the month for a couple if both parents live with you; or (ii) The Federal benefit rate for the month for an individual if only one parent lives with you", and names a State supplement only for the child's own benefit, in (e)(3). POMS SI 01320.630 B.1, for parents who filed for SSI and are ineligible because of excess income, deems "Only the countable income in excess of what is required to reduce the parents' FBR and any Federally-administered State supplement to zero". In the model the two differ for a lone aged, blind or disabled parent, and for two such parents on a joint claim, in California, New Jersey and Vermont; under the POMS reading, Nevada's and Iowa's supplements at home would also count for some parents. The project lead ruled on 2026-11-12 (recorded here) to follow the POMS, which avoids a jump in deemed income where a parent's income passes the federal rate plus the supplement: a lone California parent with a $60,000 pension deems $59,760 - $14,807.28 = $44,952.72 (Case 24), where the regulation gives $59,760 - $11,928 = $47,832. Candidate us:ssi-parent-allowance-state-supplement.

Not changed: take-up. A parent who meets every test but doesn't take up SSI still counts as eligible. #10243 raises the same question for spouses.

The PR adds no variables or parameters; the round-1 parameter gov.ssa.ssi.state_supplement.federally_administered is gone. It adds two private helpers, _ssi_parent_supplement.py and _parent_pool.py.

Limits.

  • No ids, who is a parent. The tax-unit proxy can't tell a grandparent or an unrelated parent from the child's parent, so a grandparent in the child's tax unit with own_children_in_household still counts.
  • Nevada and Iowa. SSA pays a supplement at home in Nevada only to aged or blind people (POMS SI 01415.058 I), and in Iowa only to blind people or to people with a financially dependent ineligible spouse, parent or child at home (F). The model has no rates for either, so their parents are tested against the federal rate alone.
  • Years before the model's rates. The model's at-home rates start in 1991 for California, 2017 for Vermont and 2026 for New Jersey. In earlier years their parents are tested against the federal rate alone, which matches what the model pays them in those years.
  • Two unmarried parents. In California, New Jersey and Vermont, two unmarried parents who are both flagged share the federal couple rate without any supplement.
  • Payments based on need. 20 CFR 416.1161(a)(2) leaves out of deeming "Any public income-maintenance payments ... your ineligible spouse or parent receives, and any income which was counted or excluded in figuring the amount of that payment", and 416.1165(d) gives no allowance to a parent who receives one. Those payments include state or local assistance based on need (20 CFR 416.1142(a)(6)), which covers a supplement a state pays itself (20 CFR 416.1124(c)(2)), and SNAP from September 30, 2024 (POMS SI 01320.141 A). The model applies none of this, for parents or for spouses, and main never did. This PR adds one household to it: an ABD parent whose income is above the federal rate but who still receives a state-paid supplement is now flagged. A lone parent in that band deems an amount below the supplement, where the regulation deems nothing. In New York a lone disabled parent with a $12,500 pension who receives the state-paid supplement deems $332, and the child receives $11,836 where the regulation gives $11,928 (review's run). Leave a deemor's income out of SSI deeming when they receive a payment based on need #10852 tracks it.
  • Support from outside the household. For a child in a parental household the model counts no in-kind support, though 20 CFR 416.1148(b)(1) counts shelter from another source, and counted food through the November 2024 payment month. With this PR that reaches children of ABD parents too.
  • Missouri, named stepparent. Parent ids name natural, adoptive and step parents alike (parent_1_id documentation), so a stepparent the ids name directly enters Missouri's pool and its parental expense share.
  • Missouri, tax-unit pool. Two disabled children, one each of a mother earning $48,000 and a stepfather earning $120,000, get $32,799 each. By the manual, each child's own parent alone deems, which gives $11,562 and $47,562.
  • Missouri, expense share across tax units. medicaid_parental_medical_expense_share sums the child's own tax unit, so a parent filing in another tax unit adds income to Missouri's pool but no expenses to the share.
  • Missouri, no ids and another tax unit. Without parent ids, the tax-unit proxy can't reach a father who files in another tax unit, so Missouri leaves him out as it would a stepparent: $11,562 where SSI deems $20,598 (review's figure, not run).
  • Missouri, exceptions. The model doesn't apply "Do not deem parental income if the parent or spouse of the parent is receiving Title XIX under a MA non-spenddown case". The $2,832 in Medicaid deeming Case 5 would be $0 if that parent holds such a case; whether Missouri places an SSI parent on one wasn't checked. The section also stops deeming from a parent receiving cash public assistance, and the formula reaches only SSI among those programs.
  • Mixed-status couple. A citizen spouse whose noncitizen spouse has a $1,400 monthly pension gets $666 a year, half the $1,332 that 20 CFR 416.1163(d)(2) gives. ssi_couple_computation_applies stays true on ssi_claim_is_joint. This belongs to Fix SSI spousal deeming for in-kind support and for aged, blind or disabled spouses who are not eligible #10243, and the test for this household asserts only the child's SSI.
  • Not modeled. The deeming formula doesn't count federally administered state supplements under 416.1165(e)(3), apart from the parents' test and allowance in California, New Jersey and Vermont above, and the 416.1165(i) waiver doesn't reach the income path. A flagged ABD parent's medical expense can enter both the child's test in is_medically_needy_for_medicaid and the parent's own (traced, not executed).

#10629, merged. That PR merged as 2fc6d4b66e, and this branch contains it through main at 24939d2701. medicaid_parental_medical_expense_share now reads this flag on Missouri's 209(b) route, and the flag reaches a parent's spouse under 416.1160(d). MHABD 0805.020.15 counts the expenses of "the disabled child's natural or adoptive parent/s whose income is used in determining eligibility", and its note adds: "This does not include a stepparent because under Missouri law stepparents are not legally liable for the support of step children." So in Missouri the share keeps only the child's own parents, through is_parent_of_any, as Missouri's parental deeming does (d2045e7dc6). In medicaid_parental_medical_expense_share.yaml Case 5, parent ids name the mother, SSI flags her husband too, and only her $1,000 of expenses reaches the child. Missouri doesn't reach is_medically_needy_for_medicaid today.

Test plan

  • For policy changes: new is_ssi_ineligible_parent.yaml with 27 cases, 12 new cases in from_ineligible_parent.yaml, 6 in the Medicaid deeming YAML (Cases 4-9), one new case in ssi_resources_deemed_from_ineligible_parent.yaml and Case 5 in medicaid_parental_medical_expense_share.yaml, with expected values worked by hand from 20 CFR 416.1160(d), 416.1161, 416.1163, 416.1165, 416.1166 and 416.1205, POMS SI 01320.620 B.6 and D.2, POMS SI 01320.630 B.1, POMS SI 01415.058 and MHABD 0805.020.15. They cover the POMS household, the same pattern as 416.1166(f) Example 2, an analog of Example 1, the income limit on both sides for one parent and for a couple, both resource limits, the noncitizen test on both sides, a noncitizen parent with an eligible spouse, an ineligible child's allocation, three generations with ids, separate tax units with and without a second income, two unmarried parents, a default marital unit, a California parent due the supplement, a California couple whose income rules it out, the California couple from round 1, a Michigan parent at home, a California parent before 1991, New Jersey and Vermont parents still due the supplement, New Jersey's and Vermont's couple rates, a California joint claim, a New Jersey joint claim, a lone California parent's allowance, separate tax units with a disabled child in each, a sibling in the other tax unit, a father with a pension in another tax unit and no ids, a stepparent with no ids, the same cross-unit pool for Ohio Medicaid, the monthly resource divisor and six Missouri households.
  • One case from main is re-expected and renamed in ssi_resources_deemed_from_ineligible_parent.yaml, as "In-kind support" above describes. Its inputs are unchanged.
  • integration_tests.yaml Case 6 changes because both parents live with the child, so the couple rate applies. Income deemed to the child goes from $17,886 to $12,090 ($29,490 - $17,400), and the child's countable income from $17,646 to $11,850. Its SSI stays $0. The case now sits in Texas with the same numbers, where no state supplement enters the parents' test.
  • If this PR takes a reading where sources disagree: candidates us:ssi-parental-child-allocation-order and us:ssi-parent-allowance-state-supplement in source_conflicts/candidates.yaml, both ruled, as above. The register entry and the # Source conflict marker follow the merge, as CONTRIBUTING.md#source-conflicts sets out.
  • make format (ruff format on the changed variables)
  • Changelog fragment in changelog.d/

Run locally, one process at a time. Round 4: is_ssi_ineligible_parent.yaml, 27 cases pass. Round 3: the PR's six test files (the five below plus medicaid_parental_medical_expense_share.yaml), 106 cases pass, before and after merging main at cc486336d7. Earlier: the PR's five test files (is_ssi_ineligible_parent.yaml, from_ineligible_parent.yaml, the Medicaid deeming YAML, ssi_resources_deemed_from_ineligible_parent.yaml and integration_tests.yaml), 92 cases pass; eight state test files that involve parents in the affected states, 250 pass. On the merged code with d2045e7dc6, those five files plus #10629's medicaid_parental_medical_expense_share.yaml, is_medically_needy_for_medicaid.yaml, is_209b_ssi_recipient_for_medicaid.yaml and is_optional_senior_or_disabled_for_medicaid.yaml: 197 pass. Other suites were not run locally; CI validates.

axiom: TheAxiomFoundation/rulespec-us#2007 queued

🤖 Generated with Claude Code

hua7450 and others added 2 commits November 2, 2026 22:18
A flagged parent married to an unflagged spouse takes the couple rate, so
20 CFR 416.1166(e)(1) holds. With parent ids, only a child's named parents and
their spouses are flagged. The parent's test takes child allocations first.
Missouri keeps its stepparent exclusion and parent allowance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DTrim99

DTrim99 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

PR Review: Deem income from a disabled parent who is not eligible for SSI

Summary

The core reading is right. 20 CFR 416.1160(d) defines an ineligible parent as "a natural or adoptive parent, or the spouse ... of a natural or adoptive parent, who lives with you and is not eligible for SSI benefits." Nothing in it exempts an aged, blind or disabled (ABD) parent, so main's rule that an ABD parent never deems was wrong. POMS SI 01320.630 A covers exactly this group: "When a parent or parents have filed for SSI, but are ineligible (or become ineligible) because of excess income, use the following rules to determine eligibility and payment amount for the eligible child(ren)."

After this PR:

  • Disabled parent who isn't eligible. A disabled parent whose income, resources or noncitizen status rule out SSI now deems.
  • Eligible parent. A parent who is eligible still deems nothing (416.1165(g)(1)).
  • Eligible parent with an ineligible spouse. Here 416.1166(e)(1) holds: the flagged spouse takes the whole couple rate. For states without a federally administered supplement I checked that this is exact. If the ABD parent stays eligible, couple countable income ≤ couple rate, so the spouse's own countable income after allocations is also ≤ the couple rate, and nothing is deemed. If the ABD parent fails, both parents are flagged and pooling gives couple countable − couple rate, which is the SI 01320.620 D.2 figure.
  • Stepparents. A stepparent is reached only through a co-resident named parent (SI 01320.500 A.1).
  • Missouri. The Missouri branch matches MHABD 0805.020.15.
  • No circularity. The flag reads none of is_ssi_eligible, ssi, ssi_countable_income or the living arrangement, so there is no cycle. CI is green.

One point is critical. The parent's test and the parental allocation use the federal benefit rate alone. In states where SSA administers the state supplement (California most of all), a parent who still gets that supplement is a Title XVI recipient. Binding regulation excludes their income from deeming, and the 416.1166 sentence the PR relies on defines "SSI benefits" to include the supplement. This regresses single disabled parents in California against main. It also leaves the California integration case the PR edits wrong.

Two points are SHOULD:

  1. The couple rate is now subtracted for a spouse who files elsewhere while that spouse's income stays out of the pool. When that spouse has income, the result moves further from the law than main.
  2. Two terms are not pinned by any test.

I hand-checked 15 expectations, ran the PR head on four extra households, and checked the two unpinned terms by deleting them.

Critical (must fix)

  1. is_ssi_ineligible_parent.py:47–52 and ssi_ineligible_parent_allocation.py:38–47: the federally administered state supplement is ignored on the parent side.
    • Benefit rate. The parent's income test compares countable income with p.amount.couple or p.amount.individual only. The allocation subtracts only the federal rate.
    • Supplement counts as a PIM payment. 20 CFR 416.1142(a)(2) lists among public income-maintenance payments those made under "Title XVI of the Social Security Act (SSI, including federally administered State supplements ...)".
    • Its income is excluded from deeming. 20 CFR 416.1161(a)(2) says we do not include, for an ineligible spouse or parent, "Any public income-maintenance payments your ineligible spouse or parent receives, and any income which was counted or excluded in figuring the amount of that payment."
    • 416.1166 includes the supplement. The opening paragraph of 20 CFR 416.1166 says: "For the purpose of this section, SSI benefits include any federally administered State supplement." (e)(2) deems only the spouse's income "which was not used to reduce your SSI benefits to zero."
    • POMS SI 01320.620. B.6 says: "if the parent is eligible for a federally-administered State supplement, that State supplement must be reduced to zero before deeming any excess income to the eligible child(ren)". C.3 says: "any income in excess of the amount required to reduce the parent's FBR and any federally administered State supplement to zero is deemed to the child".
    • POMS SI 01320.630. B.1 says, for a single or two-parent case: "If a benefit is payable, there is no income to deem to the child(ren) ... Only the countable income in excess of what is required to reduce the parents' FBR and any Federally-administered State supplement to zero is available for deeming."
    • Reproduced at the PR head: California 2026, a single disabled parent aged 45 with a $14,000 pension and a disabled child aged 10.
      • The parent's countable income is $13,760, or $1,146.67 a month. That is above the $994 federal rate but below California's $1,233.94 SSI/SSP standard, so the parent is due $87.27 a month ($1,047.28 a year) of SSA-administered supplement.
      • The same simulation pays this unit $2,214.52 of ca_state_supplement.
      • Even so, the PR flags the parent and deems $13,760 − $11,928 = $1,832. The child's SSI falls from $11,928 on main to $10,336.
      • By the rules above, nothing should be deemed, so main was right for this household and the PR regresses it.
      • Above the band, the PR deems the supplement amount too much.
    • California 2026, married: a disabled parent with no income, a spouse earning $40,000 and a disabled child.
      • Couple countable income is $19,490, or $1,624.17 a month. That is below the $2,098.83 couple SSI/SSP standard, so the parent is still due supplement and 416.1166 deems nothing.
      • The PR deems $1,598, and the child's SSI is $10,570. Main deemed $7,562, so the PR is closer to the law but still wrong.
    • integration_tests.yaml Case 6 (line 202), which this PR edits.
      • This is California, 2025. Couple countable income is $2,457.50 a month, against the model's own $2,057.83 couple SSI/SSP standard. So 416.1166(e)(2) deems about $399.67 a month: $4,796.04 a year. The child's countable income is then $4,556.04, and the child's SSI about $11,604 − $4,556.04 = $7,047.96.
      • The edited expectation ([0, 0, 12_090] at line 241, child SSI $0) subtracts only the federal couple rate. The figure above uses the model's California couple standard; SSA's level for this living arrangement is in POMS SI 01415.058.
    • What the documentation says. The PR body's "Not modeled" bullet lists only the child-side cap in 416.1165(e)(3). The rulespec-us issue lists "the federally administered State supplement in 416.1165(e)(3) and 416.1166" as out of scope. Even so, its companion case 22 asserts the federal-rate-only California figure.
    • Fix.
      • Add the parent's federally administered supplement standard to the benefit rate in the parent's test and to the parental allocation, as SI 01320.620 C.3 and SI 01320.630 B.1 do. The tree already carries the California, Hawaii, Rhode Island and other levels from POMS SI 01415.058.
      • Read those parameters directly. The state supplement variables reach this flag through meets_ssi_resource_test → ssi_resources_deemed_from_ineligible_parent → ssi_countable_income, so reading them would create a cycle.
      • If that is out of scope here, at minimum don't flag an ABD parent on income alone in states where SSA administers the supplement, which keeps main's correct result in the band. Then document the remaining gap in the PR body.
      • Either way, move integration Case 6 out of California or assert the 416.1166 result. Add a California case in is_ssi_ineligible_parent.yaml on each side of the SSI/SSP standard, and update rulespec-us#2007 to match.

Should address

  1. ssi_ineligible_parent_allocation.py:43 with ssi_unearned_income_deemed_from_ineligible_parent.py:22, 33: a spouse filing elsewhere gets the couple rate, but their income stays out of the pool.

    • The has_spouse branch gives the flagged parent the whole couple rate when the spouse is in another tax unit. The deeming pool, however, still sums only the child's tax unit.
    • With ids naming the mother, a mother earning $48,000 in the child's tax unit and a father earning $30,000 in his own (Ohio, 2026) give:
      • Law (416.1160(d), 416.1165(d)(3)(i)): (78,000 − 240 − 780) / 2 − 17,892 = $20,598.
      • Main: (48,000 − 240 − 780) / 2 − 11,928 = $11,562.
      • PR, as run at the head: 23,490 − 17,892 = $5,598. The child's SSI is $6,570.
    • The PR is exact only when that spouse has no income, which the "Separate filers" limit admits. Otherwise it widens main's error from $9,036 to $15,000.
    • The resource side already handles this case. _ssi_unlinked_parental_resource_pool adds "spouses who file elsewhere" to the deemors.
    • Fix: add a flagged co-resident spouse's earned and unearned income to the pool wherever that spouse files. Pin it with this household.
  2. Two terms that no test pins.

    • is_ssi_ineligible_parent.py:65–66: | person("is_ssi_qualified_noncitizen", period). Every noncitizen ABD parent in the tests fails the qualified-noncitizen test.
    • ssi_ineligible_parent_allocation.py:44: count_ineligible_parents == 2 → couple / 2, for two ineligible parents in one tax unit with no spouse between them. The PR body claims this case ("as do two ineligible parents there with no spouse between them"), but every two-parent test pair is a married couple and takes the first branch.
    • I deleted both terms and ran the PR's four test files plus the NH, NV, OK, PA and WY supplement files that assert parental deeming. All 161 cases still pass.
    • Fix: add a disabled permanent-resident parent with 40 qualifying quarters and no income (not flagged, deems $0, child $11,928). Also add two unmarried co-parents whose ids are named by the child, in one tax unit (couple rate shared, $8,946 each).

Suggestions

  1. Public income-maintenance exclusion (pre-existing, model-wide).
    • 416.1165(d) says: "We do not deduct an allocation for a parent who is receiving public income-maintenance payments". 416.1161(a)(2)–(3) also excludes the income used to compute such a payment.
    • POMS SI 01320.141 A lists TANF, Title XVI (including federally administered and mandatory state supplements), need-based state and local assistance and, "effective 9/30/2024", SNAP. SI 01320.500 B.4 repeats the no-allowance exception.
    • Neither the model's spouse deeming nor its parent deeming applies this exclusion. Main never did either. This PR rewrites the (d)(3) allocation but not the (d) exception.
    • Since SNAP counts, the exclusion would zero deeming for many low-income families with a disabled child, so it deserves its own issue. Drop the allowance only together with the income exclusion: dropping it alone would deem more.
  2. Resource test (is_ssi_ineligible_parent.py:59–61).
    • person.marital_unit.sum(resources) also sums a child's resources when the situation has no marital units: the default unit holds everyone, as in Case 14. resources + where(spouse >= 0, resources[spouse], 0) uses the spouse index the line already computes.
    • meets_ssi_resource_test counts a non-ABD spouse's ssi_resources_for_deeming, which carries the 416.1202(a)(2)–(3) military exclusions, not ssi_countable_resources.
  3. Candidate us:ssi-parental-child-allocation-order (source_conflicts/candidates.yaml:10843).
    • years: 2026–2026 understates the conflict. The formula is undated, and both sources apply every year.
    • The Medicaid deeming variable follows the same order and could be listed under pe_us.code.
    • The note could also say that SI 01320.630 is the manual's instruction for exactly the parents this PR newly flags: parents "ineligible because of excess income". SI 01320.500 C, the general procedure, uses the regulation's order.
  4. ssi_ineligible_parent_allocation.py:15. The documentation string "The amount of income that SSI does not to SSI claimants." is garbled. Fix it while touching the file.
  5. Medical expenses. As the PR body notes, a flagged ABD parent's expense can now enter both the child's and the parent's own test in is_medically_needy_for_medicaid. Worth an issue, so the same expense isn't deducted twice.
  6. Take-up. Treating an eligible parent who doesn't take up SSI as eligible is a reasonable, documented choice. 416.305 makes an application a condition of eligibility, so note that in the variable's comment, next to the link to Fix SSI spousal deeming for in-kind support and for aged, blind or disabled spouses who are not eligible #10243.

Verified correct

  • Definition and test.
    • 416.1160(d), 416.1165 and 416.1166 were read in the current eCFR. POMS SI 01320.500, .620, .630 and .141 were read at SSA.
    • An ABD parent is tested on own income (or the couple's on a joint claim, or own plus spouse-deemed under 416.1163(d)(2)), against the individual or couple rate. "Not more than" at the boundary matches 42 USC 1382(a)(1)(A) and 416.1163(d)(1).
    • The parent's resources are tested against the couple limit with a spouse (416.1205(a)–(c)). The noncitizen gate is the same as in is_ssi_eligible.
  • Who deems.
    • Parents are taken from parent ids, which are limited to the eligible child's own parents through the new children argument of linked_child_count. A spouse counts only when the named parent is co-resident.
    • Without ids, the tax-unit proxy matches main.
    • The grandparent case (Case 12) and the stepfather's-own-child case (Missouri Case 6) pin the children filter.
  • Allocation. Allocations follow 416.1165(d)(3)(i)–(ii) and SI 01320.500 B.4: the couple rate for both parents or for a parent and spouse, the individual rate for one. An unmarried co-parent alongside an SSI parent gets the individual rate, which matches the PIM exception in SI 01320.500 B.4 and SI 01320.141 B.
  • Resource deeming. ssi_resources_deemed_from_ineligible_parent (416.1202(b)) is unchanged and consistent: Case 11 deems the $1 excess.
  • Missouri. "Do not deem the income of any other persons in the home, including a stepparent", step 1's allocation for "each minor child ... not applying for MA", and step 8's allowance "for the number of parents in the home whose income was used in deeming" are all implemented. The two exceptions are documented as not modeled.
  • Code health.
    • Index lookups on −1 are guarded, and periods are YEAR throughout.
    • No new state-gated int or enum key is added (the NH Add New Hampshire state supplementation for 2026 #10156 pattern does not apply).
    • The Cornell anchors #d, #d_3 and #e_1 resolve.
    • The changelog fragment is a top-level .fixed.md.
    • The new tests are in the variable-named is_ssi_ineligible_parent.yaml.
    • No added comment matches the source-conflict ratchet's patterns. The allocation-order conflict is recorded as a ruled candidate.
  • Partner tests. The PR edits no partner test file, and they pass at the head. Since the merge base, main has changed three partner files (CDCC, EITC, CA state supplement). None has a household with parental deeming. No partner gate is needed.
  • Hand checks (2026 rates of $994 and $1,491 unless noted):
    1. Case 2: 60,000 − 240 = 59,760 > 11,928; deemed 59,760 − 11,928 = 47,832; the child's 47,592 > 11,928, so SSI is $0.
    2. Cases 4/5: 12,168 − 240 = 11,928, equal to the rate, so not flagged. 12,169 gives 11,929, so flagged.
    3. Case 8: 20,000 − 240 = 19,760; 19,760 − 17,892 = 1,868; 11,928 − (1,868 − 240) = 10,300.
    4. Case 9: 14,760 ≤ 17,892; (17,892 − 14,760) / 2 = 1,566 each.
    5. Cases 10/11: 2,500 ≤ 3,000, so not flagged. 3,001 > 3,000, so flagged, with $1 of resources deemed and the child's SSI kept at 11,928.
    6. Case 13: (1,491 − 994) × 12 = 5,964; 22,000 − 5,964 − 240 = 15,796 ≤ 17,892; parent's SSI 17,892 − 15,796 = 2,096.
    7. POMS household (2025): (3,350 − 20 − 65) / 2 = 1,632.50 > 1,450; deemed 182.50 × 12 = 2,190; child (182.50 − 20) × 12 = 1,950; SSI (967 − 162.50) × 12 = 9,654; parent's countable 1,632.50 × 12 = 19,590.
    8. Example 1 analog: (3,000 − 85) / 2 = 1,457.50 ≤ 1,491; SSI (1,491 − 1,457.50) × 12 = 402; countable 17,490.
    9. Noncitizen boundary: 18,132 / 12 − 20 = 1,491, equal to the rate, so the spouse stays eligible and $0 is deemed. 18,144 gives 1,492, so (1,492 − 1,491) × 12 = 12 deemed, which the child's $240 exclusion covers.
    10. Separate tax units: (48,000 − 240 − 780) / 2 = 23,490; 23,490 − 17,892 = 5,598; 5,598 − 240 = 5,358; 11,928 − 5,358 = 6,570.
    11. Missouri Case 4: SSI (168,000 − 1,020) / 2 − 17,892 = 65,598; Missouri (48,000 − 1,020) / 2 − 11,928 = 11,562.
    12. Missouri Case 5: 15,000 − 240 = 14,760 ≤ 17,892, so SSI deems 0; Missouri 14,760 − 11,928 = 2,832.
    13. Missouri Case 6: SSI (168,000 − 5,964 − 1,020) / 2 − 17,892 = 62,616; Missouri (48,000 − 5,964 − 1,020) / 2 − 11,928 = 8,580.
    14. Integration Case 6 (2025): 29,490 − 17,400 = 12,090; 12,090 − 240 = 11,850 > 11,604. The arithmetic is right, but the law is wrong; see Critical 1.
    15. Candidate example: regulation (48,000 − 5,964 − 1,020) / 2 − 11,928 = 8,580; POMS (48,000 − 1,020) / 2 − 11,928 − 5,964 = 5,598.

Axiom line assessment

axiom: TheAxiomFoundation/rulespec-us#2007 queued is valid.

  • The issue is OPEN and labelled pe-parity, and it names head ad5aaee77f.
  • It is dispatch-ready: it has module paths, corpus citation paths with status, verbatim 416.1160(d), 416.1163, 416.1165, 416.1166, 416.1205, the POMS sections and MHABD 0805.020.15, required outputs, and 26 hand-derived companion cases.
  • The blockers are recorded: sources missing from the bundles, and billed runs needing approval.
  • When Critical 1 is fixed, update the scope line ("Out of scope: the federally administered State supplement in ... 416.1166") and companion case 22.

CI status

All 34 checks pass at ad5aaee77f (re-checked with gh pr checks 10630). None is pending.

Branch status

  • The branch is 87 commits behind main and 4 ahead (2 authored commits and 2 merges of main).
  • git merge-tree --write-tree PolicyEngine/main ad5aaee77f is clean.
  • Main has since changed source_conflicts/candidates.yaml, which merges cleanly. It has also merged Compute the California state supplement per person #10601 ("Compute the California state supplement per person"). The California supplement figure in Critical 1 is from the PR head. After Compute the California state supplement per person #10601, the parent's own supplement in that household is 12 × 1,233.94 − 13,760 = $1,047.28. Re-run CI after merging main.

Verdict: REQUEST_CHANGES

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes: 1 critical (the parent test and allocation ignore the federally administered state supplement, so in California a disabled parent still due SSP is treated as an ineligible parent and their income is deemed: the child's SSI falls from $11,928 to $10,336, and the edited Case 6 expects $0 where 416.1166 gives about $7,048), 2 should (a spouse filing elsewhere gets the couple rate but their income stays out of the pool; two terms unpinned). The core 416.1160(d) reading is right. Full report in the comment above.

hua7450 and others added 3 commits November 11, 2026 19:35
…on income alone

20 CFR 416.1166 counts a federally administered State supplement as an SSI
benefit, and 416.1161(a)(2) leaves out of deeming the income of a parent who
receives one (POMS SI 01320.620 B.6). In the 12 states of POMS SI 01415.058 A,
an aged, blind or disabled parent is no longer treated as ineligible on income
alone. The supplement level itself is not modeled here: there, a parent whose
income also rules out the supplement deems nothing, as on main.

A parent's spouse who lives with the child and files in another tax unit now
has their income counted with the parent's, matching the couple rate the
allocation already subtracts (20 CFR 416.1160(d), 416.1165).

Tests: a California parent between the federal rate and the SSI/SSP standard,
the pooled-wages household, and cases that pin the qualified-noncitizen term
and the couple rate shared by two unmarried parents. Integration Case 6 moves
from California to Texas.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Main's case "Monthly food income changes the resource divisor only in
December 2024" has a 70-year-old parent over the resource limit. This
branch makes that parent an ineligible parent (20 CFR 416.1160(d)), so the
children are in a parental household, where food the parent provides is
not income (20 CFR 416.1148(b)(1)). The child's countable income is 680 in
every month, both children stay eligible, and each is deemed half of the
parent's 4,000 excess (POMS SI 01330.200 B).

The case keeps its inputs, is renamed, and expects those values in January,
November and December, following the project lead's choice of 2026-11-11.
The inputs cannot say that food comes from outside the household, where it
would count through November 2024; the case's comment says so.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@hua7450

hua7450 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for another look. Your change requests of 5 November are covered under "Changes since review, 2026-11-11" at the top of the description:

  • In the 12 states where SSA pays the state supplement, a parent is no longer treated as ineligible on income alone. The full fix, which adds each state's supplement level, is listed under Limits.
  • A parent's spouse who files in another tax unit now has income counted with the parent's.
  • The qualified-noncitizen test and the couple rate shared by two unmarried parents are pinned.
  • The branch is merged with main at 23a7c9a8f4, with one of main's new cases re-expected as the description explains. All 36 checks pass.

A law check on 11 November added one limit, "Payments based on need", with no code change.

@hua7450
hua7450 requested a review from DTrim99 November 12, 2026 16:14
@DTrim99

DTrim99 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

PR Review (round 2): Deem income from a disabled parent who is not eligible for SSI

Summary

Head 7913816796 (round 1 was at ad5aaee77f). Three commits since: the fix commit 1e1333b7d8, an automatic merge of main, and a commit that re-expects one of main's cases.

What the fix commits get right:

  • The household round 1 cited is fixed and pinned. A lone California parent between the federal rate and the SSI/SSP standard deems nothing again (is_ssi_ineligible_parent.yaml Case 15).
  • A spouse filing elsewhere is pooled when parent ids name the parent, and the case is pinned.
  • Both unpinned terms from round 1 are pinned.
  • The list of 12 states is SSA's. It matches POMS SI 01415.058 A. Main has no such list, so the new parameter doesn't duplicate anything.
  • The merge was automatic and the re-expectation is in its own commit.
  • The two law checks hold. "In-kind support" and "Payments based on need" both read the regulations correctly.

What blocks approval:

  • Two results are now wrong and further from the law than main. Neither is disclosed.
    1. In the 12 states, a parent's spouse takes the whole couple rate while the parent's own income stays out of the pool. A California family with a disabled parent on an $18,000 pension and a spouse earning $36,000 deems $0. Main deems $5,562, and the law at least $10,184.
    2. The new cross-unit pool is divided by one tax unit's children. Two spouses filing separately, each claiming a disabled child, deem the pooled amount to each child: twice what 416.1165(e)(2) gives.
  • Three SHOULD items.
    1. Six of the 12 states have no federally administered supplement for a person living at home, and three more limit it. There the rule switches off this PR's own fix with no basis in the cited source.
    2. Round 1's separate-filer finding is fixed only with parent ids and only on the SSI side.
    3. The re-expected case no longer pins the monthly resource divisor main added the day before.

I ran the PR head on ten households and main on five, hand-checked the six new or changed expectations, and checked each new term by deleting it.

Prior findings

Finding Status Evidence
Critical 1: federally administered supplement ignored on the parent side Fixed for the lone parent in the band, with the smaller fix. Not fixed for couples: see new Critical 1 and Should 1. Case 15 expects [false, false], $0 deemed and $11,928. Deleting | federally_administered (is_ssi_ineligible_parent.py:72) flags the parent and deems $1,832, so the case fails. Integration Case 6 moved to Texas, where no federally administered supplement exists. rulespec-us#2007 was updated. The supplement level itself is deferred and listed under "Supplement level".
Should 1: spouse filing elsewhere gets the couple rate, income stays out Fixed with parent ids. Open without ids, in the Medicaid variable, and for two eligible children in two units: see new Critical 2 and Should 2. "Married parents in separate tax units pool both parents' wages" expects $20,598. Deleting where(spouse_files_elsewhere, earned[spouse], 0) (line 41) gives $5,598, so the case fails.
Should 2: two unpinned terms Fixed Case 16: deleting | person("is_ssi_qualified_noncitizen", period) flags the permanent resident, and [false, false] fails. "Unmarried parents in one tax unit share the couple rate": deleting count_ineligible_parents == 2 gives two individual rates, $23,856, which deems $0 where the case expects $5,598.
Suggestion 1: public income-maintenance exclusion Documented, not tracked New limit "Payments based on need". No issue is linked (Should 1, last bullet).
Suggestion 2: resource test sums the whole marital unit Open is_ssi_ineligible_parent.py:81 is unchanged. Main now has _ssi_couple_total, which adds only the spouse.
Suggestion 3: candidate years: 2026–2026 Open source_conflicts/candidates.yaml:13984–13986 is unchanged.
Suggestion 4: garbled documentation string Open ssi_ineligible_parent_allocation.py:15 still reads "The amount of income that SSI does not to SSI claimants."
Suggestion 5: medical expense counted twice Open Still a "traced, not executed" note in the description; no issue.
Suggestion 6: take-up comment Open No comment in the variable.

New findings

Critical (must fix)

  1. is_ssi_ineligible_parent.py:66–72 with ssi_ineligible_parent_allocation.py:43: in the 12 states, a parent's spouse gets the couple rate while the parent's own income never joins the pool.

    • What the code does. The 12-state rule keeps every ABD parent off the flag on income, at any income. The allocation's second branch then gives that parent's flagged spouse the whole couple rate, because the parent "stays eligible". Outside the 12 states that is tested: an unflagged ABD parent has couple countable income within the couple rate, so the couple rate deems nothing, as 416.1166(e)(1) requires. In the 12 states it is assumed.
    • The law. 20 CFR 416.2025(b)(4) pays no supplement where countable income "is equal to or exceeds" the federal rate plus the state rate. 416.1166(e)(2) then deems "any of your spouse's income which was not used to reduce your SSI benefits to zero". POMS SI 01320.630 B.1 makes the same point for the parents together: "Only the countable income in excess of what is required to reduce the parents' FBR and any Federally-administered State supplement to zero is available for deeming."
    • Household: California 2026, a disabled parent aged 45 with an $18,000 pension, a spouse earning $36,000 and a disabled child aged 10, in one tax unit.
      • Couple countable income is (1,500 − 20) + (3,000 − 65) / 2 = $2,947.50 a month. That is above California's $2,098.83 couple standard (POMS SI 01415.058 B), so the parent is due neither SSI nor the supplement.
      • Law: 2,947.50 − 2,098.83 = $848.67 a month, $10,184 a year. The child's federal SSI is (994 − 828.67) × 12 = $1,984.
      • Main (run): the spouse alone, (36,000 − 240 − 780) / 2 − 11,928 = $5,562. The child's SSI is $6,606.
      • Head (run): ssi_ineligible_parent_allocation is $17,892 for the spouse, $0 is deemed, and the child's SSI is $11,928.
      • The same family in Ohio at the head (run): $17,478 deemed, child's SSI $0.
    • Size. Whenever the parent's own income rules out the supplement, the head deems $5,964 a year less than main (the couple rate less the individual rate), and main was already below the law. A $40,000 pension gives the same $0 and $11,928.
    • Not disclosed. "Supplement level" says such a parent "deems nothing, as on main". That is true of the parent's own income. It is not true of the spouse's allocation, which was the individual rate on main.
    • Where the head is better than main. A parent with little income of their own: the California couple round 1 cited deems $1,598 at the head (run), against $7,562 on main and $0 in law.
    • Fix.
      • Preferred: test the parent against the federal rate plus the own-household federally administered level, and add that level to the allocation. Few states have such a level (Should 1), and California's is already a parameter. The allocation's premise is then tested everywhere.
      • At minimum: where the 12-state rule alone keeps the parent off the flag (countable income above the federal rate), give the spouse the individual rate, as main does. That restores main for this household. It also returns the cited California couple to main's $7,562, so say so under Limits.
      • Either way, pin it with this household.
  2. ssi_unearned_income_deemed_from_ineligible_parent.py:30–53 and :84: the cross-unit pool is divided by one tax unit's children.

    • What the code does. Each spouse's tax unit now pools both spouses' income. The divisor at line 84 and the child allocations at line 56 still count only the child's own tax unit.
    • The law. 20 CFR 416.1165(e)(2): "we divide the parental income to be deemed equally among those eligible children."
    • Household: Ohio 2026, a mother earning $48,000 with her disabled child in her tax unit, and her husband earning $30,000 with his disabled child in his.
      • Law: (78,000 − 240 − 780) / 2 − 17,892 = $20,598, or $10,299 for each child. Each child's SSI is 11,928 − (10,299 − 240) = $1,869.
      • Head (run, without parent ids): $20,598 to each child, $41,196 in all. Each child's SSI is $0.
      • Main (run): $11,562 and $2,562.
    • Reach. Narrow: it needs spouses in separate tax units who each claim an eligible child. The resource side already handles it ("Children in two tax units with the same six deemors share one pool").
    • Fix. When a spouse's income is pooled across units, divide by the eligible children of both units and add the other unit's ineligible-child allocations. Pin it with this household.

Should address

  1. federally_administered.yaml: six of the 12 states have no federally administered supplement for a person living at home, and three more limit it.

    • The source. POMS SI 01415.058 A is the list of participating states, and the parameter matches it. Sections B to M give the living arrangements each state covers, as 20 CFR 416.2030(a)(2) allows:
      • Delaware (C), the District of Columbia (D), Hawaii (E), Michigan (G), Montana (H) and Rhode Island (L): residential, foster or facility care only.
      • Pennsylvania (K): care homes, or living with an essential person.
      • Nevada (I): aged or blind only.
      • Iowa (F): blind, or living with a dependent.
      • California (B), New Jersey (J) and Vermont (M): independent living, all categories.
    • Why it matters. A parent whose income is deemed lives with the child in their own household. In the first six states no federally administered supplement can be due there, and in Pennsylvania, Nevada and Iowa only to some parents. For the rest, 416.1166's sentence gives no reason to keep them off the flag.
    • Household: Michigan 2026, a lone disabled parent with a $60,000 pension and a disabled child. The law deems $47,832 and the child's SSI is $0, as the head gives in Ohio (run). In Michigan the head (run) deems $0 and pays $11,928. That is the bug in SSI: deem income from an aged, blind or disabled parent who is not eligible for SSI #10625, unchanged.
    • Pinning. Only California is exercised. Deleting any of the other 11 entries fails no test.
    • Default state. state_code defaults to California, so a household entered without a state also gets main's result.
    • Fix. Keep California, New Jersey and Vermont. Keep Nevada and Iowa only for the categories SSA supplements, or drop them and say so. Add a case for a state taken off the list.
    • Tracking. The description says "Fixes SSI: deem income from an aged, blind or disabled parent who is not eligible for SSI #10625", and neither "Supplement level" nor "Payments based on need" has an issue. Merging would close the only issue while California, New Jersey and Vermont still show its bug. Open a follow-up issue for each and link them.
  2. Round 1's separate-filer finding is fixed only with parent ids, and only for SSI.

    • No parent ids. The flag reaches a spouse in another tax unit only through spouse_of_named_parent. Without ids the father is not flagged, his income stays out, and the mother still takes the couple rate. Ohio 2026, a mother earning $48,000 with the child and a father earning $30,000 in his own unit (run): $5,598. Main gives $11,562 and the law $20,598, as in round 1. The resource side covers this ("Without parent links a parent's spouse in another tax unit counts").
    • Medicaid. medicaid_optional_senior_or_disabled_unearned_income_deemed_from_ineligible_parent.py:41 and :52 still pool the child's unit alone, and line 71 subtracts the same allocation. With ids, the same family gives $20,598 for SSI and $5,598 for Medicaid (run).
    • Unpinned. where(spouse_files_elsewhere, unearned[spouse], 0) (line 53) and & ineligible_parent[spouse] (line 33). Deleting either fails no case: the father has wages only, and no case has an eligible spouse in another unit.
    • Fix. Flag a co-resident spouse of an unlinked parent as the resource side does, or list this household under Limits. Mirror the pool in the Medicaid variable. Add a father with a pension, and an eligible ABD spouse filing elsewhere.
  3. ssi_resources_deemed_from_ineligible_parent.yaml:2206: the re-expected case no longer pins what main added it for.

    • The case. Main's Fix Missouri TANF grants, territory SNAP limits, Hawaii CCAP income and SSI food timing #10332 added "Monthly food income changes the resource divisor only in December 2024" on 2026-11-11. It pins ssi_resources_deemed_from_ineligible_parent.py:136, which reads the month's countable income where it used to read the annual average.
    • The re-expectation is right under this PR's rule. The 70-year-old parent has $6,000 of resources, over the $2,000 limit, so the parent is an ineligible parent under 416.1160(d). 416.1148(b)(1) then says food or shelter "that person provides is not income to you". The inputs cannot say the food comes from elsewhere. So $700 − $20 = $680 in every month, (6,000 − 2,000) / 2 = $2,000 for each child, and both meet the limit.
    • What is lost. All three months now expect the same values. Restoring the annual average at line 136 fails no case. This was the only case with month-keyed outputs for this variable.
    • Fix. Keep the renamed case and add one that sets the child's ssi_countable_income by month ($1,014.33 in January, $680 in December). January then expects [0, 4_000, 4_000] and December [0, 2_000, 2_000], with no in-kind support involved.

Suggestions

  1. federally_administered.yaml dates. The list is dated 1975 from a 2026 source, and the comment says earlier lists weren't checked. SSA administered New York's supplement until October 2014, for example. Start the value at the earliest year the list is known to hold, or name the years it is safe for.
  2. Changelog wording. The added sentence reads as if the separate-filer rule applied only in the 12 states. Split it in two.
  3. "Payments based on need". The limit is accurate, and a figure would help. New York 2026, a lone disabled parent with a $12,500 pension (run): the parent is flagged, $332 is deemed, and the child's SSI is $11,836 where main and 416.1161(a)(2) give $11,928. The error is at most the state's supplement.
  4. Round 1 suggestions 2 to 6 are still open (table above).

Verified

  • The list of 12. POMS SI 01415.058 A names California, Delaware, the District of Columbia, Hawaii, Iowa, Michigan, Montana, Nevada, New Jersey, Pennsylvania, Rhode Island and Vermont. The parameter matches. California's $1,233.94 in Case 15's comment matches section B.
  • No reinvention. Main has no parameter or variable listing these states. It marks federal administration state by state, through federal_payment_rules in ssi_state_supplement and federal_supplement_payment. Those can't be read here without the cycle the description names.
  • Pairing logic (ssi_unearned_income_deemed_from_ineligible_parent.py:28–35).
    • Both parents in one tax unit are not counted twice: the term requires tax_unit_id[spouse] != tax_unit_id.
    • An unrelated adult is not picked up. _ssi_spouse_index requires a shared marital unit and household and rules out a pair linked by parent ids, and the spouse must be flagged too.
    • A stepparent is reached as "the spouse ... of a natural or adoptive parent" (416.1160(d)). An eligible ABD spouse is left out, which is what 416.1166 requires.
    • The −1 index is masked before use.
  • Periods.
    • The three formulas the fix touches are YEAR-defined. Every variable they read is YEAR-defined too: ssi_earned_income, ssi_unearned_income, ssi_income_deemed_from_ineligible_spouse, ssi_claim_is_joint, is_ssi_spousal_deeming_applies, ssi_countable_resources, is_ssi_qualified_noncitizen, immigration_status, state_code_str and both allocations.
    • _ssi_spouse_index takes the year, as its documentation asks. The list and the rates are read for the year.
    • The MONTH-defined readers (ssi_countable_income, ssi_federal_living_arrangement, the resource variables) receive the year's flag in every month. The re-expected case shows it: $680 in January, November and December.
  • Merge. The merge commit's tree equals git merge-tree of its two parents, so nothing was hand-resolved. The re-expectation is alone in 7913816796, which changes only that file. The case's inputs are unchanged.
  • "In-kind support". 416.1148(b)(1) is read correctly, and the limit ("Support from outside the household") states what the model can't represent.
  • "Payments based on need". 416.1161(a)(2), 416.1165(d) ("We do not deduct an allocation for a parent who is receiving public income-maintenance payments") and POMS SI 01320.141 A (SNAP from 9/30/2024) say what the limit says. 416.1142(a)(2) names only federally administered and State-administered mandatory supplements. An optional supplement a state pays itself comes in through (a)(6), by the definition in 416.1124(c)(2), which is the route the limit cites.
  • Hand checks (2026 rates of $994 and $1,491 unless noted).
    1. Case 15: 14,000 − 240 = 13,760, above 11,928 and below 1,233.94 × 12 = 14,807.28. Not flagged, $0 deemed, child $11,928, parent's federal SSI $0.
    2. Case 16: 40 quarters meets the threshold, so the parent is a qualified noncitizen with no income. Not flagged, $11,928 each.
    3. Pooled wages: (78,000 − 240 − 780) / 2 = 38,490; 38,490 − 17,892 = 20,598; 20,598 − 240 = 20,358 > 11,928, so SSI is $0. Each spouse's allocation is 17,892, and the child's unit sums only the mother's.
    4. Unmarried parents: 17,892 / 2 = 8,946 each; (48,000 − 240 − 780) / 2 = 23,490; 23,490 − 17,892 = 5,598; 11,928 − (5,598 − 240) = 6,570.
    5. Integration Case 6 (Texas, 2025): (5,000 − 85) / 2 × 12 = 29,490; 29,490 − 17,400 = 12,090; 12,090 − 240 = 11,850 > 11,604, so SSI is $0.
    6. Re-expected case (2024): 700 − 20 = 680 < 943; (6,000 − 2,000) / 2 = 2,000 each; 0 + 2,000 ≤ 2,000, so both children meet the test and the parent does not.
  • Code health. No Python test is added. No state-gated key is added. The changelog fragment is a top-level .fixed.md. The new parameter has a description, label, unit and one titled reference.

Axiom

axiom: TheAxiomFoundation/rulespec-us#2007 queued is still valid. The issue is OPEN, labelled pe-parity, and was updated on 2026-11-12. It names head 7913816796 and covers the 12-state rule (interpretation 14), the spouse filing separately (interpretation 8), the re-expected case (interpretation 15) and companion cases for Case 15, Case 16 and the pooled wages. Update it again when the findings above change the behavior.

CI

All 36 checks pass at 7913816796 (re-checked with gh pr checks 10630). None is pending.

Branch

  • The branch is 4 commits behind main and contains main at 23a7c9a8f4.
  • git merge-tree --write-tree PolicyEngine/main 7913816796 is clean.
  • Main's four newer commits touch no SSI or deeming file. source_conflicts/candidates.yaml merges cleanly, and no added comment trips the source-conflict ratchet, which ran green at this head.

Verdict: REQUEST_CHANGES

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes. The household round 1 cited is fixed and pinned, the separate-filer case works when parent ids name the parent, and both unpinned terms are pinned. But the fix commits introduce two results that are wrong in law, neither listed under Limits:

  1. Couple rate without the parent's income, in the 12 states. The 12-state rule keeps every ABD parent off the flag at any income, and the allocation then gives the parent's spouse the whole couple rate. A California disabled parent with an $18,000 pension, a spouse earning $36,000 and a disabled child deems $0 at this head, against $5,562 on main and at least $10,184 under 20 CFR 416.1166(e)(2).
  2. Cross-unit pool divided by one unit's children. Spouses filing separately who each claim a disabled child deem the full pooled amount to each child, twice what 416.1165(e)(2) gives.

Three should-address items follow from the same commits: six of the 12 states pay no federally administered supplement to someone living at home (POMS SI 01415.058 C-M), so the rule switches off this PR's own fix there; the separate-filer fix works only with parent ids and only on the SSI side; and the re-expected main case no longer pins the monthly resource divisor. Fixes and pinning households are in the report above. CI is green at 7913816796.

hua7450 and others added 3 commits November 12, 2026 13:23
Replace the blanket rule for the 12 states where SSA administers the
supplement, and its parameter, with a test against the federal rate plus
the state's at-home supplement in California, New Jersey and Vermont, the
only three that pay one to a parent at home in every category (POMS SI
01415.058). The parents' allowance adds the same supplement (POMS SI
01320.630 B.1; 20 CFR 416.1166(e)(2)), so a California parent whose own
income rules out the supplement deems the excess, and a Michigan parent
is tested on the federal rate.

When a deeming spouse files in another tax unit, divide the pooled income
among both units' eligible children and allocate for both units'
ineligible children (20 CFR 416.1165(e)(2), (b)). Flag the spouse of any
parent of an eligible child, linked or not, as the resource side does,
and pool such a spouse in the Medicaid parental deeming variable too.

Pin the monthly resource divisor with a month-keyed case, and rewrite the
allocation's documentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With PR 10629 on main, medicaid_parental_medical_expense_share reads
is_ssi_ineligible_parent, which counts a parent's spouse under 20 CFR
416.1160(d). MHABD 0805.020.15 counts only "the disabled child's natural
or adoptive parent/s whose income is used in determining eligibility"
and says "This does not include a stepparent", so Missouri keeps only the
child's own parents, as its parental deeming already does. Case 5 pins it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hua7450

hua7450 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for another look at d2045e7dc6. "Changes since review, round 2 (2026-11-12)" at the top of the description covers your round-2 report:

  • Critical 1 and Should 1. The 12-state rule and its parameter are gone. An aged, blind or disabled parent is tested against the federal rate plus the at-home supplement in California, New Jersey and Vermont, and the parents' allowance includes it (POMS SI 01320.630 B.1). The other nine states are tested on the federal rate. Your California household now deems $10,184.04 (Case 17) and your Michigan household $47,832 (Case 19).
  • Critical 2 and Should 2. A cross-unit pool is divided among both units' children and allocates for both units' ineligible children, a spouse filing elsewhere counts without parent ids, and the Medicaid variable pools the same way.
  • Should 3. A case sets the child's countable income by month and pins the monthly divisor.
  • Tracking. Payments based on need is Leave a deemor's income out of SSI deeming when they receive a payment based on need #10852.
  • Merged with main (now holding Let Missouri aged, blind and disabled people who don't receive SSI spend down #10629), and the Missouri parental expense share leaves out a stepparent (medicaid_parental_medical_expense_share.yaml Case 5).

The changed test files pass locally, including on the merged code (197 cases).

@hua7450
hua7450 requested a review from DTrim99 November 12, 2026 19:33
@DTrim99

DTrim99 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

PR Review (round 3): Deem income from a disabled parent who is not eligible for SSI

Summary

Head d2045e7dc6 (round 2 was at 7913816796). Three commits since: the fix commit bcb9fe2039, an automatic merge of main at 24939d2701 (which holds #10629), and d2045e7dc6 for Missouri's parental expense share.

What the fix commits get right:

What blocks approval:

  • CI is red, and the PR causes it. The new supplement helper reads California's rates in every state and every year. They start in 1991, so any SSI calculation before 1991 now raises an error. Five cases in three files the PR did not change fail.
  • Missouri's allowance for a spouse filing elsewhere is not counted, by my reading. The pool takes both parents' income and subtracts one parent's allowance, $5,964 too little.
  • Three SHOULD items: new terms in the cross-unit pool that no case pins, New Jersey and Vermont with no case at all, and a lone parent's allowance that follows the POMS where the regulation names the federal rate alone.

Basis: no code was run in this round. Claims rest on the CI logs of run 43281779709, on reading the head, on hand traces, and on round 2's runs for what the earlier head gave.

Prior findings

Finding Status Evidence
Critical 1: in the 12 states a parent's spouse takes the couple rate while the parent's income stays out Fixed and pinned, but the fix raises an error before 1991 (new Critical 1) Case 17 expects flags [true, true, false], $12,592.98 for each parent and $10,184.04 deemed. Round 2 ran this household at the earlier head: $0. By my reading, taking the supplement out of the allocation gives 35,370 − 17,892 = $17,478, and reading only the parent's own level gives the spouse $8,946, so the case holds both terms. Case 18 holds the supplement in the parent's test: without it the parent is flagged where the case expects [false, true, false].
Critical 2: the cross-unit pool is divided by one tax unit's children Divisor fixed and pinned. The matching child allocations are not pinned (new Should 1). "Married parents in separate tax units divide the pooled income among both units' children" expects $10,299 and $1,869 for each child. Round 2 ran it at the earlier head: $20,598 each.
Should 1: nine of the 12 states pay no federally administered supplement to every parent at home Fixed. New Jersey and Vermont have no case (new Should 2). The parameter is deleted. Case 19 puts Michigan on the federal rate (round 2's run at the earlier head: $0). Nevada and Iowa are listed under Limits. #10852 is open and carries the New York figure.
Should 2: the separate-filer fix needed parent ids and stopped at SSI; two terms unpinned No ids: fixed and pinned. Medicaid: fixed for Ohio, wrong for Missouri's allowance (new Critical 2), three terms unpinned (new Should 1). "Without parent ids, a father with a pension in his own tax unit" expects $35,478. By my reading, returning to named_parent leaves the father unflagged, and deleting the pooled unearned term gives $5,598. Medicaid Case 7 expects $20,598 (round 2's run: $5,598).
Should 3: the re-expected resource case no longer pinned the monthly divisor Fixed "Each month's countable income decides which children share the deemed resources". By my reading, an annual average would be (1,014.33 + 680) / 12 = $141.19, below $943 in every month, and January would give $2,000 each where the case expects $4,000.
Round 2 Suggestion 1: the list's dates No longer applies The parameter is deleted.
Round 2 Suggestion 2: changelog wording Fixed The separate-filer rule has its own sentence.
Round 2 Suggestion 3: a figure for "Payments based on need" Fixed The New York household is in the description and in #10852.
Round 1 Suggestion 2: the resource test sums the whole marital unit Open is_ssi_ineligible_parent.py:75 is unchanged.
Round 1 Suggestion 3: candidate years: 2026–2026 Open source_conflicts/candidates.yaml, us:ssi-parental-child-allocation-order, is unchanged.
Round 1 Suggestion 4: garbled documentation string Fixed ssi_ineligible_parent_allocation.py:18–21.
Round 1 Suggestion 5: medical expense counted twice Open Still "traced, not executed" under Limits; no issue.
Round 1 Suggestion 6: take-up comment Open No comment in the variable.

New findings

Critical (must fix)

  1. _ssi_parent_supplement.py:43–70: every SSI calculation before 1991 raises an error, and CI is red.

    • What the code does. The helper reads eight California parameters through parameters(period): the age threshold, the two aged-or-disabled shares, the two food allowances and the three blind shares. All start on 1991-01-01. The read is not limited to California, and is_ssi_ineligible_parent calls the helper for every person. ssi_federal_living_arrangement reads that flag, so ssi_countable_income, ssi and every state supplement reach it. New Jersey's and Vermont's rates go through _rate (lines 7–11), which returns zero before the first value. California's do not.
    • CI. Run 43281779709 at this head, both jobs with the same error: ParameterNotFoundError: The parameter 'gov.states.ca.cdss.state_supplement.payment_standard.aged_or_disabled[age_threshold]' was not found in the 1986-01-01 tax and benefit system (1987 in the Texas file). The traceback ends at is_ssi_ineligible_parent.py:65 and _ssi_parent_supplement.py:44.
      • Baseline (ssa-usda), 3 failed and 318 passed in batch 4:
        • from_ineligible_spouse.yaml, "Example 3 from https://www.law.cornell.edu/cfr/text/20/416.1163#g" (1986). Expected ssi_countable_income: [1_776, 0]; actual: the error.
        • ssi_if_takes_up.yaml, "Case 9, 416.1163(g) Example 3 (Mr. Smith)" and "Case 10, 416.1163(g) Example 2 (Mr. Jones)" (1986).
      • Baseline (states-shard-2), 2 failed and 523 passed in batch 12:
        • tx_ssi_state_supplement_eligible.yaml, Case 12 and Case 13 (1987).
    • Caused by this PR. The three files are identical to main. Main's own runs pass both jobs (20016ebf10, c1950f5362, 5ebb861c32). All 36 checks passed at the round-2 head, before the helper existed. The Texas cases show the error does not depend on the state.
    • Why the local run missed it. The description's local runs cover the changed files and nine others, all from 1991 on.
    • Fix. Read California's parameters through the same guard as New Jersey's and Vermont's, or skip the California block in years its parameters have no value. Add a case before 1991 to is_ssi_ineligible_parent.yaml, so the PR's own file holds it.
  2. medicaid_optional_senior_or_disabled_unearned_income_deemed_from_ineligible_parent.py:79: Missouri's allowance does not count a parent who files in another tax unit.

    • What the code does. deeming_parents = tax_unit.sum(ineligible_parent + spouse_files_elsewhere). Both are boolean arrays, and NumPy adds two boolean arrays as a logical OR. spouse_files_elsewhere is true only for a person who is already an ineligible_parent, so the sum equals the number of parents in the child's own unit, as before the fix. Lines 52–67 do add the other parent's income.
    • The manual. MHABD 0805.020.15 step 8: "The parental living allowance is the SSI maximum for the number of parents in the home whose income was used in deeming."
    • Household: Missouri 2026, a disabled child whose parent ids name both parents, the mother earning $48,000 in the child's tax unit and the father earning $30,000 in his own.
      • Manual: (78,000 − 240 − 780) / 2 = 38,490, less the couple maximum of 17,892, deems $20,598.
      • Head, by my reading (not executed): 38,490 − 11,928 = $26,562.
      • Round-2 head: the mother alone, $11,562.
    • Not pinned. No Missouri case has two tax units. The description says the variable "counts that spouse in Missouri's allowance".
    • Fix. Count the two terms as integers, for example tax_unit.sum(ineligible_parent.astype(int) + spouse_files_elsewhere). Add this household with $20,598 expected. If a run shows the head already gives $20,598, the case alone closes this.

Should address

  1. Five new terms in the cross-unit pool that no case pins.

    • Child allocations across units, SSI (ssi_unearned_income_deemed_from_ineligible_parent.py:48–53). The description says both units' ineligible children get allocations. No case has an ineligible child in the spouse's unit. By my reading, summing the child's own unit alone changes no expectation.
    • The same wrapper in the Medicaid variable (lines 69–74), and its divisor (lines 127–129). Case 7 has one child and one tax unit with children.
    • The Medicaid pool's unearned term (line 66). Case 7's father has wages only.
    • & ineligible_parent[safe_spouse] (_parent_pool.py:21). The description discloses it: "when the spouse filing elsewhere stays eligible, the couple's pooled countable income is within the allowance, so nothing is deemed either way."
      • For SSI that holds, by my reading. A spouse is left unflagged only by staying eligible. If spousal deeming applies, the pool equals the couple's countable income, which the spouse's own test has already held within the couple rate plus the supplement. If it does not apply, the flagged parent's income is at most the $5,964 difference, and the pool stays within the same allowance.
      • For Missouri it does not hold. The Medicaid variable passes Missouri's narrower flag, so this term is what keeps a stepparent who files in another tax unit out of Missouri's pool. Without it, a mother earning $48,000 with the child and a stepfather earning $120,000 in his own unit would deem from both. No Missouri case has a stepparent in another unit.
    • Fix. Three cases cover all five:
      • Ohio, the two-unit, two-child case with a non-disabled sibling in the father's unit: (78,000 − 5,964 − 240 − 780) / 2 − 17,892 = 17,616, or $8,808 for each disabled child. Assert the Medicaid variable too.
      • Add the Medicaid variable to the pension case's outputs.
      • Missouri, ids naming the mother, the stepfather in his own unit: $11,562 for Medicaid and $65,598 for SSI.
  2. _ssi_parent_supplement.py:72–94 and :110–114: New Jersey, Vermont and the joint-claim rate have no case.

    • What is exercised. Cases 15, 17 and 18 are all in California: a lone parent on the individual rate, and a parent with deemed spousal income on the higher of the two rates. Case 19 is Michigan.
    • What is not. By my reading, deleting the New Jersey or Vermont entry from either select, or _rate itself, or the joint branch, changes no expectation. New Jersey's individual rate ($31.25) is above its couple rate ($25.35), so the max_ matters there as it does not in California.
    • Round 2 asked for this for the 12-state list: "Only California is exercised."
    • Fix. One case in each state in 2026, a lone disabled parent inside the band:
      • New Jersey, a $12,400 pension: 12,160 is within 11,928 + 31.25 × 12 = 12,303, so the parent is not flagged and nothing is deemed. In Ohio the same parent deems $232.
      • Vermont, a $12,700 pension: 12,460 is within 11,928 + 55.68 × 12 = 12,596.16.
      • One joint claim in California above 17,892 + 7,293.96.
  3. ssi_ineligible_parent_allocation.py:68–72: a lone parent's allowance follows the POMS where the regulation names the federal rate alone. The choice is not recorded, and no case pins it.

    • The sources.
      • 20 CFR 416.1165(d)(3)(ii) subtracts "The Federal benefit rate for the month for an individual if only one parent lives with you." The section mentions a state supplement only in (e)(3), for the child's own benefit.
      • 20 CFR 416.1166 counts the supplement as an SSI benefit "For the purpose of this section", which covers a parent with an ineligible spouse. That supports Cases 17 and 18.
      • POMS SI 01320.630 B.1 covers every parent ineligible on income: "Only the countable income in excess of what is required to reduce the parents' FBR and any Federally-administered State supplement to zero is available for deeming."
    • Where they differ. A parent with no deeming spouse: a lone parent, or two aged, blind or disabled parents on a joint claim. California 2026, a lone disabled parent with a $60,000 pension:
      • Regulation: 59,760 − 11,928 = $47,832.
      • POMS, and the head by my reading: 59,760 − 14,807.28 = $44,952.72.
    • Round 2 recommended adding the level to the allocation and did not ask for the record. It should have. The POMS reading avoids a cliff at the top of the band, so it may well be the one to keep, but CONTRIBUTING.md#source-conflicts asks for the choice to be written down and ruled.
    • Not pinned. Case 15's parent is unflagged, so the default=level branch never reaches an expectation. By my reading, setting it to zero changes none.
    • Fix. Add a candidate to source_conflicts/candidates.yaml with both readings and this household, and add the household as a case with the reading the model takes. If the regulation's reading is preferred, keep the supplement in the allowance only where 416.1166 applies.

Suggestions

  1. New Jersey before 2026 and Vermont before 2017. _rate returns zero there, so those parents are tested on the federal rate alone. That matches what the model pays in those years. List it under Limits beside Nevada and Iowa.
  2. California's rates are written twice. Lines 44–70 repeat the community rates in ca_state_supplement_rates. That function can't be called here: it reads ssi_federal_living_arrangement, which reads this flag. Moving the community lines into one function both call would keep the two from drifting. It would also carry the blind and no-cooking rates, which no case here reaches.
  3. The no-ids stepparent figure. $65,598 is right by hand: (168,000 − 240 − 780) / 2 − 17,892. The changed term is pinned by the pension case, in two tax units. A one-unit case would hold the figure the description quotes.
  4. Two more Missouri limits to list.
    • medicaid_parental_medical_expense_share sums the child's own tax unit, so a parent filing elsewhere now adds income to the pool and no expenses to the share.
    • Without ids, Missouri treats a father filing in another tax unit as a stepparent, since the tax-unit proxy can't reach him: $11,562 where SSI deems $20,598.
  5. Round 1 suggestions 2, 3, 5 and 6 are still open (table above).

Verified

  • Rates against POMS SI 01415.058, January 2026.
    • California (B): $239.94 and $607.83 for aged or disabled; $324.32, $833.35 and $747.44 for blind; code C adds $128.87 and $257.74.
    • New Jersey (J), code B: $31.25 and $25.35. Code C needs "ONLY their ineligible spouse and NO other persons", so a parent with a child is in code B.
    • Vermont (M), codes A and B: $55.68 and $105.80.
    • The nine other states: sections C to I, K and L are as the description gives them.
  • Individual and couple levels. The helper takes the couple rate on a joint claim, the higher of the two when a spouse's income is deemed, and the individual rate otherwise. That is the standard ssi_state_supplement applies.
  • No dependency cycle. The helper reads parameters and year inputs only: state_code_str, ssi_claim_is_joint, is_blind, age, is_ssi_disabled, living_arrangements_allow_for_food_preparation, is_ssi_spousal_deeming_applies and is_ssi_aged_blind_disabled. The flag already read the two SSI ones in round 2.
  • Periods. All of those are YEAR-defined, as are the three formulas. The monthly rates are read at the start of the year and multiplied by 12. The new resource case sets a MONTH-defined input by month and asserts by month.
  • No reinvention. No variable or parameter on main gives an at-home supplement level without reading the flag. The PR adds no parameter.
  • Hand checks (2026: $994 and $1,491; no code run).
    1. Case 15: 13,760 is within 11,928 + 2,879.28 = 14,807.28. Not flagged, $0 deemed. It was already expected at the round-2 head; the first head gave the child $10,336.
    2. Case 17: 17,760 + (36,000 − 780) / 2 = 35,370, above 17,892 + 7,293.96 = 25,185.96. Each parent 12,592.98; 35,370 − 25,185.96 = 10,184.04; 11,928 − 9,944.04 = 1,983.96.
    3. Case 18: (40,000 − 240 − 780) / 2 = 19,490, within 25,185.96. The spouse's allowance is 25,185.96, so $0 is deemed.
    4. Case 19: 59,760 − 11,928 = 47,832.
    5. Two units, two children: 38,490 − 17,892 = 20,598; the divisor is 1 + 1; 10,299 each; 11,928 − 10,059 = 1,869.
    6. Father's pension: 29,760 + (48,000 − 780) / 2 = 53,370; less 17,892 is 35,478.
    7. Medicaid Case 7: 38,490 − 17,892 = 20,598.
    8. Resource case (2024, $943): the excess is 6,000 − 2,000 = 4,000. In January only the sibling is in the division, so each child is deemed 4,000. In December both are, 2,000 each.
    9. Expense share Case 5: only the mother is the child's own parent, so $1,000.
  • Missouri's expense share. MHABD 0805.020.15 counts "the disabled child's natural or adoptive parent/s whose income is used in determining eligibility" and adds "This does not include a stepparent". The filter applies in Missouri only. Cases 1 to 4 from Let Missouri aged, blind and disabled people who don't receive SSI spend down #10629 are unchanged in the file, and their parents are all the child's own.
  • Merge. The merge commit's tree equals git merge-tree of its two parents. d2045e7dc6 changes only the expense share and its test file.
  • Code health. No Python test, no new parameter, no state-gated key. The changelog fragment is a top-level .fixed.md.

Axiom

axiom: TheAxiomFoundation/rulespec-us#2007 queued is valid. The issue is OPEN, labelled pe-parity, updated 2026-11-12, and names head d2045e7dc6. It covers the at-home supplement (interpretation 14), the cross-unit division and the no-ids spouse (interpretations 6 and 8), Missouri's expense filter (interpretation 12) and cases 31–38. Update it when Critical 2 and Should 3 change the behavior.

CI

26 checks pass, 2 fail and 1 is skipped at d2045e7dc6 (re-checked with gh pr checks 10630; no newer run). Both failures are Critical 1. The PR's own test files passed in the same run.

Branch

  • The head contains main at 24939d2701; main is 13 commits ahead.
  • git merge-tree --write-tree PolicyEngine/main d2045e7dc6 is clean.
  • Main's newer commits touch LIHEAP, the partner-contract guidance and source_conflicts/candidates.yaml, which merges cleanly. None touches an SSI or Medicaid deeming file or the source-conflict ratchet, which ran green at this head.

Verdict: REQUEST_CHANGES

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes. Both round-2 households are fixed and pinned (California $10,184.04, the two Ohio children $10,299 each, Michigan $47,832), the 12-state rule is gone, and the three at-home rates match POMS SI 01415.058. Two things block:

  1. CI is red, and this PR causes it. _ssi_parent_supplement.py reads California's supplement parameters for every person in every state and year. They start in 1991, so any SSI calculation before 1991 raises ParameterNotFoundError. Five cases fail in three files this PR did not change (from_ineligible_spouse.yaml, ssi_if_takes_up.yaml, tx_ssi_state_supplement_eligible.yaml); main passes both jobs. New Jersey's and Vermont's rates already go through a guard that returns zero before the first value; California's need the same.
  2. Missouri's allowance does not count a parent filing elsewhere, by my reading of the code (not run). tax_unit.sum(ineligible_parent + spouse_files_elsewhere) adds two boolean arrays, which NumPy treats as OR, so the count stays at the parents in the child's own unit while the pool now holds both parents' income. A mother earning $48,000 and a father earning $30,000 in his own unit would deem $26,562 where the manual gives $20,598. No Missouri case has two tax units; if a run shows $20,598, the case alone closes this.

Three should-address items: five new terms in the cross-unit pool that no case pins, New Jersey, Vermont and the joint-claim rate with no case, and the lone parent's allowance, which follows POMS SI 01320.630 where 20 CFR 416.1165(d)(3)(ii) names the federal rate alone. That last one follows from my round-2 recommendation, which should have asked for the record. Cases and fixes are in the report above.

hua7450 and others added 2 commits November 12, 2026 16:02
- Read California's at-home supplement rates through the same guard as New
  Jersey's and Vermont's, so SSI years before 1991 no longer raise
  ParameterNotFoundError (is_ssi_ineligible_parent.yaml Case 20).
- Count Missouri's deeming parents as integers, so a parent filing in another
  tax unit raises the allowance to the couple rate (Medicaid deeming Case 8).
- Record the project lead's 2026-11-12 ruling to keep POMS SI 01320.630 B.1's
  allowance for a lone parent as candidate
  us:ssi-parent-allowance-state-supplement (Case 24).
- Pin the cross-unit terms, New Jersey, Vermont and the joint claim, and the
  no-ids stepparent figure with new cases; correct the Iowa note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hua7450

hua7450 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for another look at 432c9c5900. "Changes since review, round 3 (2026-11-12)" at the top of the description covers your round-3 report:

  • Critical 1. California's at-home rates now go through the same guard as New Jersey's and Vermont's, so SSI years before 1991 no longer raise ParameterNotFoundError. is_ssi_ineligible_parent.yaml Case 20 (California, 1986) holds it in the PR's own file.
  • Critical 2. Missouri's parent count adds integers, not two boolean arrays. Medicaid deeming Case 8 is your household: $20,598.
  • Should 1. Your three cases: a sibling in the father's unit ($8,808 to each disabled child, SSI and Ohio Medicaid), the Medicaid variable on the pension case ($35,478), and the Missouri stepfather in his own unit (Case 9: $65,598 and $11,562).
  • Should 2. Cases 21 and 22 (New Jersey $12,400 and Vermont $12,700, neither flagged) and Case 23 (a California joint claim, $2,574.04 deemed).
  • Should 3. The project lead ruled to keep the POMS reading for a lone parent's allowance. It is candidate us:ssi-parent-allowance-state-supplement (state: ruled), and Case 24 gives $44,952.72, where the regulation would give $47,832.
  • Suggestions. 1, 3 and 4 are taken: the early-years line under Limits, a one-unit no-ids stepparent case ($65,598) and the two Missouri limits. Suggestion 2 is left for a separate PR because it touches a merged California file, and round 1's suggestions 2, 3, 5 and 6 stay as they were.
  • Merged with main at cc486336d7, which now holds Apply SSI's spouse rules to Medicare Savings Programs when only one spouse is on Medicare #10633, Apply immigration tests to Medicare and Medicare Savings Programs #10632 and Combine an SSI couple's income by each month's facility status #10820. There were no conflicts.

The PR's six test files pass locally on the merged code (106 cases). TheAxiomFoundation/rulespec-us#2007 is updated for this head.

@hua7450
hua7450 requested a review from DTrim99 November 12, 2026 21:09
@DTrim99

DTrim99 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

PR Review (round 4): Deem income from a disabled parent who is not eligible for SSI

Summary

Head 432c9c5900 (round 3 was at d2045e7dc6). Two commits since: the fix commit 9002847e39 and an automatic merge of main at cc486336d7, which holds #10633, #10632 and #10820.

What the fix commit gets right:

  • Both criticals are fixed and pinned.
    • All eight California reads now go through the guard. The five cases that failed in round 3 pass in CI at this head, and so does the new 1986 case.
    • Missouri counts both parents, so round 3's household deems $20,598.
  • All five cross-unit terms from round 3 are pinned by the three cases asked for, and each figure checks by hand.
  • New Jersey, Vermont and a California joint claim now have cases. The lone parent's allowance is recorded as a candidate and pinned by Case 24.
  • The merge composes. It was automatic. No formula this PR changes reads Combine an SSI couple's income by each month's facility status #10820's monthly marital income, and no main expectation changed.
  • The Axiom issue names this head.

What still blocks approval (two SHOULD items, both small):

  • The 2026-11-12 ruling is not on record. The candidate is state: ruled, but its note links the PR as a whole, and the PR thread has no comment recording the ruling.
  • Three terms named in round 3's Should 2 are still unpinned: New Jersey's max_ and the New Jersey and Vermont couple rates.
    • Round 3's suggested cases did not reach them. That was our miss.
    • Three short cases close it.

Basis:

  • No code was run in this round.
  • Claims rest on CI run 43306545691 at this head. I read the job logs for Baseline (ssa-usda), Baseline (states-shard-2), Baseline (contrib-hhs) and Python shard 6.
  • The rest comes from reading the head and from hand traces.
  • Every claim about what a mutation would do is by my reading.

Prior findings

Finding Status Evidence
Critical 1: every SSI calculation before 1991 raised ParameterNotFoundError Fixed and pinned _ssi_parent_supplement.py:45–53 reads all eight California parameters through _rate, which returns zero before a parameter's first value. The eight are the age threshold, the two aged-or-disabled shares, the two food allowances and the three blind shares. Each starts on 1991-01-01, so by my reading, reverting any one of them to parameters(period) raises in 1986 and Case 20 errors. CI at this head: Baseline (ssa-usda), batch 4, 331 passed and 0 failed. That includes from_ineligible_spouse.yaml (4 of 4, with Example 3 from 416.1163(g)), ssi_if_takes_up.yaml (10 of 10, with Cases 9 and 10) and is_ssi_ineligible_parent.yaml (24 of 24, with Case 20). In Baseline (states-shard-2), tx_ssi_state_supplement_eligible.yaml passed 13 of 13, with Cases 12 and 13.
Critical 2: Missouri's allowance did not count a parent filing in another tax unit Fixed and pinned Lines 80–82 now sum ineligible_parent.astype(int) + spouse_files_elsewhere.astype(int). Medicaid Case 8 is round 3's household: (78,000 − 240 − 780) / 2 = 38,490, less 17,892, gives $20,598 for both SSI and Missouri. By my reading, the old boolean sum counts one parent and gives $26,562, so the case holds the fix. CI: the Medicaid deeming file passed 10 of 10 in Baseline (contrib-hhs).
Should 1: five cross-unit terms unpinned Fixed By my reading, each term now has a case that fails without it. (1) SSI child allocations across units and (2) the same wrapper in the Medicaid variable: the sibling case gives $8,808 to each disabled child, and without the other unit's $5,964 allocation the child in the mother's unit gets $10,299. (3) The Medicaid divisor: counting only one unit's children gives $17,616. (4) The Medicaid pool's unearned term: the pension case's Medicaid output is $35,478, and $5,598 without the father's pension. (5) & ineligible_parent[safe_spouse]: Medicaid Case 9 gives $11,562, and without the term Missouri pools the stepfather's $120,000 and deems $65,598.
Should 2: New Jersey, Vermont and the joint-claim rate had no case Partly fixed; the rest is new Should 2 Cases 21 and 22 pin the New Jersey and Vermont individual rates and _rate's value branch. Without either, the parent is flagged and deems $232 or $532. Case 23 pins the joint branch: by my reading, without it each parent's level falls to the individual $2,879.28 and the child is deemed $6,988.72. Still unpinned: New Jersey's max_ and the New Jersey and Vermont entries in the couple select.
Should 3: a lone parent's allowance follows the POMS; the choice was neither recorded nor pinned Recorded and pinned, but the ruling is not on record (new Should 1) Candidate us:ssi-parent-allowance-state-supplement has every field that step 1 of CONTRIBUTING.md#source-conflicts lists: id, program, question, years, three sources, readings, pe_us (follows, code, prs) and state. Case 24 gives 59,760 − 14,807.28 = 44,952.72. By my reading, setting default=level to zero gives $47,832, so the case holds the reading.
Suggestion 1: New Jersey before 2026 and Vermont before 2017 Fixed In the description's Limits ("Years before the model's rates") and the helper's docstring.
Suggestion 2: California's rates written twice Declined, reasonable Left for a separate PR because it touches a merged California file. That is fine for a suggestion.
Suggestion 3: the one-unit no-ids stepparent Fixed "Without parent ids, a stepparent in the parent's tax unit is counted as her spouse": (168,000 − 240 − 780) / 2 − 17,892 = 65,598.
Suggestion 4: two more Missouri limits Fixed Both are under Limits.
Round 1 Suggestions 2, 3, 5 and 6 Open Unchanged, as the description says.

New findings

Critical (must fix)

None.

Should address

  1. source_conflicts/candidates.yaml, us:ssi-parent-allowance-state-supplement: the 2026-11-12 ruling is not on record.

    • What is there. The candidate has state: ruled, and its note says "Ruled by the project lead, 2026-11-12: Deem income from a disabled parent who is not eligible for SSI #10630". The commit message, the code comment in ssi_ineligible_parent_allocation.py and the description say the same.
    • What is missing.
      • The note links the PR, not a comment.
      • The PR thread has neither a comment from the project lead nor a dated comment recording the ruling. Its only mention is one line in the author's request for review, which gives no date and links nothing.
      • Let Missouri aged, blind and disabled people who don't receive SSI spend down #10629 shows the usual way: a dated comment there, "Ruling by the project lead, 2026-11-10", sets out the ruling's terms. Other candidates link the comment itself (#issuecomment-…).
      • Without such a comment, a reader can't check that the ruling was made or what it covered.
    • Why it matters. The candidate departs from a regulation, 20 CFR 416.1165(d)(3)(ii), to follow a manual. CONTRIBUTING.md#source-conflicts treats regulations as law, so the ruling is the only basis for the departure.
    • Fix.
  2. _ssi_parent_supplement.py:96–100 and :116–120: New Jersey's max_ and the New Jersey and Vermont couple rates have no case.

    • What is not pinned. Round 3 named these terms as part of Should 2: "deleting the New Jersey or Vermont entry from either select ... changes no expectation", and in New Jersey "the max_ matters". Cases 21 and 22 are lone parents, so they read only the individual rates. By my reading:
      • Replacing max_(couple, individual) with couple changes no expectation. Only New Jersey's couple rate ($25.35) is below its individual rate ($31.25), so only New Jersey is affected.
      • Deleting New Jersey or Vermont from the couple select changes no expectation either.
      • No state test reaches these terms either. The level matters only for an aged, blind or disabled parent of an eligible child, and the New Jersey and Vermont tests have no such parent.
    • Our miss. Round 3's list of cases did not reach these terms, so the author did all that was asked. They are still changed logic with no case, the same gap as round 3's Should 1 and Should 2.
    • Fix. Three 2026 cases, each inside the band where the term decides the result:
      • New Jersey, max_. A disabled parent with no income and a spouse earning $37,500:
        • (37,500 − 240 − 780) / 2 = 18,240, within 17,892 + 31.25 × 12 = 18,267.
        • Only the spouse is flagged, and nothing is deemed.
        • On the couple rate the limit would be 17,892 + 25.35 × 12 = 18,196.20, and the parent would be flagged.
      • Vermont, couple rate. The same household with the spouse earning $39,000:
        • (39,000 − 240 − 780) / 2 = 18,990, within 17,892 + 105.80 × 12 = 19,161.60.
        • Only the spouse is flagged, and nothing is deemed.
        • Without Vermont's couple rate the limit would be 17,892 + 55.68 × 12 = 18,560.16, and the parent would be flagged.
      • New Jersey, couple rate. Two disabled parents on a joint claim, each with a $9,100 pension:
        • 18,200 − 240 = 17,960, within 17,892 + 25.35 × 12 = 18,196.20.
        • Neither parent is flagged.
        • Without New Jersey's couple rate both would be flagged, and the child would be deemed $68.

Suggestions

  1. The candidate's example overstates where the two readings differ.
    • The example says "The readings differ only in California, New Jersey and Vermont". That holds for the model, not for the law.
    • The helper's own note says Nevada pays aged or blind people at home, and Iowa pays blind people and people with a dependent. Under the POMS reading, those supplements would also count for some parents.
    • Say "In the model, ..." or name the two states. The description's paragraph "A lone parent's allowance" and Axiom interpretation 16 have the same sentence.
  2. The Axiom issue's Tests line is stale.
    • It still gives 19 cases in is_ssi_ineligible_parent.yaml, 10 new in from_ineligible_parent.yaml and 4 new in the Medicaid deeming YAML.
    • The head has 24, 12 and 6.
  3. Round 1 Suggestions 2, 3, 5 and 6 are still open (four items; see the table above). Round 3's Suggestion 2 could get a follow-up issue, so the separate PR isn't lost.

Verified

  • Hand checks of every new or changed expectation (no code run; rates: 2026 $994 and $1,491, 1986 $336):
    1. Case 20 (California, 1986): 6,000 − 240 = 5,760, above 336 × 12 = 4,032 with no supplement. The parent is flagged, and $1,728 is deemed.
    2. Case 21 (New Jersey): 12,400 − 240 = 12,160, within 11,928 + 375 = 12,303. Not flagged; $0 deemed.
    3. Case 22 (Vermont): 12,700 − 240 = 12,460, within 11,928 + 668.16 = 12,596.16. Not flagged; $0 deemed.
    4. Case 23 (California joint claim): 28,000 − 240 = 27,760, above 17,892 + 7,293.96 = 25,185.96.
      • Each parent's allocation is 8,946 + 3,646.98 = 12,592.98.
      • The child is deemed 2,574.04, and the child's SSI is 11,928 − 2,334.04 = 9,593.96.
    5. Case 24: 59,760 − (11,928 + 2,879.28) = 44,952.72. The allocation is 14,807.28, and the child's SSI is $0.
    6. Medicaid Case 8: 38,490 − 17,892 = 20,598, for both SSI and Missouri.
    7. Medicaid Case 9:
      • Flags are [false, true, true].
      • SSI: (168,000 − 1,020) / 2 − 17,892 = 65,598.
      • Missouri counts the mother alone: (48,000 − 1,020) / 2 − 11,928 = 11,562.
    8. Sibling case:
      • (78,000 − 5,964 − 1,020) / 2 = 35,508. Less 17,892 leaves 17,616, so each disabled child gets 8,808.
      • Each child's SSI is 11,928 − 8,568 = 3,360.
      • Ohio's Medicaid deeming gives the same 8,808.
    9. Pension case, Medicaid output: (30,000 − 240) + (48,000 − 780) / 2 = 53,370. Less 17,892 gives 35,478.
    10. One-unit no-ids stepparent: 65,598, as in Suggestion 3 above.
  • Rates. The cases use these parameter values, all unchanged since round 3, when they were checked against POMS SI 01415.058 for January 2026:
    • California: $239.94 and $607.83, the values since 2024.
    • New Jersey, code B: $31.25 and $25.35.
    • Vermont, independent living: $55.68 and $105.80.
    • No food allowance applies, because living_arrangements_allow_for_food_preparation defaults to true.
  • The guard's zero threshold. Before 1991, _rate reads California's age threshold as zero, so every person counts as aged or disabled for California. Every California rate is also zero then, so the level stays zero.
  • The merge.
  • Code health.
    • The new comments match none of the source-conflict ratchet's patterns. test_source_conflicts.py passed in Python shard 6 at this head.
    • The candidate's follows: conflicting-source with state: ruled has precedents on main, and a years block with only from passes the schema.
    • No new parameter, Python test or state-gated key. Test periods are plain.

Axiom

axiom: TheAxiomFoundation/rulespec-us#2007 queued is valid.

  • The issue is OPEN, labelled pe-parity and updated 2026-11-12 at 21:09 UTC.
  • It names head 432c9c5900, with main at cc486336d7.
  • It covers this round's changes:
    • Missouri's parent count (interpretation 8, case 44);
    • the years before each state's rates (interpretation 14);
    • the ruling (interpretation 16);
    • cases 39–45.
  • Suggestion 2 notes its one stale line.
  • Once the comment that Should 1 asks for is posted, the issue can cite it too.

CI

Run 43306545691 at 432c9c5900, re-checked with gh pr checks 10630:

  • 34 checks pass. No check has failed.
  • 2 are still pending: Contrib (other-shard-1) and Contrib (other-shard-3).
  • The two jobs that failed in round 3, Baseline (ssa-usda) and Baseline (states-shard-2), now pass, and their logs show the five cases passing.

Branch

Verdict: REQUEST_CHANGES

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting two small changes. Both round-3 criticals are fixed and pinned: all eight California reads now go through the guard, the five cases that failed in round 3 pass at this head along with the new 1986 case, and Missouri counts both parents, so the round-3 household deems $20,598. All five cross-unit terms are pinned by the three cases I asked for, and each figure checks by hand.

  1. The 2026-11-12 ruling isn't on record. us:ssi-parent-allowance-state-supplement is state: ruled, but its note links the PR as a whole and no comment on the PR records the ruling. Since the candidate departs from 20 CFR 416.1165(d)(3)(ii) to follow the POMS, the ruling is its only basis. Please post a dated comment recording it, as on #10629, and point the note at that comment.
  2. New Jersey's max_ and the New Jersey and Vermont couple rates still have no case. Round 3 named these terms, but my suggested cases didn't reach them; that miss is mine. Three short 2026 cases close it; they are in the report above (Should Address 2).

Two optional suggestions follow. CI: 34 checks pass and 2 contributed-reform shards are still running at 432c9c5900.

@hua7450

hua7450 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

Rulings by the project lead on the two source-conflict candidates in this PR.

2026-11-12: a lone parent's allowance (us:ssi-parent-allowance-state-supplement).

  • Question. When a lone aged, blind or disabled parent, or two such parents on a joint claim, are ineligible because of excess income, what comes off their income before the rest is deemed to a child? 20 CFR 416.1165(d)(3) subtracts the Federal benefit rate alone. POMS SI 01320.630 B.1 subtracts the Federal benefit rate plus any federally administered State supplement.
  • Ruling. Follow the POMS.
  • Reasons, as put to the project lead.
    • POMS SI 01320.630 is SSA's operating instruction for exactly this parent.
    • It avoids a jump in deemed income. Under the regulation, a parent whose income passes the federal rate plus the supplement would go from deeming nothing (still eligible) to deeming about the whole supplement, $2,879 a year in California.
  • Example. A lone California disabled parent with a $60,000 pension deems $44,952.72 a year, where the regulation gives $47,832 (is_ssi_ineligible_parent.yaml Case 24). In the model the two readings differ only in California, New Jersey and Vermont.

2026-11-02: order of the ineligible-child allocation (us:ssi-parental-child-allocation-order).

  • Question. For a parent ineligible because of excess income, does each ineligible child's allocation come off before the income exclusions and the parent allocation, as in 20 CFR 416.1165(b) and then (d)? Or does it come off the excess over the parent's benefit rate, as in POMS SI 01320.630 B.2?
  • Ruling. Keep the regulation's order, which the model already followed. It was accepted with the other recommended rulings for these PRs that day.
  • Example. In 2026 an aged parent with $4,000 of monthly wages, a disabled child and a non-disabled child deems $8,580 a year under the regulation and $5,598 under the POMS order. The orders differ only when the allocation falls on earned income.

… rates

- Point the notes of us:ssi-parent-allowance-state-supplement and
  us:ssi-parental-child-allocation-order at the dated comment that records
  the project lead's rulings, and say the readings differ only in California,
  New Jersey and Vermont in the model.
- Add is_ssi_ineligible_parent.yaml Cases 25-27: New Jersey's higher
  individual rate with a deemed spouse, Vermont's couple rate, and a New
  Jersey joint claim within the couple's standard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hua7450

hua7450 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for another look at 02ad5ddd3d. "Changes since review, round 4 (2026-11-12)" at the top of the description covers your round-4 report:

  • Should Address 1. This dated comment records both rulings: 2026-11-12 for a lone parent's allowance, and 2026-11-02 for the order of the ineligible-child allocation. The notes of us:ssi-parent-allowance-state-supplement and us:ssi-parental-child-allocation-order now link it.
  • Should Address 2. Your three cases are is_ssi_ineligible_parent.yaml Cases 25, 26 and 27: New Jersey's higher individual rate with a deemed spouse ($18,267), Vermont's couple rate ($19,161.60), and a New Jersey joint claim within $18,196.20.
  • Suggestions 1 and 2. The candidate's example, the description and interpretation 16 of Encode the SSI ineligible parent definition for an aged, blind or disabled parent (20 CFR 416.1160(d)) (PE-US PR 10630) TheAxiomFoundation/rulespec-us#2007 now say the readings differ only in California, New Jersey and Vermont in the model, and they name Nevada and Iowa. The issue's Tests line now gives 27, 12 and 6. Suggestion 3 stays as before.

is_ssi_ineligible_parent.yaml passes locally (27 cases). No variable changed in this commit. The branch merges cleanly with current main, so I didn't add a merge commit.

@hua7450
hua7450 requested a review from DTrim99 November 13, 2026 01:39
@DTrim99

DTrim99 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

PR Review (round 5): Deem income from a disabled parent who is not eligible for SSI

Summary

The head is now 02ad5ddd3d; round 4 reviewed 432c9c5900. There is one commit since, the fix commit 02ad5ddd3d, and no merge. It adds three test cases and changes two candidate notes. No variable, parameter or helper changed, which matches the author's reply.

What the fix commit does:

  • Both round-4 SHOULD items are fixed.
    • A dated comment on the PR records both rulings, and both candidates' notes link to it.
    • Cases 25, 26 and 27 pin New Jersey's max_ and the New Jersey and Vermont couple rates.
      • Each figure checks by hand against the POMS SI 01415.058 rates for 2026.
      • By my reading, each case fails without its term.
  • Suggestions 1 and 2 are taken.
    • The candidate, the description and Axiom interpretation 16 now say the "only California, New Jersey and Vermont" claim holds in the model, and they name Nevada and Iowa.
    • The Axiom issue's Tests line now gives 27, 12 and 6.
  • CI is green at this head. All 36 checks pass and none is pending. is_ssi_ineligible_parent.yaml passed 27 of 27.
  • The branch merges cleanly with current main, which is 20 commits ahead. By my reading, none of those commits changes a PR expectation.
  • Still open: four round-1 suggestions the author has chosen to leave as they are. None of them blocks approval.

Basis:

  • No code was run.
  • Claims about test results rest on CI run 43346414142 at this head. I read the job logs for Baseline (ssa-usda) and Python shard 2.
  • Everything else comes from reading the head and from hand traces. Every claim about what a mutation would do is by my reading.
  • I rechecked the rates today against POMS SI 01415.058 (TN 95, 08-26).

Prior findings

Finding Status Evidence
Should 1: the 2026-11-12 ruling for us:ssi-parent-allowance-state-supplement was not on record Fixed The comment. The author posted this comment at 2026-11-13 00:56 UTC, and it has not been edited since. It opens "Rulings by the project lead on the two source-conflict candidates in this PR." What it records for each ruling: the date and candidate id ("2026-11-12: a lone parent's allowance (us:ssi-parent-allowance-state-supplement)"); the question, citing both sources ("20 CFR 416.1165(d)(3) subtracts the Federal benefit rate alone. POMS SI 01320.630 B.1 subtracts the Federal benefit rate plus any federally administered State supplement"); the reading kept ("Ruling. Follow the POMS"; for 2026-11-02, "Keep the regulation's order"); the reasons, given "as put to the project lead"; and an example, which matches Case 24 ($44,952.72 against $47,832). The notes. Both candidates' notes now end with that comment's URL: "Ruled by the project lead, 2026-11-12: #10630 (comment)" and "Ruled by the project lead, 2026-11-02: …#issuecomment-6840530008". Precedent and other links. This is the same form as #10629. The description and Axiom interpretations 5 and 16 link the comment too.
Should 2: New Jersey's max_ and the New Jersey and Vermont couple rates had no case Fixed and pinned The cases. Cases 25–27 are round 4's three households, and every figure matches (see Verified). (a) Case 25. Replacing max_(couple, individual) with couple (_ssi_parent_supplement.py:118) lowers the limit to 18,196.20, below 18,240. The disabled parent is then flagged and $43.80 is deemed. (b) Case 26. Deleting Vermont from the couple select (:96–100) leaves Vermont's couple rate at 0. The deeming branch then takes 55.68, and the limit falls to 18,560.16, below 18,990: the parent is flagged and $429.84 is deemed. (c) Case 27. Deleting New Jersey from the couple select sets the joint claim's level to zero. Both parents are then flagged and $68 is deemed. The other replacement. Replacing max_ with individual also makes Case 26 fail, so both one-sided replacements are caught. All four mutation results are by my reading. CI: 27 of 27 pass in Baseline (ssa-usda).
Suggestion 1: the candidate's example overstated where the readings differ Fixed The candidate's example now reads: "In the model the readings differ only in California, New Jersey and Vermont, …; under the POMS reading, Nevada's and Iowa's supplements at home would also count for some parents." The description's paragraph "A lone parent's allowance" says the same, and so does Axiom interpretation 16 ("In PE they differ …").
Suggestion 2: the Axiom issue's Tests line was stale Fixed It now gives is_ssi_ineligible_parent.yaml, 27 cases; from_ineligible_parent.yaml, 12 new cases; and the Medicaid deeming YAML, 6 new cases.
Suggestion 3: round 1 Suggestions 2, 3, 5 and 6 Open, by the author's choice The author's reply says "Suggestion 3 stays as before." There is also no follow-up issue for round 3's Suggestion 2 (California's rates written twice). All of these are optional.

New findings

Critical (must fix)

None.

Should address

None.

Suggestions

  1. Round 1 Suggestions 2, 3, 5 and 6 are still open, all optional:
    • (2) the resource test sums the whole marital unit;
    • (3) us:ssi-parental-child-allocation-order has years 2026–2026;
    • (5) a medical expense may be counted twice, which is noted under Limits only as traced, not executed;
    • (6) the variable has no comment about take-up.
    • A follow-up issue for round 3's Suggestion 2 would also keep that separate PR from being lost.

Verified

Hand checks of every new expectation. No code was run. The rates are $994 and $1,491 for 2026, so the couple rate is $17,892 a year.

  1. Case 25 (New Jersey).
    • The couple's countable income is (37,500 − 240 − 780) / 2 = 18,240.
    • Spousal deeming applies, because 37,500 > (1,491 − 994) × 12 = 5,964.
    • The level is max(25.35, 31.25) × 12 = 375, so the limit is 18,267, which is at least 18,240. The disabled parent stays eligible and is not flagged.
    • The spouse is not aged, blind or disabled and is a parent, so the spouse is flagged.
    • The spouse's allowance takes the has_spouse branch: 17,892 plus the eligible spouse's level of 375 gives 18,267.
    • Nothing is deemed: 18,240 − 18,267 is negative.
    • SSI: the parent gets 0, because 18,240 is above 17,892, and the child gets 11,928.
  2. Case 26 (Vermont).
    • The couple's countable income is (39,000 − 1,020) / 2 = 18,990.
    • The level is max(105.80, 55.68) × 12 = 1,269.60, so the limit is 19,161.60. The parent is not flagged.
    • The spouse's allowance is 19,161.60, and nothing is deemed.
    • SSI is 0, 0 and 11,928.
  3. Case 27 (New Jersey, joint claim).
    • Both parents are disabled spouses, so ssi_claim_is_joint is true.
    • Countable income is 18,200 − 240 = 17,960.
    • The level is the couple rate, 25.35 × 12 = 304.20, so the limit is 18,196.20. Neither parent is flagged, and nothing is deemed.
    • Each parent's SSI is 0, because 17,960 is above 17,892. The child's SSI is 11,928.
  4. Comments and citations. The arithmetic in each case's comment matches these figures. The comments' citations are right: 416.1166(e)(1) for "nothing is deemed", and POMS SI 01415.058 J for New Jersey and M for Vermont.

Rates. POMS SI 01415.058 gives these rows, effective January 1, 2026; the page itself is TN 95 (08-26):

  • New Jersey, code B: individual "994.00 31.25 1025.25" and couple "1491.00 25.35 1516.35".
  • Vermont, code A, "All (Except Chittenden County)": individual "994.00 55.68 1049.68" and couple "1491.00 105.80 1596.80".
  • The head's parameters match. New Jersey's LIVING_ALONE_OR_WITH_OTHERS is 31.25 and 25.35 from 2026-01-01. Vermont's INDEPENDENT is 55.68 and 105.80 from 2024-01-01.

What the commit changes.

  • git diff --stat 432c9c5900 02ad5ddd3d lists two files: the test YAML (+128) and source_conflicts/candidates.yaml (+7/−6).
  • No formula, parameter or helper changed, as the reply says ("No variable changed in this commit").

Code health.

  • The new test comments match none of the source-conflict ratchet's patterns.
  • test_source_conflicts.py passed at this head in Python shard 2: 103 tests, 0 failed. They include test_conflict_sounding_comments_do_not_grow, test_candidate_fields and test_candidates_are_public.
  • Test periods are plain, and no Python test was added.

Axiom

axiom: TheAxiomFoundation/rulespec-us#2007 queued is valid.

  • The issue is OPEN, labelled pe-parity and updated 2026-11-13 at 01:38 UTC.
  • It names head 02ad5ddd3d, which contains main at cc486336d7.
  • It lists this round's changes: the ruling comment, the model-only scope of interpretation 16, the Tests line, and cases 46–48.
  • Cases 46–48 mirror PR Cases 25–27 with the same figures: $18,267, $19,161.60 and $18,196.20.
  • Interpretations 5 and 16 link the ruling comment.

CI

Run 43346414142 at 02ad5ddd3d (event pull_request, conclusion success), re-checked with gh pr checks 10630:

  • 36 checks pass. None failed and none is pending.
  • In Baseline (ssa-usda), batch 4 passed 334 tests, against 331 in round 4. The 3 extra are the new cases, and is_ssi_ineligible_parent.yaml passed 27 of 27.

Branch

  • The branch is 20 commits behind main (47c4e8720b) and 13 ahead. There has been no merge since round 4.
  • git merge-tree --write-tree PolicyEngine/main 02ad5ddd3d is clean. In the merged tree, the PR's 16 non-candidate files are identical to the head's.
  • What main changed since cc486336d7, by my reading:

Verdict: APPROVE

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Both round-4 items are fixed: the ruling is recorded in a dated comment on this PR and both candidates' notes link it, and Cases 25-27 pin New Jersey's max_ and the New Jersey and Vermont couple rates (each checks by hand against POMS SI 01415.058, and by my reading each flags the parent without its term). No formula changed since round 4. The remaining four suggestions are optional. CI is green at 02ad5ddd3d, and the branch merges cleanly with main.

@hua7450
hua7450 merged commit 72c6bde into PolicyEngine:main Nov 13, 2026
36 checks passed
MaxGhenis added a commit that referenced this pull request Nov 14, 2026
Resolve six conflicts with #10630, #10856 and #10815:

- Keep the annual SSI and Medicaid parental-deeming wrappers, which sum
  the monthly budgets. The next commit ports #10630's cross-unit pooling
  and Missouri rules into the monthly helpers.
- Keep every Medicaid parental-deeming case from both sides, main's first.
- Recompute the July facility-stay case by month with #10856's earned
  income: 14,527.50 and 8,722.50.
- Take main's food case in ssi_resources_deemed_from_ineligible_parent.yaml
  and assert it on ssi_countable_income_monthly.
- Keep both sides' source-conflict candidates.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Nov 14, 2026
Main's #10630 added these rules to the annual parental-deeming formulas,
which this branch replaced with sums of monthly budgets.

- SSI and Medicaid monthly helpers add the earned and unearned income of
  a deeming spouse who files in another tax unit, and divide the pool
  among both units' eligible children. The allocation total already
  walks that spouse's children, so it takes no spouse-unit addition.
- Medicaid's monthly helper drops a Missouri stepparent from deeming and
  subtracts Missouri's monthly allowance for the number of deeming
  parents.
- is_ssi_ineligible_parent and the parent supplement level test the year
  through ssi_budget_spousal_deeming_applies, so they take a supplied
  flag or the year's comparison instead of December's status.
- Main's month-keyed ssi_countable_income input in the resource case
  moves to ssi_countable_income_monthly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Nov 17, 2026
…mpute SSI and Medicaid deeming by month (#10146)

Limit SSI ineligible-child allocations to the children 20 CFR 416.1160(d) names, and compute SSI and Medicaid deeming by month.

20 CFR 416.1160(d) defines one ineligible child for spousal and parental deeming: a co-resident child, not eligible for SSI, of the claimant, the spouse, the claimant's parent or that parent's spouse. Under 416.1163(b) and 416.1165(b), each such child takes the couple rate less the individual rate, less the child's own income after the 416.1161(c) student exclusion. Under 416.1856, a child is neither married nor a household head, and is under 18 or a student under 22. Until June 16, 2008, 416.1160(d) set its own student limit of under 21 for an ineligible child (73 FR 28033). 42 USC 1396a(r)(2) bars a Medicaid method for aged, blind and disabled groups that is more restrictive than SSI's, and 42 CFR 435.601(d)(2) exempts 209(b) states. The model allocated for every child in the claimant's tax unit who wasn't aged, blind or disabled, whatever the relationship. It reduced the allocation by the child's whole income and computed deeming from annual income.

Read the 416.1160(d) relationships from parent ids, and keep the guarded tax-unit fallback when ids are missing. In spousal deeming, allocate for the claimant's siblings and half-siblings wherever their parent lives, and for step-siblings when the claimant's parent and that parent's spouse share the household. Give no allocation to a recipient of public income maintenance, apply the student exclusion month by month, and floor each allocation at zero. Compute SSI and Medicaid deeming budgets by month, and make each annual amount the sum of its twelve months. A supplied annual monetary input reaches each month as one twelfth. Keep main's cross-unit parental pool and Missouri rules (#10630) and #10837's single $20 exclusion in the monthly budgets.

Outside 209(b) states, give ABD Medicaid parental allocations to every child SSI's reach. Keep Missouri's under-18 definition and Virginia's under-21, non-blind, non-disabled definition (M0530.002) in state-keyed parameters. Let a blind or disabled child who passes Medicaid's immigration test (42 USC 1396b(v)) share Medicaid's deemed amount without an allocation. Run CAPI's parental deeming over CAPI's own recipients (MPP 49-035.71). Allocate in New Hampshire for a sibling under 18, or under 20 in full-time secondary school (He-W 652.03(h)), from April 4, 2012. Allocate in Oklahoma for a child under 18 who isn't blind or disabled (OAC 340:15-1-2).

Add sibling, student, state and month cases. Case 18 of `ssi_spousal_deeming_child_allocations.yaml` names a half-brother and a stepbrother through the second parent slots. Add a property test that checks spousal allocations against an oracle, one that checks constant months, and tests that carry annual inputs, neutralization and abolition to the monthly budgets. Recompute five of main's expectations by month: two facility stays and three California 2020 disregard cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.

SSI: deem income from an aged, blind or disabled parent who is not eligible for SSI

2 participants