Skip to content

Limit New York and Massachusetts Medicaid for undocumented residents - #11130

Merged
MaxGhenis merged 9 commits into
mainfrom
fix-ny-ma-undocumented-medicaid
Nov 21, 2026
Merged

MaxGhenis merged 9 commits into
mainfrom
fix-ny-ma-undocumented-medicaid

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What and why

undocumented_immigrant.yaml passed undocumented residents of New York and Massachusetts through the Medicaid immigration test at every age from 2021, and backdating carried that to 2015. Both states cover them by group. This PR sets both states to false in that flag and adds each state's groups.

Undocumented resident Main This PR
New York, pregnant or in the postpartum period passes the Medicaid immigration test passes
New York, aged 65 or older passes in every year passes from 2024
New York, under 19 and neither pregnant nor in the postpartum period passes the Medicaid test and fails the CHIP test fails the Medicaid test and passes the CHIP test
New York, any other adult passes fails
Massachusetts, pregnant or in the postpartum period passes passes
Massachusetts, anyone else passes fails

Both immigration tests keep their results for everyone other than an undocumented resident and for every other state. The District of Columbia and Oregon keep their values.

  • is_medicaid_immigration_status_eligible gains two terms for undocumented residents: pregnancy through the state's postpartum period, and age 65 or older. Two state parameters under gov.hhs.medicaid.eligibility.undocumented switch them on. New York and Massachusetts read true in pregnant, and New York reads true in aged from 2024-01-01.
  • is_chip_immigration_status_eligible gains a route for undocumented children under the CHIP age limit, which gov.hhs.chip.undocumented.child switches on. New York reads true.
  • Each value starts with a 2021-01-01 key, as the flag does, so backdating carries that first value to 2015 and no later start reaches back.
  • A new variable, is_federal_chip_immigration_status_eligible, holds the federal part of the CHIP immigration test. is_chip_immigration_status_eligible passes a person who passes that test, a child below a state's age limit for covering every child, or a child on the undocumented-child route.
  • chip_federal_share gives a federal share of 0 to an undocumented enrollee in CHIP's child category who fails the federal CHIP immigration test, in a state that reads true in gov.hhs.chip.undocumented.child. Only New York reads true there.

