Repository navigation
Exclude people otherwise eligible for Medicaid from Illinois HBWD and use Illinois's income rules for its disability pathway - #10631
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Illinois's optional senior or disabled count now follows 89 Ill. Adm. Code 120.330, 120.335, 120.362 and 120.370, so a worker who needs a spenddown keeps the buy-in under 120.510(c). An SSI recipient who needs a spenddown doesn't bar the program. Removes a Medicare input that changed nothing in Case 6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # policyengine_us/tests/policy/baseline/gov/hhs/medicaid/income/medicaid_optional_senior_or_disabled_countable_income.yaml # source_conflicts/candidates.yaml
|
Rulings by the project lead on the two source-conflict candidates in this PR. 2026-11-13: order of Illinois's MANG earned income exemption (
2026-11-02: what the HBWD bar reaches (
|
Mark us-il:mang-earned-exemption-order ruled for 89 Ill. Adm. Code 120.362(b), which takes the exemption from gross earned income, and point both Illinois candidates' notes at the dated comment that records the project lead's rulings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dies childcare_expenses nets out child care subsidies, Pennsylvania's subsidy reads medical premiums, and since PR 10634 the Medicare Part B premium reads Medicaid's buy-in, so the Illinois block of medicaid_optional_senior_or_disabled_countable_income depended on itself. Move the 89 Ill. Adm. Code 113.125(b) child care calculation into a helper that cash AABD calls with net expenses, unchanged, and that the Medicaid block calls with pre_subsidy_childcare_expenses, alongside the other employment expense sources. Add a case for a worker raising a grandchild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…count - medicaid/il.yaml, age-65 Medicare handoff case: wages 22,000 -> 18,000 so the case still reaches the optional senior or disabled pathway under Illinois's own income count; asserted outputs unchanged. - state/il/hbwd.yaml, age-16 case: il_hbwd_eligible false and il_hbwd_person 0, because the person is otherwise eligible as an older child (89 Ill. Adm. Code 120.510(b)); adds il_hbwd_age_eligible true so the case still proves the minimum age. - state/il/hbwd.yaml, age-65, assets and not-disabled cases: add the il_hbwd_age_eligible, il_hbwd_asset_eligible and il_hbwd_disability_eligible false outputs, since the 120.510(b) bar now turns HBWD off on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…into il-hbwd-premium-other-coverage
PR Review: Exclude people otherwise eligible for Medicaid from Illinois HBWD and use Illinois's income rules for its disability pathwaySummaryThe core fix is right. 89 Ill. Adm. Code 120.510(b) says "An individual shall not be determined eligible if the individual is otherwise eligible for medical assistance without a spenddown", and 120.510(c) gives a person eligible only with a spenddown the choice of HBWD. One problem is blocking. The Illinois count deducts a child care exemption that 120.370(a) doesn't allow for MANG(AABD). Four should-fix items are open: one new term isn't pinned by any test, one candidate entry is incomplete, the partner-test gate isn't recorded, and the Axiom issue is stale. Critical (must fix)1. Child care is not a MANG(AABD) employment expense under 120.370(a) (
Should address1.
2. Candidate
3. Partner contract tests changed without a recorded partner gate
4. The Axiom line points at an issue that doesn't match the head
Suggestions
Verified correct
Axiom line assessment
CI statusAll 37 checks pass at Branch status
Verdict: REQUEST_CHANGES |
DTrim99
left a comment
There was a problem hiding this comment.
Requesting changes: 1 critical, 4 should address, 4 suggestions. Full report in the comment above.
Critical: the Illinois count deducts child care, but 89 Ill. Adm. Code 120.370(a)'s MANG(AABD) expense list is closed and has no child care (child care is MANG(C)-only, 120.370(b)(4)), and 120.370 does not apply 113.125. Only IDHS PM 08-02-03-c allows it. Drop it, or record a regulation-vs-manual candidate with a dated ruling.
Should: unpinned ssi_recipient_without_spenddown term; incomplete us-il:mang-earned-exemption-order candidate; partner test edits without a recorded gate; rulespec-us#2008 stale against this head.
Fixes #10626
What and why
il_hbwd_eligibledidn't check whether a person already qualifies for Medicaid another way. Someone inADULTorSSI_RECIPIENTcould also pass it, and then paid the Health Benefits for Workers with Disabilities (HBWD) premium throughmedicaid_premiumandspm_unit_health_insurance_premiums.89 Ill. Adm. Code 120.510(b) says an individual shall not be determined eligible "if the individual is otherwise eligible for medical assistance without a spenddown." Subsection (c) lets a person eligible only with a spenddown choose between that coverage and HBWD.
il_hbwd_eligiblenow excludes people in any category incoveredother than medically needy and the buy-in itself, if they also pass the Medicaid immigration test. An SSI recipient counts only whenis_optional_senior_or_disabled_income_eligibleis true, because 42 CFR 435.121(e)(5) lets some recipients qualify only after a spenddown.A person aged 40 in Illinois in 2026, with
is_disabled: true:ADULTmeets_ssi_disability_criteriaSSI_RECIPIENTWORKING_DISABLED_BUY_INRuling on what the bar reaches. 120.510(b) bars a person eligible for any "medical assistance without a spenddown". The first requirement on the HFS eligibility page opens more narrowly: "Not be eligible for the state's regular medical program for those with disabilities". Ruled by the project lead, 2026-11-02 (recorded with the 2026-11-13 ruling, comment): 120.510(b) governs over that clause, so the adult group also bars HBWD. Candidate
us-il:hbwd-regular-medical-card-scoperecords this. Read alone, the clause would keep the $18,000 worker above in HBWD at $31 a month.Illinois's income count. Illinois's optional senior or disabled pathway decides who qualifies "without a spenddown" through
medicaid_optional_senior_or_disabled_countable_income. This PR replaces SSI's exclusions in that variable with Illinois's rules for aged, blind and disabled Medical Assistance No Grant coverage. Other states keep their path.il_aabd_expense_exemption_person.Effects beyond HBWD.
is_optional_senior_or_disabled_income_eligibleand Illinois's 209(b) SSI test,is_209b_ssi_recipient_income_eligible_for_medicaid, both read this count.medicaid_categorytherefore moves in both directions for some Illinois workers, and eligibility changes for some households. Monthly amounts, 2026 unless noted:SENIOR_OR_DISABLEDWORKING_DISABLED_BUY_INil_hbwd_eligibletrue,il_hbwd_premium$75,medicaid_premium$900 a yearSENIOR_OR_DISABLEDMEDICALLY_NEEDYis_medicaid_eligiblestays trueWORKING_DISABLED_BUY_INSENIOR_OR_DISABLEDil_hbwd_eligibletrue to falseNONESENIOR_OR_DISABLEDis_medicaid_eligiblefalse to trueA 209(b) SSI recipient who needs a spenddown stays in HBWD. A person with SSDI of $500 and wages of $1,060 gets SSI of $16.50 and counts $1,378.88. With $100 a month of medical expenses, that person is
SSI_RECIPIENTonly after the spenddown, soil_hbwd_eligiblestays true and the model charges a $38 monthly premium.Runs of four household shapes in each state for 2026 show no difference outside Illinois.
Earned income exemption order: ruled. 120.362(b) applies the earned income exemption to gross earned income. IDHS PM 08-02-03 says "Allow these deductions after deducting the $25 AABD income disregard and self-employment expenses." The count follows the regulation, and the project lead confirmed it on 2026-11-13 (comment). Candidate
us-il:mang-earned-exemption-orderrecords this withstate: ruled. Wages of $100 count $18.80 under the regulation and $21.30 with the $25 first. A blind worker with wages of $2,500 counts $915.82 and $928.32. Both stay within $1,330.Other changes and limits:
il_hbwd_countable_earned_income.yamlCase 6 (blind, wages of $36,000, 2025) changesil_hbwd_eligiblefrom true to false: ($3,000 - $85) / 2 = $1,457.50, less $322.74 of employment expenses and the $25, is $1,109.76, within the $1,304.17 limit.integration.yamlCase 3's self-employed parent has MAGI of about $27,880, within 138% of the two-person guideline ($28,207), so that case now expects them to be excluded.integration.yamlCase 6 no longer sets the months input and matches main: its income of $30,000 is 199% of the guideline, so the adult group doesn't apply with or without Medicare.il_aabd_child_care_expense_exemption, whose results don't change.childcare_expensesnets out child care subsidies. Pennsylvania's subsidy reads medical premiums, which read the Medicare Part B premium and, since Charge the Medicare Part B premium only to people who pay it #10634, Medicaid's buy-in, so reading it here made this variable depend on itself: that circular definition failed six CI jobs at9eee98af6d. A family with a child care subsidy also has the subsidized part exempted. A worker aged 70 with $12,000 of wages, a grandchild and $200 a month of child care counts $7,986.79 (medicaid_optional_senior_or_disabled_countable_income.yaml, "Illinois takes the child care exemption from the cost before any subsidy").ms_wd_premiumhas a similar gate onms_wd_eligible. This PR doesn't change it, because Mississippi's rule hasn't been checked.is_medically_needy_for_medicaidstill readsssi_countable_income, so an aged person can pass there with no spenddown. The 70-year-old above counts $384.42 over the limit under Illinois's rules and still getsMEDICALLY_NEEDY.il_hbwd_eligible.yamlCase 14, with no asserted eligibility answer changing.il_withheld_income_taxestimates Illinois withholding on all of a person's AGI, so rent and taxable pensions raise the deduction from wages. The $25 also comes off contributions such as alimony, which 120.335(a)(1) leaves out. The first $50 of child support (120.335(c)(7)) isn't exempted, and cents aren't dropped (120.330(c), 120.360(e)).il_hbwd_eligible.yamlCase 10's $1,250 pension adds nothing to its $19 premium.il_aabd_earned_income_after_exemption_persontakes expenses and the $25 before the blind exemption, and AABD's earned list treats rent as earned. 120.510(i) names only 120.362(a) and (b)(1), which bears on any fix to HBWD's blind exemption. 120.510(n)(1) bases premiums on "gross unearned" income, and HBWD's list leaves out SSI, so that file's Case 17 doesn't assert its premium ($38 in the model, $56 if SSI counts).disregard.couple[IL]stays $25.il_hfs_immigration_status_eligiblehas no five-year test, though 120.310(b)(2) has one. A permanent resident of 2 years with $18,000 of wages getsil_hbwd_eligibletrue and amedicaid_premiumof $372 withis_medicaid_eligiblefalse. A refugee in 2027, a status the federal list drops, gets the same result.il_hbwd_premiumhas no enrollment gate. A person with $40,000 of wages andtakes_up_medicaid_if_eligible: falsestill has amedicaid_premiumof $828.us-il:hbwd-premium-earned-1251-unearned-501-cell). CA WDP and IL HBWD buy-ins omit meets_ssi_disability_criteria; IL worker income test inconsistent #9336 covers the disability input.Partner tests
This PR edits five partner cases, and the project lead approved each edit. Two are boundary cases that this PR's Illinois rules defeat. In three more, the 120.510(b) bar alone now gives the asserted
false, so each gets an output that pins the test its name describes. Their existing expected values don't change.federal/healthcare/medicaid/il.yamlmedicaid_senior_age_65_medicare_handoff_to_optional_pathwayemployment_income_before_lsr(input)medicaid_category8 (SENIOR_OR_DISABLED), Medicaid $9,953.33, no CHIP or premium tax credit.state/il/hbwd.yamlil_hbwd_age_16_minimum_age_eligibleil_hbwd_eligibleil_hbwd_personil_hbwd_age_eligible(added)il_hbwd_age_65_age_outil_hbwd_age_eligible(added)il_hbwd_eligiblefalse; the added output keeps the upper age bound tested.il_hbwd_assets_above_limit_ineligibleil_hbwd_asset_eligible(added)il_hbwd_not_disabled_ineligibleil_hbwd_disability_eligible(added)Partner-facing impact.
medicaid_category10 (MEDICALLY_NEEDY) with the same $9,953.33, becauseis_medically_needy_for_medicaidreads SSI's count. Under Illinois law that person needs a $236 monthly spenddown (see "Medically needy" above).Boundary check.
59ab85c066) and at this PR's code, covering every asserted output plus Medicaid category, eligibility, amount, the Illinois count and HBWD.state/il/bcc.yamlil_bcc_age_65_age_outandstate/il/hbwd.yamlil_hbwd_age_65_age_outchange only the Illinois count ($6,960 to $12,572.29 and $4,460 to $8,129.79), which they don't assert. Both stay under $15,960 and keep their categories.Evidence.
f784cc5742recorded the age-65 failure (medicaid_category10 vs 8). The age-16 case never ran in CI: the partner job's make target stops after the federal step fails.30536de972, before the latest merge ofmain. On 2026-11-16 a second fresh reviewer repeated the review at the current head (94697c4ada). It recomputed each value from Part 120 and the 2026 poverty guideline and agreed with all five cases. The two edited files passed (7 of 7) in one run at that head. The partner diff contains only these five cases, and nothing merged frommainreaches the Illinois Medicaid or HBWD rules they read. The reviewer found no critical or medium issues.Test plan
il_hbwd_eligible.yaml(Cases 7-17) and 12 inmedicaid_optional_senior_or_disabled_countable_income.yaml. They cover the adult group, SSI, the buy-in alone, a person eligible only with a spenddown, Medicare closing the adult group, the immigration clause, both sides of the $1,330 limit, an SSI recipient who needs a spenddown, wages, pensions, SSI, one $25 per client, a couple on both sides of the limit, rent, a capital loss, the blind exemption and child care.us-il:hbwd-regular-medical-card-scope); 120.362(b) over IDHS PM 08-02-03, ruled by the project lead on 2026-11-13 (us-il:mang-earned-exemption-order). Both rulings are recorded in this comment.make format(ruff format on the changed variables)changelog.d/Values were checked by hand and in one process per case. On 2026-11-13 the branch merged
mainat47c4e8720b(032b9e3ab3; the ruling is9eee98af6d), resolving two conflicts: both sides' new candidates are kept, and this PR's 11 cases followmain's inmedicaid_optional_senior_or_disabled_countable_income.yaml. On the merged code the PR's four test files pass locally, 100 cases, one process; with the child care change (f784cc5742), 101. Other suites were not run locally; CI validates. On 2026-11-16 the five partner edits were committed (981960ba21) and the branch mergedmainatfd0a748698(94697c4ada) with no conflicts; no tests were run locally after that merge.axiom: TheAxiomFoundation/rulespec-us#2008 queued
🤖 Generated with Claude Code