Repository navigation
Conversation
qmb_cost_sharing was 20% of average Medicare spending per enrollee ($14,500, so $2,900 a year), a base that includes Part D and administration, which QMB does not cover, and that ignores states' lesser-of payment limits (42 U.S.C. 1396a(n)(2)). It now uses national CMS-64 line 17D spending (Medicare deductibles and coinsurance for QMBs under 1905(p)(3)) over CMS Program Statistics QMB person-years, by federal fiscal year: $137.70 a year in FY 2024, held afterwards. Removes the unused gov.hhs.medicare.savings_programs.qmb.cost_sharing_rate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The provision does not require a state to pay QMB cost sharing once Medicare's payment reaches the state's Medicaid rate; it does not bar paying more ((n)(1) allows it). Correct the variable documentation and the test module docstring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The CI run on this pull request was cancelled at 23:27Z on 2026-10-11 to free the organization's shared GitHub runners for an urgent fix in another repository. The US + core hub will re-run it automatically (cancelled jobs only; jobs that had passed are kept). Nothing in this pull request changed. Please don't push or reopen just to restart CI. |
|
Picking this up for the US hub. I'll post a hand-off comment here when it's ready. Generated by Claude Code |
|
Ready for hub review Head: RESULT: BLOCKED on a methodology choice no source settles. Per the brief, I stopped this PR at the choice. The transcription checks out exactly. What the PR cannot show is that national CMS-64 line 17D per QMB measures what 1. Still needed?Yes. No open PR does what this one does, but two compete for the same lines:
The two approaches are alternatives, so the hub's choice here also decides #10126's formula hunk. 2. What I verified (fetched myself or by subagents that downloaded the primary files; nothing taken from the PR)
3. The choice
FY 2024 values from the same FMR and AB 40/42 files:
Independent check. A separate agent got the code, the PR description and the source checks, but not my conclusion. It also found that no source fixes the value (
4. After the choice
Hand computations
Tests (run locally at this unchanged head, one file per process)
The head is 510 commits behind MutantsNone. I made no fix, so there is nothing to mutate. Proposed follow-upNone beyond the choice itself. If the hub picks E, the household-value variable is new work for this PR or its successor. Judgment callStopping here, rather than merging Generated by Claude Code |
Summary
qmb_cost_sharingvalued a Qualified Medicare Beneficiary's coverage of Medicare deductibles and coinsurance at 20% ofcalibration.gov.hhs.medicare.per_capita_cost: $14,500 × 20% = $2,900 a year on main, or $18,983 × 20% = $3,797 in 2026 under #10107. That base includes Part D (about 15% of Medicare spending; 2026 Trustees Report Table II.B1: $181.5B of $1,210.1B in 2025) and administration. QMB covers neither: 42 U.S.C. 1396d(p)(3) limits it to Part A and B premiums, deductibles and coinsurance. The formula also ignores lesser-of payment policies. 42 U.S.C. 1396a(n)(2) does not require a state to pay cost sharing once Medicare's payment reaches the state's Medicaid rate, and 37 to 41 states limit payment this way, depending on the service (MACPAC August 2025 brief, Table 1).This PR values QMB cost sharing at what Medicaid actually spends on it per QMB. That is CMS-64 line 17D over QMB person-years:
What changed
calibration.gov.hhs.medicare.savings_programs.qmb_cost_sharing_per_enrolleeholds the series. Each value is dated October 1, the first day of its fiscal year, the same convention asgov.hhs.medicaid.cost_share.fmap. The FY 2024 value holds afterwards. The series fell 1.9% a year from FY 2016 to FY 2024, then rose 3.8% and 3.6% in the last two years, so there is no trend to project.qmb_cost_sharingnow pays a QMB one twelfth of the value in force each month. It no longer readsper_capita_cost. A calendar year is therefore nine twelfths of one fiscal year's value plus three twelfths of the next.gov.hhs.medicare.savings_programs.qmb.cost_sharing_rateis deleted;qmb_cost_sharingwas its only reader.Why a dollar series, not a rate on a narrower base
The task allowed basing a rate on Part A/B spending only. No constant rate on any Medicare spending base reproduces the published series:
Either way the rate would have to fall 38% in eight years.
Verification of the figure
Limits of the figure, and comparators
msp_costis zero for Medicaid enrollees. QMB-only enrollees incur less cost sharing per person-year than QMB-plus enrollees: $689 versus $1,261 in CY 2022, from MedPAC–MACPAC Table 6 over CMS person-years. That pushes the other way. The per-QMB average also includes institutionalized QMBs, whom the CPS-based microdata exclude. SNF copayments (days 21–100) are $1.3B of the $8.1B QMB-plus liability in Table 6, but only $0.1B of the $1.2B QMB-only liability.Invariants (tested)
policyengine_us/tests/core/test_qmb_cost_sharing_per_enrollee.py:qmb_cost_sharingis the value in force over 12, and SLMB, QI and no category get zero. A calendar year sums to 9/12 of one fiscal year's value plus 3/12 of the next. For QMB, SLMB and QI across states, premiums and Medicaid enrollment:msp_costequals the premiums plus the summed cost sharing;msp_federal_cost+msp_state_costequalsmsp_cost;YAML: four expectations move from $2,900 to $137.70 of QMB cost sharing:
qmb_cost_sharing,msp_cost,msp_federal_and_state_costandfederal_and_state_benefit_cost. New cases cover September and October 2023 and a 2023msp_costthat straddles the fiscal-year boundary.Impact
PENDING: full-population microsim, base
upstream/main065d0e9 vs this PR, 2026, on the default dataset. Variables:msp_cost,msp_federal_cost,msp_state_cost,federal_benefit_cost,state_benefit_cost,healthcare_benefit_value,household_health_benefits,household_net_income.household_net_incomeand SPM resources do not includemsp_cost. Health benefits enter net income only whengov.simulation.include_health_benefits_in_net_incomeis on. So poverty and net income should not move.Interaction with #10107
#10107 replaces
per_capita_cost. After this PR, QMB cost sharing no longer depends on it. #10107's edits toqmb_cost_sharing.yaml,msp_cost.yaml,msp_federal_and_state_cost.yamlandfederal_and_state_benefit_cost.yaml, and itstest_qmb_cost_sharing_is_the_qmb_rate_of_monthly_spending, are superseded here. Whichever PR merges second takes these versions. #10107's session has been told.Tests run
policyengine-core testongov/hhs/medicare/savings_programs,household/income/person/federal_and_state_benefit_cost.yaml,household/healthcare_benefit_value.yamlandhousehold/household_health_benefits.yaml: 111 passed.pytestontests/core/test_qmb_cost_sharing_per_enrollee.py,test_part_b_msp_offset.py, and the parameter and reference-URL code-health tests: 146 passed.axiom: n/a: calibration (an empirical spending figure that approximates claims-level cost sharing, not a rule)
Evidence, with source files, SHA256 sums, extraction scripts and notes:
~/reviews/qmb-cost-sharing-2026-10/.🤖 Generated with Claude Code