What follows from the two tests

  • An undocumented New York adult under 65 now fails is_medicaid_eligible unless pregnant or in the postpartum period, and so does an undocumented Massachusetts resident of any age. An undocumented New York child under 19 in the same position fails the Medicaid immigration test and passes the CHIP one. The child then passes is_chip_eligible_child at a family income up to the model's New York limit of 405% of the poverty line, unless the child has coverage that bars CHIP. On take-up, the child enrolls in CHIP. On main the same child passed is_medicaid_eligible up to a Medicaid category's income limit, if they met its other tests, and passed neither program above it.
  • Undocumented residents of both states keep main's pass on the Medicaid immigration test during pregnancy and the state's postpartum period. Whether they get Medicaid still turns on a Medicaid category's income and other tests, and whether they enroll turns on take-up. An undocumented resident 60 to 364 days after delivery, and not pregnant again, passed that test on main and now fails it, in New York through 2023 and in Massachusetts through 2022. From day 365 the pregnancy term fails in every year, unless a new pregnancy has begun. The model counts days, so the term can end before the month-end continuation in Massachusetts's rules (choice 4).
  • In a baseline population run, medicaid_slcsp_state_denominator sums the weighted cost index of the people the model enrolls in each state's Medicaid. medicaid_cost_if_enrolled gives each enrollee the state's Medicaid spending times their own index, divided by that sum. In New York the model sets each enrollee's index from the family tier of the enrolled members of their tax unit. For example, take one parent and one child of 10 in a tax unit, both enrolled on main. If an undocumented child leaves Medicaid, the citizen parent's index rises from 0.85 to 1.0 times the base rate. If an undocumented parent leaves, the citizen child's index falls from 0.85 to 0.412. The sum thus depends on weighted enrollment and on family tiers. It can fall or rise when other household members' enrollment also changes, as in the adult-group example below. Where the sum stays positive, each state's Medicaid total stays the same. A single-household calculation sets the sum to calibrated state enrollment times the state-average index instead, and a reform simulation reuses its baseline's sum.
  • New York's modeled CHIP spending rises by $1,806.55 a year from 2024 for each undocumented child the model enrolls in CHIP's child category. 8 U.S.C. 1611(a) makes these children ineligible for federal public benefits. So chip_federal_share gives them a federal share of 0, and chip_state_cost assigns the whole $1,806.55 to New York.
  • WIC's meets_wic_categorical_eligibility passes a person enrolled in Medicaid, a person whose SPM unit receives SNAP or TANF, and a person whose SPM unit has a pregnant woman or an infant enrolled in Medicaid. An undocumented person in either state who leaves Medicaid loses their own Medicaid route. When an undocumented infant leaves Medicaid, the rest of the SPM unit loses the infant route too, unless another pregnant woman or infant there keeps Medicaid. Their own Medicaid enrollment, SNAP or TANF, or WIC's income test still qualifies them.
  • Lifeline, the Pell Grant simplified formula and the MBTA's income-eligible reduced fare each count medicaid_enrolled among their qualifying programs. Lifeline counts any member of the SPM unit and also passes a unit on income alone. The simplified formula counts any member of the tax unit, requires an income under $50,000 and applies through 2023. The MBTA fare in Massachusetts counts the person's own enrollment and covers ages 18 to 64. A unit or person that qualified only through an undocumented person's Medicaid loses that route. The Affordable Connectivity Program, through model year 2024, and the Emergency Broadband Benefit also qualify a unit through Lifeline, so they lose the same route. The household health-benefit and CBO transfer totals add Medicaid and CHIP.
  • New York's ny_chip_premium counts every child who passes is_chip_eligible_child, enrolled or not, so it counts an eligible undocumented child who declines CHIP too. The bill rises with that child only when the family's income sets a per-child rate above zero and the family's bill sits below its cap. From October 2022 the rate reads zero below 222% of the poverty line, and below 400% the cap equals three children's premiums. From 2024, once the tax unit's modified adjusted gross income reaches 400% of its poverty guideline, the model charges the full premium for each such child with no cap: $272.35 a child a month in 2025. CHIP eligibility tests a different measure, the child's Medicaid household income, against the 405% limit.
  • The Medicaid deeming formula for disabled children divides a parent's deemed income among eligible children. A disabled undocumented child in either state no longer counts as one unless pregnant or in the postpartum period. The formula then divides among fewer children. But first it subtracts that child's ineligible-child allocation from the parent's income: $483 a month in 2025, less the child's own income. A disabled sibling's share can rise or fall. For example, take two disabled children in 2025, one a citizen and one undocumented, and $600 a month of a parent's unearned income after the other deductions. Neither child has income of their own or receives public income-maintenance payments such as TANF, so the formula subtracts the full $483 for the undocumented child. The citizen child's share falls from $300 to $117.
  • In the model, New York's parent group counts a dependent child under 18. meets_medicaid_adult_group_child_coverage_requirement admits a parent of a child under 19 to the adult group only when each such child has coverage, such as Medicaid or CHIP enrollment. For example, take a citizen parent at 135% of the poverty line with one dependent child, an undocumented 18-year-old. The parent meets that requirement on main if the child takes up Medicaid, and with this PR if the child takes up CHIP. Each program has its own take-up input, so a child who takes up Medicaid on main but not CHIP here leaves the parent outside the adult group. From 2016 that parent can then pass is_basic_health_program_eligible, New York's Essential Plan in the model, if they meet its other tests. In 2015, before the model opens the Essential Plan, the same parent can instead get a premium tax credit for a Marketplace plan. A child who takes up CHIP here but not Medicaid on main lets an otherwise eligible parent into the adult group.
  • Emergency Medicaid's is_emergency_medicaid_eligible now turns true for an undocumented resident of either state who fails the Medicaid immigration test, has an emergency condition and meets a Medicaid category's tests. That category test asks for a medicaid_category other than NONE, and the program switch must also read true, as it does from 1987. No variable reads it.

The default dataset holds 2024 records, so default population runs change for New York and Massachusetts.

Sources

