Model Medicaid CE 1115 comparable adults#8505
Merged
MaxGhenis merged 1 commit intoMay 27, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8505 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 4 +3
Lines 14 72 +58
Branches 0 2 +2
=========================================
+ Hits 14 72 +58
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3c8551a to
987b7b0
Compare
MaxGhenis
approved these changes
May 27, 2026
Contributor
MaxGhenis
left a comment
There was a problem hiding this comment.
Reviewed after rebase and local validation; Medicaid category/work-requirement tests plus full GitHub CI are green.
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.
Summary
Closes #8271.
This scopes Medicaid community engagement/work-requirement applicability through a dedicated variable instead of checking only the ACA adult category inline.
is_medicaid_1115_mec_adultas an explicit person-level input for section 1115 demonstration adults receiving minimum essential coverage and not otherwise eligible under the Medicaid state plan.SECTION_1115_MEC_ADULTtomedicaid_categoryand includes it in covered Medicaid categories.is_medicaid_work_requirement_applicable_adult, covering ACA adult group and section 1115 MEC adult categories.is_medicaid_eligibleso work requirements apply to both applicable adult groups while parents, children, pregnant people, SSI recipients, and senior/disabled categories remain outside the applicability variable.Validation
uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_work_requirement_applicable_adult.yaml policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/medicaid_category.yaml policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_eligible.yaml -c policyengine_usuv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility -c policyengine_usuv run --extra dev ruff format policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_medicaid_1115_mec_adult.py policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_work_requirement_applicable_adult.py policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/medicaid_category.py policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_eligible.pyuv run --extra dev ruff check policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/is_medicaid_1115_mec_adult.py policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_work_requirement_applicable_adult.py policyengine_us/variables/gov/hhs/medicaid/eligibility/categories/medicaid_category.py policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_eligible.pyuv run pytest policyengine_us/tests/test_parameter_files.py policyengine_us/tests/test_system_import.py -qgit diff --check