Repository navigation
Glide the Medicare Part B premium and spending per enrollee upraters to the Trustees' long-range rates - #10657
Merged
Merged
Conversation
This was referenced Nov 4, 2026
The Secretary of Health and Human Services sets the Part B standard premium to cover about 25 percent of average expenditures for beneficiaries aged 65 and over (42 U.S.C. 1395r(a); 2026 Medicare Trustees Report, file page 97), so the premium uprater glides from its 2034-2035 growth to the Trustees' long-range growth in Part B spending per enrollee. CMS Medicare spending per enrollee keeps its 2031-2032 growth rate, which skips the end of sequestration in 2033, and glides from 2034 to the Trustees' long-range growth in Medicare spending per enrollee. Tests check growth_years with long_range_growth in closed form and against an independent implementation, start the Trustees-consistency test from the 2034 anchor, compare the Part B premium with Table II.D1, and scan set_all_uprating_parameters so every glided series appears in WIRED_SERIES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
long_range_growth_rate rejects NaN, infinite and at-or-below -1 rates, extend_parameter_values rejects growth_years other than consecutive years ending by the last projected year, and MappingProxyType keeps importers from changing the knots. The per capita comment now quotes the Trustees' file page 176 reason for applying that rate to non-Medicare series. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis
force-pushed
the
medicare-long-range-glide
branch
from
November 7, 2026 18:22
8d29632 to
189dde2
Compare
MaxGhenis
marked this pull request as ready for review
November 7, 2026 18:35
This was referenced Nov 9, 2026
docs-quarto/methodology/spm-poverty.qmd: Keep the Part B premium glide and Philadelphia wage-tax uprating. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reject zero starting values in the growth measurement. Update the 2036 cost expectations for the spending glide and cover the projections through the modeled and reported premiums, Medicare cost, and QMB cost sharing. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
The merge dropped the explicit import, and the annotations then depended on a name exported by policyengine-core. The comment on the glide's start also says which growth rate each series uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Agent-written for Max, by Claude Code for Max Ghenis. Review records for this PR, restated here so each stays on the page.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Medicare Part B premium and Medicare spending per enrollee upraters now glide to the 2026 Medicare Trustees' long-range rates through #10119's
long_range_growth=. On main, each repeats a single projected year's growth through 2100.Main includes #10111's Part D premiums per enrollee series, which #10656 also covers. Its long-range glide remains follow-up work.
Changes
calibration.gov.hhs.cms.medicare_part_b_premium_per_enrolleeglides after 2035 from its 2034–2035 growth of 6.529% toMEDICARE_PART_B_PER_ENROLLEE_LONG_RANGE_GROWTH. The Secretary of Health and Human Services sets the standard premium to cover about 25 percent of average expenditures for beneficiaries aged 65 and over (42 U.S.C. 1395r(a); 2026 Medicare Trustees Report, file page 97). So the premium grows with Part B spending per enrollee.calibration.gov.hhs.medicare.per_capita_costkeepsgrowth_years=(2031, 2032)and glides after 2034 from that 5.428% rate toMEDICARE_PER_ENROLLEE_LONG_RANGE_GROWTH.long_range_growth_raterejects non-finite rates and rates at or below −1. Before updating the parameter,extend_parameter_valuesrejects nonconsecutive measurement years, a pair ending after the last projected year, and a zero starting value, which used to raiseZeroDivisionError.MappingProxyTypekeeps the knots immutable. No current caller trips a check, so no value moves.medicare_cost.yamlcase now expects $33,385.41 gross and $29,752.61 net, since spending growth glides from 5.428% toward 3.6962% in 2050 instead of holding constant. New cases cover reported Part B premiums uprated per person, QMB cost sharing at 20% of one twelfth of each year's spending, the 2050 net cost floor with main's weighted Part D deduction ($59,992.62 net), and the modeled standard Part B premium of $751.30 a month in 2050 and $4,612.50 in 2100 and 2101.The Part B premium keeps every value through 2035 and Medicare spending per enrollee every value through 2034. Years after 2100 hold the new 2100 value.
Readers
medicare_part_b_premiums_reporteduses the Part B index to uprate supplied annual amounts. On main, #10103 also uses it for the modeled Part B base premium and income-related adjustments. After monthly rounding, the glide lowers the standard premium from $931.20 to $751.30 in 2050 and from $21,998.00 to $4,612.50 in 2100. Before #10103 merged, a trial merge of its head 7cc881c with this branch conflicted in two hunks inuprating_extensions.pyand inmedicare_part_b_premium.yaml. With main merged in, this branch keeps all 22 Part B premium YAML cases, and all 165 premium projection tests and all 22 premium YAML cases pass.medicare_gross_cost,medicare_costandqmb_cost_sharingread the spending series.Open PRs that change the same files: #10126 and #10726 (
medicare_cost.yamlandtest_medicare_per_capita_cost.py), #10123 and #10126 (qmb_cost_sharing.yaml), and #10127, #10327 and #11294 (uprating_extensions.py).Long-run microsimulation
We age Microcosm's 2024 dataset a year at a time to 2050 and 2100 and estimate these nominal totals. The table records the historical comparison of main at 67d4dde with this branch at 189dde2, before it merged main:
medicare_gross_cost)msp_cost)The table's dollar changes refer to that comparison. On main, gross Medicare cost follows the spending series and enters CBO household income. Net Medicare cost subtracts Part A, gross Part B, the weighted average Part D premium and individual Part D IRMAA, then applies a zero floor. With other inputs fixed and the floor inactive, its change equals the gross spending change minus the modeled Part B premium change. Medicare Savings Program costs can respond to both the spending glide, through QMB cost sharing, and the Part B glide, through premium coverage.
healthcare_benefit_valueandhousehold_net_income_including_health_benefitsinclude MSP costs. The default household net income measure excludes direct health-benefit terms.The reported-premium uprater applies when
medicare_part_b_premiums_reportedis supplied. The modeled Part B premium uses the same index independently.#10119's review items
Numbers refer to the hand-off table and the round-1 review.
extend_parameter_valuesdocstringgrowth_yearslimits.growth_years=withlong_range_growth=test_growth_years_set_the_rate_the_glide_starts_fromandtest_growth_years_extension_matches_an_independent_implementation.P3-2 and P3-6 asked for edits to #10119's PR body.
Invariants
tests/core/test_long_range_health_growth.pychecks these with Hypothesis and an independentnp.interp/np.prodimplementation:growth_years.growth_years, the glide starts from the measured rate at the last projected year, whatever the growth after the measured pair.set_all_uprating_parametersglides appears inWIRED_SERIES.long_range_growth_raterejects non-finite rates and rates at or below −1. Before updating the parameter,extend_parameter_valuesrejects nonconsecutive measurement years, a pair ending after the last projected year, and a zero starting value.MappingProxyTypekeeps the knots immutable.Plan
axiom: n/a: uprating extension of calibration series only (no policy rule)
🤖 Generated with Claude Code