New York

  • Social Services Law section 122(1) bars noncitizens from medical assistance outside its listed groups. Paragraph (e) keeps care "necessary to treat an emergency medical condition" open to any noncitizen. Subdivision 6 says the section does not affect "the eligibility for pre-natal care benefits for persons otherwise eligible for such benefits".
  • Social Services Law section 366(1)(g)(4) covers people "age sixty-five or older, who are otherwise eligible for medical assistance under this section, but for their immigration status". Part AAA of chapter 56 of the Laws of 2022 added it with a January 1, 2023 start. Part H of chapter 57 of the Laws of 2023 reset the start to "no later than January 1, 2024", and section 7 of Part H deems that change in force from January 1, 2023. The model starts the term on January 1, 2024, the latest date Part H allows. This PR cites the Department of Health's informational letter 23 OHIP/INF-2 of December 29, 2023 for that start and for state funding, and has not verified its text. A New York City page that The model gives undocumented residents of New York and Massachusetts full Medicaid at every age, back to 2015 #11127 quotes gives the same start (unverified).
  • A Department of Health client notice dated October 10, 2014 (notice D61-C0332) addresses people without satisfactory immigration status. It limits them to Medicaid for emergency medical conditions and for medical services to pregnant women. This PR also cites the Department's directive 04 OMM/ADM-7 of October 26, 2004 for the same rule, eleven years before the model's first year, and has not verified its text.
  • The 2014 notice ends pregnancy coverage once the sixty-day postpartum period ends. Part CCC of the same 2022 chapter amended section 366(4)(b)(1) from March 1, 2023. A pregnant woman eligible under section 366(1)(b)(2) or (4) now keeps eligibility for one year from the last day of pregnancy. New York's section 1332 waiver application reports that "On June 14, 2023, New York announced the extension of Medicaid postpartum health coverage from 60 days to 365 days" (p. 32). It reports this in its estimate of Essential Plan enrollment and does not say whether the extension reaches undocumented residents.
  • Public Health Law section 2510(4) defines an eligible child as a person "under the age of nineteen" who meets the criteria of section 2511. Section 2511(2) sets the criteria for a subsidy payment: household income at or below 400% of the poverty line from September 1, 2008, no Medicaid eligibility, no other coverage and New York residence. A child who gains Medicaid eligibility after qualifying can keep the subsidy for up to three months. None of the criteria tests immigration status. Section 2511(5) lets a child with no Medicaid eligibility and no other coverage enroll above that income without a subsidy, at a cost the commissioner sets. Section 2511(2-b) asks for a Social Security number or citizenship documents for "purposes of claiming federal financial participation". This PR cites the Department's documentation guide of March 3, 2008 (GIS 08 MA/009, attachment) for listing Child Health Plus among the programs open at any immigration status. It cites the June 2024 guide (GIS 24 MA/06, attachment 1) for Child Health Plus for undocumented children from birth through age 18, up to 400% of the poverty line. It has verified neither text.

The Department's site, www.health.ny.gov, refuses scripted requests, so this PR cites the Department's documents there by number, date and address, quotes none of them and has not checked what it says of them. nyc.gov refuses them too, and #11127 quotes New York City's pages on the same rules. The parameter files keep 23 OHIP/INF-2, 04 OMM/ADM-7 and GIS 08 MA/009 in their reference lists. Their comments give the verified basis first and mark each document's reading as unverified.

Massachusetts

  • M.G.L. c. 118E, § 16D(2) says "services or benefits other than emergency services shall not be provided to undocumented aliens unless required by federal law".
  • 130 CMR 504.003(D) calls noncitizens outside its listed statuses "other noncitizens". 130 CMR 504.006(D) gives them "MassHealth Standard, if they are pregnant", MassHealth Limited, and the Children's Medical Security Plan below age 19. mass.gov calls its copy an unofficial version, and the page reads "Rev. 08/19/22". The text effective January 1, 2014 lists the same three (Eligibility Letter 213, p. 58).
  • 130 CMR 505.002(D) covers a pregnant "other noncitizen" at or below 200% of the poverty line. Its 2014 text continues eligibility "for 60 days following the termination of the pregnancy" and to the end of the month in which that period ends (Eligibility Letter 213, p. 63). The text revised February 13, 2026 continues it "for 12 months following the termination of the pregnancy" and to "the end of the month in which the 12-month period ends" (p. 4, also an unofficial version).

