Skip to content

Model Medicare Part B premiums net of MSP coverage#7972

Draft
MaxGhenis wants to merge 6 commits intomainfrom
codex/medicare-partb-msp-clean
Draft

Model Medicare Part B premiums net of MSP coverage#7972
MaxGhenis wants to merge 6 commits intomainfrom
codex/medicare-partb-msp-clean

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • model baseline Medicare Part B premiums instead of treating them as a copied CPS input
  • keep reported Part B premiums as a separate audit variable
  • net out a cycle-free MSP proxy so likely MSP-covered standard premiums do not count toward baseline SPM MOOP

Testing

  • uv run pytest -q policyengine_us/tests/policy/baseline/gov/hhs/medicare/test_part_b_msp_offset.py

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 85.33333% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.83%. Comparing base (b70c547) to head (96e9900).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...usehold/expense/health/medicare_part_b_premiums.py 75.00% 6 Missing and 5 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main    #7972      +/-   ##
===========================================
- Coverage   100.00%   90.83%   -9.17%     
===========================================
  Files            1        5       +4     
  Lines           13      120     +107     
  Branches         0       11      +11     
===========================================
+ Hits            13      109      +96     
- Misses           0        6       +6     
- Partials         0        5       +5     
Flag Coverage Δ
unittests 90.83% <85.33%> (-9.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant