Skip to content

Conversation

@daphnehanse11
Copy link
Collaborator

The medicaid_category variable now iterates in the order defined by covered.yaml parameter file instead of Python dict insertion order. This ensures pregnant people are correctly categorized as PREGNANT instead of ADULT in Medicaid expansion states.

Fixes #7127

@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fc2b613) to head (471fa63).
⚠️ Report is 45 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main     #7128    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           10         1     -9     
  Lines          144        25   -119     
==========================================
- Hits           144        25   -119     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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.

@daphnehanse11 daphnehanse11 force-pushed the daphnehansell/issue7127 branch 3 times, most recently from 6b5a5ec to e13c015 Compare January 7, 2026 19:23
@daphnehanse11 daphnehanse11 changed the title Fix medicaid_category precedence for pregnant people in expansion states Fix medicaid_category precedence for pregnant and medically needy people Jan 7, 2026
@daphnehanse11 daphnehanse11 changed the title Fix medicaid_category precedence for pregnant and medically needy people Fix medicaid_category precedence for pregnant people Jan 7, 2026
The medicaid_category variable now iterates in the order defined by
covered.yaml parameter file instead of Python dict insertion order.
This ensures pregnant people are correctly categorized as PREGNANT
instead of ADULT in Medicaid expansion states.

Fixes PolicyEngine#7127

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@daphnehanse11 daphnehanse11 force-pushed the daphnehansell/issue7127 branch from e13c015 to 471fa63 Compare January 7, 2026 19:50
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.

Pregnant people assigned wrong medicaid_groups

1 participant