Methodology choices

A maintainer can change any of these defaults.

1. Massachusetts pregnancy coverage runs through Medicaid. M.G.L. c. 118E, section 16D(2) bars benefits other than emergency services to undocumented residents unless federal law requires them. 130 CMR 504.006(D)(1) gives pregnant other noncitizens MassHealth Standard. The statute and the regulation differ here, and this PR follows the regulation: Massachusetts reads true in the pregnancy term. No source read for this PR names a federal law that requires the coverage. These residents keep main's pass on the Medicaid immigration test, except 60 to 364 days after delivery through 2022. The other choice sets the term to false and leaves them to the model's CHIP unborn-child route, which tests no immigration status and has the same 205% income limit. That route tests is_pregnant alone, so their coverage would end at delivery. The choice also decides the federal share. #10950 sets the share to 0 for a Medicaid enrollee who fails the federal immigration test, and the unborn-child route carries CHIP's match. Under #10950 the model gives this coverage a federal share of 0; no source read for this PR says whether Massachusetts claims CHIP's match for it.

2. New York's three terms apply to undocumented residents only. The texts reach further. Section 366(1)(g)(4) covers anyone aged 65 or older who fails on immigration status alone, the 2014 notice covers pregnancy for anyone without satisfactory status, and Child Health Plus tests no status. This PR keeps the terms to the status #11127 covers. The other choice drops the status condition from the three terms. The 2014 notice lists people granted deferred action or Temporary Protected Status among those with satisfactory status, as PRUCOL, and #11128 covers New York's rules for DACA holders.

3. New York's age-65 term starts in 2024. Part H makes January 1, 2024 the latest start and deems that change in force from January 1, 2023; it starts no coverage on the earlier date. The model starts the term on that latest date. 23 OHIP/INF-2 and the New York City page give January 1, 2024 as the start, and both stay unverified.

4. The pregnancy term runs through each state's Medicaid postpartum period. The formula reuses is_pregnant_for_medicaid_nfc, the test the Medicaid pregnancy category uses in every state, so the term ends on the same day as the category's postpartum period. That test passes a person during pregnancy and while fewer days have passed since delivery than the state's period. The model reads that period on January 1 of each year. New York's 365-day period starts March 1, 2023, so the model reads 60 days through 2023 and 365 days from 2024. Massachusetts's starts April 1, 2022, so the model reads 60 days through 2022 and 365 days from 2023.

The model holds a count of days since delivery and no date on which the pregnancy ended, so it ends the term at day 60 or 365. Massachusetts runs coverage on to the end of the month in which the period ends: its 2014 text does so for the 60-day period, and its text revised February 13, 2026 for the 12-month period. For example, take an undocumented Massachusetts resident who qualified under 130 CMR 505.002(D) while pregnant and whose pregnancy ended May 16, 2025. On May 25, 2026, 374 days later, the term no longer passes them, while the 2026 text covers them through May 31. #10463 tracks the month-end endpoint for every state.

Applying these periods to undocumented residents rests on a deduction in two places:

  • New York's 2014 notice names undocumented residents and gives them sixty days. The one-year period in section 366(4)(b)(1) names women eligible under section 366(1)(b)(2) or (4).
  • Massachusetts's 2014 text gives pregnant other noncitizens 60 days and its 2026 text gives them 12 months. No text cited here dates the change for them, so 2023 to 2025 follow the state's general date.

The other choice holds undocumented residents at 60 days.

5. The pregnancy and child terms hold from 2015. They carry the 2021-01-01 key of the flag they replace, so backdating gives them every model year, as it gave the flag. New York's October 2014 notice and Massachusetts's text effective January 1, 2014 show each state's pregnancy rule before 2015. Section 2511(2) dates the Child Health Plus income criteria from 1999 to 2008 and tests no immigration status. The Department's 2004 directive and 2008 guide would date New York's rules earlier, and both stay unverified. #11127 asks for dated starts; this PR keeps the backdated value.

