Repository navigation
Conversation
Replace KFF's 2021 traditional-Medicare figure and an unsourced $14,500 2025 estimate (held flat for every later year) with CMS National Health Expenditure Table 17's Medicare spending per enrollee: historical 2013-2024, projected 2025-2034, extended to 2100 at the 2031-2032 rate so the end of sequestration in 2033 does not compound. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Transcription checks against NHE Table 17 (and its spending over enrollment), a cross-source level check against the Trustees Report's per beneficiary cost, Hypothesis properties for order, the 2035-2100 closed form and calendar-year steps, and identities for medicare_gross_cost, medicare_cost and qmb_cost_sharing. Existing expectations move from $14,500/$11,080 to the CMS values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CMS Medicare spending per enrollee (calibration.gov.hhs.medicare.per_capita_cost, #10107) includes Part D, which enrollee premiums partly finance, but medicare_cost subtracted only Part A and Part B premiums. It now also subtracts the Part D enrollment share times (Part D premiums per Part D enrollee + the person's Part D IRMAA), both new calibration series from the 2026 Medicare Trustees Report (Tables III.D3, V.E4 and V.B3). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Transcription from the Trustees' cells, conservation back to Table III.D3 premium income, bounds, the 2036-2100 extension's closed form, and a Hypothesis differential test of medicare_cost against a reference implementation (0 <= net <= gross, non-increasing in Part D IRMAA). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CBO's standard household income counts Medicare at the government's average cost per enrollee, net of premiums paid by enrollees, and counts the Part D low-income subsidy separately as a means-tested transfer (CBO, January 2026, publication 61910; Distribution of Household Income in 2021, Appendix A; Habib 2018, Appendix B). The default list used medicare_gross_cost, which is gross of premiums and includes the subsidy. Add cbo_medicare_benefit: Medicare spending per enrollee less per-enrollee Part A, B and D premium income and the Part D low-income subsidy per Medicare enrollee, from the 2026 Medicare Trustees Report. Every enrollee gets the same value, as CBO assigns the average. Fix the medicare_gross_cost docstring, which said gross matched CBO. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
YAML: the 2025, 2015 and 2035 values, and five people with different premiums (Part A premium, income-related premiums, under 65, not enrolled) who all get the same average. Python, parameters only: transcription and conservation against the Trustees cells, the Part D series against #10111's share x premium plus income-related premiums, Part B premium income including income-related premiums, bounds through 2200, the post-2035 extension keeping each series' share of spending, and January reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ans-tested transfer Adds statutory eligibility for the Part D low-income subsidy (Extra Help): countable income below 150% of the poverty guideline for the family size, countable resources within the CPI-indexed limit plus the burial funds exclusion, and deemed eligibility for Medicaid enrollees, SSI recipients and Medicare Savings Program enrollees. The subsidy is valued at the Medicare Trustees' average payment per subsidy enrollee (Table IV.B9), as CBO assigns it, and joins gov.household.cbo_means_tested_transfers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
YAML tests for every new variable, households computed from their inputs (Medicare Savings Program deeming, the subsidy's own tests, the pre-2024 partial range, take-up), and the CBO means-tested list. Python invariants: IV.B9 transcription, IV.B10 conservation, agreement with the per-enrollee series cbo_medicare_benefit subtracts, the CPI rule behind the resource limits, Hypothesis bounds, restated eligibility rules over a seeded sample with income, interest and asset variants, and a differential test against msp_countable_income. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…idy average Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The branch was stacked on #10107, which has since merged to main in revised form, so its shared lines (the per capita cost series, its extension and its tests) take main's version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#10115 made income_adjusted_part_d_premium_surcharge zero for anyone not enrolled in Part D (medicare_part_d_enrolled). Multiplying it by the Part D enrollment share then counted non-enrollment twice once take-up is modeled, and charged an enrolled person only 82 percent of the adjustment they pay. The share now scales only the average Part D premium, which matches spending per enrollee averaged over every Medicare enrollee; the person's own adjustment amount is subtracted as computed, as the Part B one is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Part D series listed the report in several reference entries that differed only by #page=; CLAUDE.md asks for one entry per source with the pages in its title. The 2030 base beneficiary premium reset is on file page 154, not 152, and file page 219 says low-income subsidy enrollees pay substantially reduced premiums, not none. The December 31 credits move to the following year, not back a year. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…re-net-of-premiums Brings in current main via #10111. Main renamed unemployment_compensation to total_unemployment_compensation in the CBO social insurance list, so the list now reads social_security, cbo_medicare_benefit, total_unemployment_compensation, workers_compensation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LwQq6HHj8EHZr9hwABoKJk
CLAUDE.md asks for one reference entry per document with the page list in the title. The four Trustees calibration series listed the 2026 report two to four times with hrefs that differed only by #page=; each now has one entry naming every table and PDF page its comments cite (and the LIS series keeps a separate entry for the 2025 report). The CBO social-insurance list now cites Appendix D (PDF page 39) of the 2021 report alongside note 3, and the 2026 report's PDF page, and cbo_medicare_benefit notes the extra PDF pages of its 2021 and 2018 CBO references. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LwQq6HHj8EHZr9hwABoKJk
cbo_medicare_benefit subtracts these series from calibration.gov.hhs.medicare.per_capita_cost, which starts in 2013, but each series started in 2015. So cbo_household_income raised ParameterNotFoundError in 2013 and 2014 for any household with a Medicare enrollee, where main returns a value. The 2022 to 2026 Trustees Reports drop 2013 and 2014 from Tables III.B4, III.C7 and V.B3, so Part A, Part B and enrollment come from the 2021 report. Part D premium income comes from the 2026 report's Table III.D3, whose footnote 6 lists no December 31 credit in either year, and the low-income subsidy from the 2023 report's Table IV.B10, the newest that shows both years. Each value is the aggregate over Table V.B3's total enrollment, rounded to the cent. The 2021 report reproduces every stored 2015 and 2016 value to the cent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H3DAwxuFHxBaZvWgnqNt1E
Nothing tested a year before 2015: the Hypothesis bounds test started at 2015 and every YAML case was 2015 or later, so the 2013 and 2014 crash in cbo_household_income went unseen. - cbo_medicare_benefit.yaml: Cases 6 and 7 assert the 2013 and 2014 net values. Case 3 is renamed, since 2015 is no longer the series' first year. - cbo_household_income.yaml: the review's 2014 witness, an enrollee with $10,000 of earnings, asserts the net benefit and total income. - test_cbo_medicare_benefit_series.py: a transcription test recomputes each 2013 and 2014 value from the Trustees cells, and the bounds test now starts at 2013 and always tries 2013. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H3DAwxuFHxBaZvWgnqNt1E
The documentation said "net of premiums paid by or on behalf of
enrollees", stating as fact a reading CBO's own wording ("premiums paid
by enrollees") leaves open. Say instead that the series net premium
income as the Medicare Trustees count it, which includes premiums state
Medicaid programs pay, and that PolicyEngine counts those in Medicaid:
medicaid_cost_if_enrolled spreads state totals whose MACPAC (2021-2022)
and KFF sources include Medicaid's payments of Medicare premiums.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H3DAwxuFHxBaZvWgnqNt1E
…m titles The date test now draws from 2013 and pins December 28, 2013, so a mid-year entry under a 2013 value fails it. Three reference titles drop the one page they cite; each href keeps it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Say in `medicare_cost`'s documentation that every enrollee nets the same average premium. - Name retiree drug subsidy beneficiaries in both labels, and add page 153 to the premium reference. - Drop the test's reference equality, keeping the bounds and the IRMAA slope. - Add a 2036 case that pins where the premium's extension starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The subsidy pays part of a Part D plan's premium and cost sharing, so 42 U.S.C. 1395w-114(a)(3)(A)(i) defines a subsidy eligible individual as one enrolled in a prescription drug plan or MA-PD plan, and 20 CFR 418.3101(b) says an applicant "must enroll in one of these plans to actually receive a subsidy". medicare_part_d_enrolled reached main in #10115 after this branch began, so part_d_lis_enrolled now requires it, including for Medicaid enrollees and SSI recipients: Medicare enrolls them in a plan automatically (42 CFR 423.34), but they can opt out of Part D, for example for TRICARE for Life or VA drug coverage. takes_up_medicare_part_d_if_eligible defaults to true and Microcosm does not yet set it, so the microsimulation is unchanged; a household that sets it to false now gets no subsidy. The seeded household sample in test_part_d_lis.py now draws Part D enrollment and its restated rule requires it; the YAML tests add an opt-out case for each path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#10118 extended calibration.gov.hhs.medicare.part_d_low_income_subsidy_ per_enrollee and the other Medicare per-enrollee series back to 2013, the first year of per_capita_cost. The per-recipient average started in 2015, so part_d_lis raised ParameterNotFoundError for a 2013 or 2014 enrollee. The 2023 Trustees Report's Table IV.B9 (file page 158), the newest that shows both years, gives $2,023 per subsidy enrollee in 2013 (11.5 million enrollees) and $2,052 in 2014 (11.8 million); its Table IV.B10 gives $23.2 billion and $24.3 billion, which the products match within rounding, and the 2021 report's Table V.B3 enrollment (52,504 and 54,115 thousand) turns them into #10118's per-enrollee values within 0.4%. The invariant tests now cover both years. Before 2015, cbo_household_means_tested_transfers still raises ParameterNotFoundError through Medicaid and SNAP parameters, as it does without this change. The 2026 report's reference now lists both cited pages (119 and 158), and the Habib reference both of its pages (51 and 52), per the repository's reference rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
- Index the resource limits after 2026 by the unrounded September CPI-U ratio (42 U.S.C. 1395w-114(a)(3)(E)(i)), and add September 2026's CPI-U. - Follow the statute's chain for the couple limit from 2015, entered as a source-conflict candidate against CMS's 2015 memo. - Count non-home real estate for the household head's couple, floor each income source at zero, count both returns' dependents for spouses who file separately, and document the auto-enrollment data contract. - Fix the per-recipient and jurisdiction citations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add part_d_lis next to msp_cost in household_health_benefits and healthcare_benefit_value, which count only when include_health_benefits_in_net_income is on. - YAML cases for the indexed 2027 limits, the statutory couple limit, non-home real estate and its attribution, rental losses, separate filers' family size and the Part D input of Medicaid enrollees. - Python tests: the CPI rule through 2027 with no published exception, projected years and a synthetic tree for the extension, exhaustive loops for the bounds, and a sample with separate filers, rental losses, real estate and households on each limit, plus a reach check. - Move the registry entry to the HHS block and fix its notes. - Read only September instants as published CPI-U values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16,590 x 336.940 / 324.800 is 17,210.08 and 33,120 x 336.940 / 324.800 is 34,357.92. The rounded limits and the tests' inputs don't change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CMS enrolls a qualifying covered retiree only if they are a full-benefit dual eligible whose plan sponsor it approved for the retiree drug subsidy and they confirm that they want a plan; it enrolls no other covered retiree. The docstring had limited the exception to retirees whose employer gets the subsidy. Documentation and a test comment only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A household with two flagged heads gives its real estate to the older one, and a non-September instant in the September CPI-U node is not a published September. Both rules had no test; the round 3 mutants that reversed them survived. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The module docstring promised a reference-implementation comparison that the file no longer contains. It now names the bounds check the test runs and points to the YAML cases that pin the value. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main's #10632 added two 2026 cases to medicare_cost.yaml. Keep them as unit tests 14 and 15, after this branch's cases. The temporary protected status case now subtracts the 2026 average Part D premium: $18,983 - $2,434.80 Part B - 0.8195 x $289.79 = $16,310.72. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Hypothesis test adds a third enrollee with different Part A and Part B premiums and checks that all three people have the same gross cost. Invariant 6 now names the three premiums the test varies. Invariant 2 now says its $0.2 billion slack covers the December 31 credits that Table III.D3 books a year early. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main's version bump consumed changelog.d/medicare-cost-part-d-premiums.fixed.md into CHANGELOG.md. Merging #10111's branch head restored it, which would repeat the entry in the next release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CBO's 2021 household income report defines its terms in Appendix D, which starts on PDF page 41. Page 39 holds Table C-3. Cite page 41 in the reference title and comment of cbo_social_insurance_benefits.yaml and in cbo_medicare_benefit's reference comment. Describe Medicare in cbo_household_social_insurance_benefits as cbo_medicare_benefit does: average spending per enrollee less premium income and the Part D low-income subsidy. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Conflicts, resolved keeping both sides: - uprating_extensions.py: the Part D LIS helpers and main's spousal impoverishment functions both stay, and the LIS extension runs after the home equity limits and before the spousal impoverishment standards. get_september_cpi_u_values now describes main's not seasonally adjusted CPI-U series. - cpi_u_nsa_september.yaml: main's description, since the series now also feeds the spousal impoverishment index. - source_conflicts/candidates.yaml: main's #10076 note and new NIIT candidates, then the LIS couple-limit candidate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Answers the round 3 reviews of #10127: - Rental property equity counts as an LIS resource, less up to $6,000 when the household's net rent is at least 6% of the excluded equity (20 CFR 418.3405(b), 416.1222(a); POMS HI 03030.020, SI 01130.503). Every rental is treated as nonbusiness property. - Each resource amount, the household's and each person's, counts at no less than zero, so negative equity or an overdraft no longer offsets other resources. - The resource-limit adjustment uses exact fractions, so exact $5 products round up; the finite decimal ratio put some just below $5. - Tests: rental equity and zero-floor YAML, the reviewers' households, the exact-tie rounding cases, the model-September fallback, and reach checks that each sample variant changes a result. - Citations: the CY 2026 CMS memo at its Wayback capture (CMS's URL now serves CY 2027), the registry's CBO wording and the take-up docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rental property exclusion now cites 42 U.S.C. 1395w-114(a)(3)(E)(i), which makes the subsidy's resources SSI's, and 1382b(a)(3), SSI's exclusion for property essential to self-support. The variable's documentation names the parameters instead of their 2006 values, and the September filter's comment says what the gap in published years means. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Round 4 review P3s on #10127: - Two at-limit cases show a negative bank balance or negative real estate counts as zero rather than as its size, so an abs() floor now fails. - The rental variable and household_sources.yaml say why the exclusion follows the statute's section 1382b and POMS HI 03030.020 A rather than 20 CFR 418.3425 or 42 CFR 423.772 read alone, and cite 418.3425(c), 416.1222(a) and SI 01130.501. - The rental variable's documentation says trade-or-business rentals have no input, so every rental is held to the $6,000 exclusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Round 4 delta review P3s on #10127: the codified 20 CFR 416.1222(a) still caps trade-or-business property at $6,000, so the documentation and comment now say that the last clause of 42 U.S.C. 1382b(a)(3) and POMS SI 01130.501 A.2 override that cap from May 1, 1990. The comment's claim that the regulations don't show the rental exclusion now names the Extra Help regulations, since the SSI regulation 416.1222(a) does show it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Handing this PR to the US + core hub. Its remaining steps are CI, merge order and a decision for Max. Head: 5f60570dcc81. CI run 43654498751 was running at hand-off: 3 checks passed, 24 pending. The PR's test merge, 956b77b, sits on main f67128e; the checkout log will confirm that once the run completes. Review: every round has finished, with no open P0–P2.
Passed locally:
Depends on: #10118, which squash-merges first. It waits on Max's d2930. Landing steps ( Follow-ups owed:
|
This PR builds on #10118 (#10111 merged on 2026-11-13, #10107 on 2026-10-12). It merges #10118's head b867d6d and
mainas of 94054aa, and it targetsmainso that CI tests the combined tree: CI runs only on pull requests tomain(.github/workflows/pr.yaml). Until #10118 merges, the diff here includes #10118's changes; this PR's own work is the commits after b867d6d. Once #10118 squash-merges, this branch mergesmainagain before it lands.Summary
#10118 makes the default CBO household income count Medicare the way CBO does: net of premiums, and without the Part D low-income subsidy (LIS, "Extra Help"). CBO counts the LIS as a means-tested transfer instead. pe-us had no LIS variable, so after #10118, CBO income after transfers leaves out the LIS: about $18 billion in 2026, which #10118 takes out of Medicare at $255.86 per enrollee.
This PR models the LIS and counts it in two places:
gov.household.cbo_means_tested_transfers, CBO's means-tested transfers;gov.household.household_health_benefitsandhealthcare_benefit_value, besidemedicaid_costandmsp_cost.The model pieces:
part_d_lis_eligiblecovers Medicare enrollees in the 50 states and DC whom the law deems eligible or who pass the income and resource tests. Medicaid enrollees, SSI recipients and people eligible for a Medicare Savings Program count as deemed.part_d_lis_enrolledpays only people in a Part D plan (medicare_part_d_enrolled, from Charge the Part D income-related premium only to Part D enrollees #10115). In a plan, Medicaid enrollees and SSI recipients get the subsidy automatically; other eligible people needtakes_up_part_d_lis_if_eligible.part_d_lisgives each enrollee the Medicare Trustees' average subsidy per LIS enrollee, CBO's measure: $1,254 in 2026.part_d_lis_countable_rental_property_equity: rental property equity less the exclusion for income-producing property (see Real estate).gov.hhs.medicare.part_d.low_income_subsidy, one calibration series (2013–2035), BLS's September 2026 CPI-U, a projection of the resource limits after 2026 inuprating_extensions.py, aprograms.yamlentry, a take-up flag and a source-conflict candidate.What changes:
household_net_incomeandhousehold_benefitsdon't change. The health benefit lists reach them only whengov.simulation.include_health_benefits_in_net_incomeis on, and it's off by default.healthcare_benefit_value, and sohousehold_net_income_including_health_benefits, rise by the subsidy.medicare_cost, whose spending per enrollee already includes all Part D spending, the LIS among it. So nothing counts twice.In the 2026 microsimulation, 9.89 million people receive $12.40 billion. CBO income after transfers and taxes and
healthcare_benefit_valueeach rise by that amount (see Impact).Why an average, not a computed benefit
Most of the LIS is the cost-sharing subsidy. That depends on each enrollee's drug use, and pe-us has no Part D claims. The premium subsidy depends on the region's benchmark premium and the plan chosen. CBO values the LIS the same way for everyone:
This PR keeps CBO's average but takes recipients from the law, not from CBO's pool. CBO draws recipients until their count matches the administrative total. The model pays every eligible person in a Part D plan who is on Medicaid or SSI or takes the subsidy up, so its count comes from the data (see Impact).
The Trustees publish the average directly: Table IV.B9's "Subsidy amount" per LIS enrollee. The series takes 2016–2035 from the 2026 report (file page 158), 2015 from the 2025 report and 2013–2014 from the 2023 report. Enrollment times the amount reproduces Table IV.B10's payments, for example 14.4 million × $1,254 = $18.1 billion in 2026.
Institutionalized enrollees. CBO removes institutionalized LIS recipients and their benefits (Habib 2018, file page 52). Its adjusted totals (file page 51) are:
CBO's 2016 benefits come from its own baseline. Its recipient counts are 88–90% of the Trustees'. So the adjustment shows up mostly as fewer recipients, which the model's noninstitutional microdata already reflects.
Eligibility
defined_for = "medicare_enrolled";part_d_lis_enrolledrequiresmedicare_part_d_enrolledpart_d_lis_income_eligiblepart_d_lis_family_size: the marital unit plus the dependents on the couple's returns, on both returns when the spouses file separatelypart_d_lis_countable_income: SSI's unearned sources lessincome/excluded_sources.yaml, then_apply_ssi_exclusionson the couple's totalslimit/individual.yaml,limit/couple.yaml;extend_part_d_lis_resource_limitsafter 2026burial_exclusion.yamlsources.yaml(bank, stock and bond assets) andhousehold_sources.yaml(household_other_real_estate_equityandpart_d_lis_countable_rental_property_equity, for the household head's couple)part_d_lis_countable_rental_property_equity;rental_property/equity_exclusion.yaml,rental_property/minimum_return.yamlpart_d_lis_deemed_eligibleineligible_jurisdictions.yamlBefore 2024, income from 135% to 150% of the guideline, or resources between the lower (D) and the higher (E) limit, gave a partial subsidy. The Inflation Reduction Act (§ 11404) made all of it a full subsidy from 2024. The model uses the outer bound in every year, because CBO and this PR give every recipient the same average.
The LIS income test takes SSI's exclusions "without regard to the application of section 1396a(r)(2)" ((a)(3)(C)(i)). So
part_d_lis_countable_incomekeeps SSI's $20 general exclusion even in Illinois and Mississippi, whose Medicare Savings Program income takes larger 1902(r)(2) exclusions.Rental losses. SSI counts net rental income, and POMS SI 00830.505 says not to "use [excess expenses] to offset other income".
part_d_lis_countable_incometherefore counts each unearned source at no less than zero, for each spouse. pe-us's own SSI and Medicare Savings Program income sums the sources with their signs, so a rental loss there still offsets Social Security; a separate task covers those.Real estate. 423.772 counts "real estate that is not the applicant's primary residence", and 20 CFR 418.3405(b) counts it whether or not it can be sold within 20 workdays. pe-us holds real estate equity by household, and a household amount doesn't say whose it is. So
part_d_lis_resource_eligiblecounts the household amounts for the household head's couple (the oldest member's, when no one is head), once per household:household_other_real_estate_equityin full;part_d_lis_countable_rental_property_equity. SSA applies the SSI exclusions to Extra Help (POMS HI 03030.020 A), including the one for nonbusiness income-producing property (SI 01130.503, 20 CFR 416.1222(a)): up to $6,000 of equity is excluded when the property's net annual income is at least 6% of the excluded equity, and none when it falls short. SI 01130.503's first example is a rented former home with $10,000 of equity, of which $4,000 counts. The model compares the household's net rental income (rental_income, summed over members) with 6% of the excludable equity.What the model can't see:
Each amount, the household's and each person's, counts at no less than zero, so property worth less than its debt or an overdrawn account doesn't offset other resources.
The default dataset holds neither real estate input, and no negative bank, stock or bond amount (the person and household tables of
populace_us_2024.h5@populace-us-2024-spm-20260909, snapshot 9a814a3b, checked 2026-11-14). So in the microsimulation these rules change nothing.Part D plan. The statute's subsidy eligible individual "is enrolled in a prescription drug plan or MA–PD plan" ((a)(3)(A)(i)). CMS's rule reads "enrolled in, or seeking to enroll in a Part D plan" (423.773(a)), and SSA's rule tells people found eligible before they enroll that they "must enroll in one of these plans to actually receive a subsidy" (418.3101(b)). The model can't see who seeks to enroll, so
part_d_lis_eligibleholds the deemed, income and resource tests, andpart_d_lis_enrolledadds the plan: only people withmedicare_part_d_enrolled(from #10115) receive the subsidy.Enrollment. CMS tells deemed people they don't need to apply (423.773(c)(2)). It enrolls subsidy-eligible people who don't choose a plan, and any of them can decline (42 CFR 423.34(d)(1), (e)). Qualifying covered retirees, whose employer retiree drug coverage qualifies for the retiree drug subsidy, are the exception: CMS enrolls only the full-benefit dual eligibles among them whose plan sponsor it approved for that subsidy, and only if they confirm that they want a plan (423.34(d)(3)). So:
part_d_lis_enrolledis automatic formedicaid_enrolledorssi > 0people in a Part D plan;takes_up_part_d_lis_if_eligible, which defaults to True. pe-us models Medicare Savings Program eligibility, not enrollment, so MSP-deemed people go through the flag too;takes_up_medicare_part_d_if_eligibleshould set it True for Medicaid enrollees and SSI recipients other than those who decline and covered retirees who don't choose a plan. A person whose Part D input is False gets no subsidy.part_d_lis_enrolled's documentation states this contract.Microcosm sets neither
takes_up_medicare_part_d_if_eligiblenortakes_up_part_d_lis_if_eligible(git grepon microcosmorigin/main3db65154b, 2026-11-07); its only mention of the first is a comment. Both default to True. In the microsimulation, therefore, every Medicare enrollee holds a Part D plan, and every eligible one receives the subsidy. microcosm#1206 proposes a Part D take-up input.Values
Resource limits through 2026.
us:part-d-lis-couple-resource-limit-2015(source_conflicts/candidates.yaml), which follows the statute under the statute-first rule.~/reviews/medicare-part-d-lis-2026-10/scripts/verify_published_chain.py, from POMS HI 03030.025's prior-year list and BLS's Septembers).Resource limits after 2026.
extend_part_d_lis_resource_limits(uprating_extensions.py) projects each later year:get_september_cpi_u_valuestakes both Septembers fromgov.bls.cpi.cpi_u_nsa_septemberwhen BLS has published both, and otherwise both from the model's CPI-U series, never one of each. Sincemain's change to that series, it is the not seasonally adjusted CPI-U (BLS through October 2026), then CBO's annual averages, which have no seasonal pattern;END_YEAR.Medicaid home equity, as a side effect.
get_cms_cpi_u_percentage_increasenow reads its Septembers through the same helper. With September 2026 published, CMS's rounded percentage for the 2027 Medicaid long-term care home equity limits becomes 3.7% (336.940 / 324.800) instead of 3.1% from the projected series. The 2027 limit rises from $1,165,000 to $1,172,000.The helper also reads only September instants now, and a year needs both of its Septembers published to use them. Before the merge with
main, pe-us backdatedcpi_u_nsa_september's first value to 2015-01-01, which the old code counted as a published 2015 September.mainnow adds September 1988 (119.8), so the series runs 1988, then 2018 on, and no backdated entry exists; the check still keeps a gap year from reading the September before it.Per recipient. IV.B9, 2013–2035:
calibration.gov.hhs.medicare.per_capita_cost, like the per-enrollee series beside it.programs.yamlgives 2015 as the first verified year.Impact
2026, the default dataset (
populace_us_2024.h5@populace-us-2024-spm-20260909: 57,240 households, 166,321 people), one full run per side through the shared heavy lock. Base: this branch's merge-base with #10118's branch, c9dfbc2 (#10118's head then). PR: fe4af16 (the later commits through 2c447a3 change only documentation and tests). Each run imported its owngit archivesnapshot. Both sides predate the later merges of #10118's head and ofmain(through 94054aa). Those bring #10837, which changes SSI's general exclusion under spousal deeming and so can move who receives SSI, and with it the subsidy automatically (0.17 million recipients come by SSI alone here). This PR's own code has changed since fe4af16 only by round 4's fixes, which move nothing on this dataset.cbo_medicare_benefitmedicare_costhealthcare_benefit_valuehousehold_net_incomepart_d_lispart_d_lis_enrolledhealthcare_benefit_valueequal totalpart_d_listo within $220 and $112, float rounding on $12.4 billion.part_d_lis_enrolledgets anything.Recipients by path:
By quintile, ranked as CBO ranks: households by size-adjusted income before transfers and taxes, in quintiles of equal numbers of people. Households with negative income stay out of the lowest quintile; they gain $51 million.
What the review fixes moved. Round 4's changes (5ef50e7: rental equity, zero floors, exact rounding) move nothing on this dataset, which has no real estate input and no negative asset amount (see Real estate), and the exact rounding gives the same limits in every year the model fills. Round 3's, against the previous head (e415392), record by record on the same dataset:
Against the Trustees. The model reaches 69% of IV.B9's 14.4 million LIS enrollees and 68% of IV.B10's $18.1 billion. Two things account for much of the gap:
months_receiving_social_security_disability), and no Microcosm build sets that input (Medicare: add a Part B enrollment input and impute SSDI months so Part B rules reach the right people #10457, microcosm#876). So no disabled beneficiary under 65 can receive the subsidy here.With #10118. #10118 takes $255.86 per Medicare enrollee out of
cbo_medicare_benefit, which comes to $14.96 billion over the model's 58.5 million enrollees. This PR adds $12.40 billion back to the 9.89 million people it finds eligible.Scripts and outputs:
~/reviews/medicare-part-d-lis-2026-10/impact/(pair_inner.sh,compare.2026.fe4af16ec1.json,aggregates.2026.fe4af16ec1.json,r2_vs_r3.2026.json).Invariants and tests
YAML: 82 cases across 10 files in
tests/policy/baseline/gov/hhs/medicare/part_d/low_income_subsidy/. They include:Elsewhere:
cbo_household_income.yamlgains a case where the LIS is the only means-tested transfer, and its list test now includespart_d_lis(andmsp, which does not count);healthcare_benefit_value.yamlgains a case with the LIS;household_health_benefits.yamlgains two: the flag on counts the LIS, and the flag off leaves it out.Python,
tests/core/test_part_d_lis.py: 94 tests. At 4ecac84 the file took 24 s locally, 12–13 s of it the model load, and peaked at 1.46 GB against 1.13 GB for a bare model load; at 5ef50e7, with the registry tests in the same process, the peak was 1.45 GB. It runs in CI's core groups, which peaked at 6.0–9.7 GiB on main's 2026-11-07 run (42409791828).extend_part_d_lis_resource_limitsruns on every model build and takes 0.05 s of it. Builds take 7–9 s locally: three fresh builds at the base and three at the head, with no difference beyond their spread (~/reviews/medicare-part-d-lis-2026-10/ci-cost/load_cost.txt).cpi_u_nsa_septemberwherever the parameter has them.get_september_cpi_u_valuesreturns, and the 2035 limit exceeds 2027's.adjust_part_d_lis_resource_limit_for_inflationrounds to the nearest $10 with halves up and never lowers a limit, including three exact $5 products whose CPI ratios have no finite decimal; the published 2026 limits need the unrounded ratio.end_year. Inget_september_cpi_u_values, an instant other than September 1 (such as a backdated first value) doesn't count as a published September, and when a September is missing both come from the model's September values, not a neighboring month's.part_d_lis_countable_incomeequals 12 ×msp_countable_income, a separate implementation of the same SSI exclusions (single people and couples who both have Medicare). The sample has no Illinois or Mississippi households, whose MSP income takes the larger exclusions.The sample reaches every branch, and a test fails if one goes unreached. The test also checks that each variant raises its inputs and that each changes some result: more Social Security changes the income test for 14 households, more assets the resource test for 31, and counting the added interest would change the income test for 48. Counts at 5ef50e7 (
scripts/reach_counts.5ef50e7a20.txt), adults for the per-person branches and households otherwise:Mutations: each mutant edits a fresh
git archiveof a commit, which then runs the LIS YAML folder and the Python file, plus the suites the edit can reach (the household health benefit YAML, the Medicaid home equity YAML and the uprating tests). A mutant counts as caught only when a test fails, not when collection breaks.~/reviews/medicare-part-d-lis-2026-10/mutants/holds the results (results.txt,results_r3b.txt,results_r4.txt).healthcare_benefit_value.results_r4.txt):youngest_head: with two flagged heads, the younger one holds the real estate. No case had two heads; 2c447a3 adds one.september_filter_dropped: an instant other than September 1 counts as a published September. On the real tree this changes nothing. The only such instant is the backdated 2015-01-01 entry, and the parameter's Septembers start in 2018, so no year gains a complete pair of Septembers through it. 2c447a3 adds a synthetic test ofget_september_cpi_u_values.With three people of the same age, the household amount goes to exactly one of them, and to a flagged head when there is one. That held for all 24 combinations of member order and head flags tried (
scripts/tie_check.py).Local runs at the head, 17646bf (
mainthrough 94054aa merged), one process at a time in a shared slot underrun_capped.py(local-runs/summary.r5.17646bfd02.txt, core 3.36.0):test_part_d_lis.pywith the registry tests: 980 passed, 10 skipped, peak 1.41 GB;At 5ef50e7's tree (
local-runs/summary.r4.b34287ff8f.txt), code health passed: 547 passed, 1 skipped.Earlier, at 4ecac84 (
local-runs/summary.4ecac84cc2.txt):test_reform_folders_run_each_yaml_and_python_file_separately[True-contrib/crfb]and[True-reform], came from the local venv missingcoverage. With uv.lock's 7.13.2 installed, all four of that test's cases pass.Review
part_d_lis_enrolleddocuments the auto-enrollment contract (law 4);part_d_lissays how its recipients differ from CBO's, and this body reports the impact (law 6);review/r3_law_full.mdandreview/r3_code_full.md):october_fallbackmutant survived). 5ef50e7 adds one.runs/r4-precheck/) found no P0–P2 issues. Its P3s, the statute citation for the exclusion and two comments, are fixed in 3022441. The US + core hub's independent review of b867d6d..17646bf (law, code, and the two merges) approved with no P0–P2 findings. 7764ee6 answers its P3s:abs()floor mutants are caught, each by its own new case (mutants/results_r5.txt);household_sources.yamlsay why the exclusion follows the statute's section 1382b and POMS HI 03030.020 A rather than 20 CFR 418.3425 or 42 CFR 423.772 read alone, and cite 418.3425(c), 416.1222(a) and SI 01130.501. The review found no source conflict: 418.3425's list doesn't claim to be exhaustive;part_d_lis_resource_eligible.yaml(17, the file with the new cases), the reference and source-conflict code-health tests (257) and the rental and integration YAML (24) pass locally (mutants/results_r5.txt,local-runs/summary.r5b.7764ee6248.txt).abs()mutant, every new reference resolves, and only the three intended files changed. 5f60570 answers its two P3s: the codified 20 CFR 416.1222(a) still caps trade-or-business property at $6,000, and the documentation and comment now say that the last clause of 42 U.S.C. 1382b(a)(3) and POMS SI 01130.501 A.2 override that cap from May 1, 1990; the comment's point about the regulations now names the Extra Help regulations, since 416.1222(a) itself shows the rental exclusion for SSI.Not modeled and follow-ups
gov.simulation.include_health_benefits_in_net_incomeon,household_net_incomealready holdshousehold_health_benefits, andhousehold_net_income_including_health_benefitsaddshealthcare_benefit_valueon top, so every health benefit counts twice there and inmarginal_tax_rate_including_health_benefits. That includes Medicaid, MSP and CHIP, and nowpart_d_lis. Net income including health benefits counts health coverage twice when health benefits are in net income #9581 (open) tracks it, and Fix household health benefit double counting #10403 (open) fixes it for the whole list, the subsidy included, because this PR addspart_d_listo both lists and keeps them identical, as Register the remaining five state premium programs in household_health_benefits #9514 made them. Fix household health benefit double counting #10403 conflicts withmain's newpremium_tax_credit_in_forcesubtraction and has had no CI run. The round 3 law and code reviews both raised this (P1); it predates this PR and touches code this PR doesn't change, so it stays with Fix household health benefit double counting #10403.us:part-d-lis-couple-resource-limit-2015goes into rulespec-us'sknown-source-conflicts.yaml, and a follow-up PR here marks the deciding line.axiom: TheAxiomFoundation/rulespec-us#1681 queued (42 U.S.C. 1395w-114(a)(3) and 42 CFR 423.772–773; the corpus has both, but rulespec-us's pin,
us-rulespec-2026-10-29-ecfr-section-text, includes neither; 20 CFR 418 ingestion is TheAxiomFoundation/axiom-corpus#818)Sources
d0e19604…0996). CMS's URL now serves the CY 2027 memo, so the parameters cite the Wayback capture of 2025-12-04, the same bytes90f92195…3ef2)ffa56b91…8fa8)1b3de7a4…4d95)89daaf29…fa67)ef3d1fa7…fc8e)🤖 Generated with Claude Code