6. The aged term reads a state flag and is_ssi_aged. That variable holds the age-65 test the Medicaid aged group already uses. The other choice sets a per-state age threshold, with infinity for no coverage, as ineligible_child_age_limit.yaml does. It would also serve a state that covers another age range.

Questions this PR leaves open:

Proposed follow-ups

Invariants

For is_medicaid_immigration_status_eligible and is_chip_immigration_status_eligible:

  • No result changes for anyone other than an undocumented resident.
  • No result changes outside New York and Massachusetts.
  • An undocumented Massachusetts resident passes the Medicaid immigration test only when pregnant or in the postpartum period, and never passes the CHIP immigration test.
  • An undocumented New York resident passes the Medicaid immigration test only when pregnant or in the postpartum period, or when aged 65 or older from 2024.
  • An undocumented New York resident passes the CHIP immigration test only when under 19.

YAML cases pin each one at single points, and the grid run in the test plan checks all five. The section above traces what follows from the two tests, and other variables that read Medicaid or CHIP eligibility or enrollment can change too.

Test plan

  • YAML tests with expected values from the sources above: 41 new cases in six files. Forty have a comment inside the case, and the citizen case that opens the federal CHIP file relies on the file's header comment. Of the first 24, fourteen fail on main and all pass with this PR. The other ten pin results that main already gives, such as a pregnant undocumented resident of either state. Two cases follow a New York family to is_chip_eligible_child, and one follows a pregnant Massachusetts resident at 150% of the poverty line to is_medicaid_eligible. Commit 81d1a02 adds four: three postpartum cases and a pregnant 17-year-old in New York. Commit d979176 adds 13. Paired cases pin the postpartum edges at 59 and 60 days and at 364 and 365 days. A New York family case asserts a CHIP federal share of 0 for the enrolled undocumented child, 0.65 for the citizen sibling, and both cost components. Four cases test the new federal CHIP immigration variable.
  • The four test files the PR changed through commit 822177f, run at that commit with the PR's parameter files and variables loaded in memory, one file per process: 38, 23, 40 and 28 cases pass. With main's code, the same files give 14 failures and 115 passes. At faa4b9a, with the code loaded in memory, the Medicaid immigration file's 50 cases pass, and so do the 31 cases in the cost, CHIP immigration and federal CHIP immigration files.
  • policyengine-core test on a clean export of the first commit, 50efc6e: its 128 cases passed. That run loaded the three new parameter files through the package's own load path. Besides comments and reference entries, the later commits change one value in those files, Massachusetts's pregnancy term.
  • Thirty-three existing test files read these variables or hold an undocumented New York or Massachusetts resident. Their 462 cases pass, one file per process, with the variables and parameters from before commit d979176 loaded in memory. They include the Massachusetts partner contract file with an undocumented household head and New York's HEAP integration file, and no expected value in them moves.
  • A grid run before commit d979176 compares main with this PR for both immigration tests. It covers six states (New York, Massachusetts, the District of Columbia, Oregon, New Jersey and Texas), 11 statuses, eight ages from 0 to 70, four pregnancy and postpartum states, and eight years from 2015 to 2028. Of 33,792 cells, 272 differ: 176 Medicaid cells move from pass to fail, and 96 CHIP cells move from fail to pass. All 272 belong to undocumented residents of New York and Massachusetts, and they match the set the five invariants predict. From commit d979176, is_chip_immigration_status_eligible reads its federal part from the new variable, which holds the expression the test computed in place before. A second run of the grid at 56471c5 matches the one saved at 822177f in all 33,792 cells. Commit faa4b9a changes comments, documentation, test case names and the changelog, and no formula, parameter value, test input or expected value.
  • Source-conflict register: M.G.L. c. 118E, section 16D(2) and 130 CMR 504.006(D)(1) differ on pregnant undocumented residents, and this PR follows the regulation (choice 1). The branch records that reading as open candidate us-ma:undocumented-pregnancy-masshealth-standard in source_conflicts/candidates.yaml, for the project lead to decide. The register records places where a jurisdiction's sources disagree, conflicts between agency sources included. The New York questions add no entry. Section 2511(2)'s subsidy ceiling and section 2511(5)'s full-cost enrollment can both hold. The Department of Health guidance this PR could not read gives it no agency rule to weigh against the sources it did read on age 65 or postpartum coverage.
  • ruff format and ruff check (0.15.5) pass on the two variables changed before commit d979176.
  • Changelog fragment in changelog.d/.

Pull request run 44921515229 at 735542eb87 passed all 37 jobs on GitHub's merge with main e32ea13801.

Related

Microsimulation impact

We compared this head with main at its branch point, a070f2e458, on the default dataset for 2024 and 2025. That base predates #10950, and the run sums national totals only, so it gives no split by state or between federal and state Medicaid spending.

Weighted people 2024 2025
Newly fail the Medicaid immigration test 584,248 (436 records) 589,673 (436 records)
Newly pass the CHIP immigration test 39,672 (30 records) 40,040 (30 records)
Leave Medicaid eligibility and enrollment 65,881 (114 enrolled records) 66,493 (116 enrolled records)
Lose WIC categorical eligibility 50,321 (86 records) 50,789 (85 records)
  • CHIP eligibility and enrollment rise for four records with a combined weight under 0.01 in each year. The other records that newly pass the CHIP immigration test fail another of CHIP's conditions, and the run doesn't show which.
  • Total Medicaid spending stays at its calibrated level: the net change stays under one millionth of the total in each year. In a standalone run each state's spending divides among the people the model enrolls, as the section above explains, so each remaining enrollee's cost rises when others leave. A reform simulation reuses its baseline's sum, so there spending would fall.
  • WIC benefits, the premium tax credit, household benefits, income taxes and household net income don't change in either year.

axiom: TheAxiomFoundation/rulespec-us#2332 queued (New York Social Services Law 122(1) and 366(1)(g)(4) and (4)(b)(1), Public Health Law 2510(4) and 2511(2), M.G.L. c. 118E, § 16D(2) and 130 CMR 504.006(D) and 505.002(D); the pinned corpus release holds none of them, so the signed encoder can't run yet). The CHIP federal share stays microsim-only.

Fixes #11127

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 18, 2026 16:12
… it in Massachusetts

undocumented_immigrant.yaml gave undocumented residents of New York and
Massachusetts Medicaid at every age from 2021, and backdating carried
that to 2015.

- New York and Massachusetts read false in the all-ages flag.
- New York covers undocumented residents during pregnancy and the
  postpartum period, and at age 65 or older from January 1, 2024,
  through two parameters under gov.hhs.medicaid.eligibility.undocumented.
- New York covers undocumented children through the Children's Health
  Insurance Program alone, through gov.hhs.chip.undocumented.child.
- The District of Columbia and Oregon keep their values.

Fixes #11127

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- pregnant.yaml: say whom Social Services Law section 366(4)(b)(1)
  covers, cite part CCC of chapter 56 of the Laws of 2022 for the
  March 1, 2023 start, and say the notice supports sixty days only.
- aged.yaml: note that part H of chapter 57 of the Laws of 2023 is
  deemed in force from January 1, 2023.
- undocumented_immigrant.yaml and child_age_limit.yaml: name the CHIP
  folder, and date Oregon's flag.
- CHIP immigration test: drop a funding claim from a comment, and give
  each new case its arithmetic.
- chip.qmd and the changelog: date New Jersey's route and describe
  the Massachusetts change as the immigration test it is.

No parameter value, formula or expected test value changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Limit Medicaid for undocumented New Yorkers to covered groups and end it in Massachusetts Limit New York and Massachusetts Medicaid for undocumented residents Nov 19, 2026
@MaxGhenis
MaxGhenis marked this pull request as ready for review November 19, 2026 01:15
130 CMR 504.006(D)(1) gives undocumented residents MassHealth Standard
if they are pregnant, so Massachusetts reads true in
gov.hhs.medicaid.eligibility.undocumented.pregnant. The first commit
left them to the CHIP unborn-child route, which has no postpartum term.

- pregnant.yaml: Massachusetts true from the 2021 key, citing 130 CMR
  504.006(D), 130 CMR 505.002(D) and Eligibility Letter 213.
- Tests: a pregnant undocumented Massachusetts resident passes the
  Medicaid immigration test in 2025 and is Medicaid eligible at 150% of
  the poverty line, and a new case covers the 60-day postpartum period
  in 2017.
- New York: cite Department of Health documents 04 OMM/ADM-7, 23
  OHIP/INF-2 and GIS 08 MA/009, and the section 1332 waiver
  application.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
MaxGhenis and others added 3 commits November 19, 2026 11:55
- Four new cases in the Medicaid immigration test: an undocumented
  resident between 60 days and 12 months after delivery in
  Massachusetts in 2022 (fails) and 2023 (passes) and in New York in
  2024 (passes), and a pregnant 17-year-old in New York who passes
  both immigration tests.
- The CHIP variable and child.yaml said these children do not pass
  the Medicaid immigration test. They pass it only through the
  pregnancy term.
- The New York comment in undocumented_immigrant.yaml names the
  postpartum period and the 2024 start at age 65.
- child.yaml says why the New York route reads the national CHIP age.

No parameter value or formula changes, and no existing expected test
value changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
New York covers undocumented children under Child Health Plus with its
own funds, and the model gave those enrollees the 65% enhanced federal
match. The federal CHIP immigration test now has its own variable, and
chip_federal_share returns 0 for a child who is enrolled through a
state undocumented-child route and fails that test. CHIP eligibility,
the benefit amount and the match on the unborn-child route stay the
same, and no result outside New York changes.

A new case follows a New York family to the share and both cost
components. Eight cases pin the postpartum period at 59 and 60 days
and at 364 and 365 days. The comments, the CHIP documentation page and
the changelog say that Child Health Plus is the separate route for
children, that the Medicaid pregnancy route also applies to them, and
that Public Health Law 2511(2) sets the subsidy criteria.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
chip_federal_share's documentation and comment read as a rule for
every state's undocumented-child route. The formula applies it where
gov.hhs.chip.undocumented.child is true, which is New York alone, and
an undocumented child whom New Jersey admits keeps the match. A test
comment now says the model applies the Child Health Plus route to
undocumented children only. Documentation and comments only: no
formula, parameter value or expected test value changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
MaxGhenis and others added 2 commits November 20, 2026 17:52
Three New York comments stated what Department of Health documents
say, and those documents are cited without having been read. The
comments now give the verified basis and mark each document as
unverified. The undocumented-immigrant comment says that the model
applies New York's general postpartum period to undocumented
residents. The Child Health Plus comment says that the model applies
its full-premium schedule between the 400% premium threshold and the
405% limit.

A comment where the pregnancy term is built says that the term and the
Medicaid pregnancy category end on the same day, before the month-end
continuation in 130 CMR 505.002(D)(4). chip_federal_share drops an
undated "so far" and names CHIP's child category, and the changelog
says who carries the zero federal share. Twenty-six test cases that
assert the immigration variable alone are renamed to say "passes" or
"fails the Medicaid immigration test".

Comments, documentation, case names and the changelog only: no
formula, parameter value, test input or expected value changes.

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

M.G.L. c. 118E, section 16D(2) bars benefits other than emergency
services to undocumented residents unless federal law requires them,
and 130 CMR 504.006(D)(1) gives pregnant undocumented residents
MassHealth Standard. The model follows the regulation. This adds the
question to source_conflicts/candidates.yaml as an open candidate for
the project lead to rule on. No marker is added, and no model file
changes.

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

The example said the regulation covers the resident through day 364
after delivery. That is the model's day count. 130 CMR 505.002(D)(4),
in the text revised February 13, 2026, continues eligibility for 12
months and then to the end of that month. The example now states the
model's result, the regulation's period and the result under the
statute's reading separately. One line of one file changes.

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

Copy link
Copy Markdown
Contributor Author

US + core hub merge audit, us#11130 at 735542eb874c81acf340f7ab8059372b95f22e96 (squash): Limit New York and Massachusetts Medicaid for undocumented residents.

🤖 Generated with Claude Code

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.

The model gives undocumented residents of New York and Massachusetts full Medicaid at every age, back to 2015

1 participant