Model Basic Health Program benefit value#8667
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8667 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 11 +3
Lines 127 162 +35
=========================================
+ Hits 127 162 +35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
PR Review — Basic Health Program benefit valueRead-only review (no code changes). The implementation deliberately mirrors the established ACA SLCSP family-tier/age-curve architecture ( 🔴 Critical (Must address before merge)
🟡 Should address
🟢 Suggestions
Confirmed correct (checked, no change needed)
Validation summary
Recommendation: REQUEST CHANGES — primarily to confirm the 2026 IRF value (Critical 1) and close the coverage gaps causing the codecov failures. The implementation architecture itself is solid. Generated via |
- Add 10 family-tier and benefit-value regression tests (TWO_ADULTS, one/two adults with children, NY CHILD_ONLY, extra-adult increment, NY age-29 dependent child, under-26 dependent, Vermont multipliers, pre-2026 zero, and income-ineligible zero) to close the codecov gaps. - Document the per-household PTC simplification and the intentional YEAR-reads-MONTH annualization in basic_health_program. - Point the basic_health_program reference and waiver_factor reference at the 2026 CMS funding methodology bulletin. - Add reference attributes to the family-tier variables and standardize the family-tier category state comparison on the state_code enum. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fixes pushed (commit bb7407b)Addressed the review findings I could resolve safely:
Still needs author action (could not be resolved automatically)
|
Source confirmation follow-upPushed
I did not change the factor values. The earlier concern about Checks:
|
Summary
pays_aca_premiumbasic_health_programin bothhousehold_health_benefitsandhealthcare_benefit_valueRoot Cause
BHP eligibility correctly blocked ACA Marketplace premiums and PTC, but enrolled BHP households had no modeled replacement health benefit value. That left households with zero ACA PTC and zero BHP benefit value.
Notes
This models the initial 2026 BHP value as the adjusted reference premium minus the ACA household contribution amount, multiplied by the CMS income reconciliation factor and 95 percent federal payment rate. The CSR component remains zero, matching current CMS payment guidance while there is no available CSR appropriation.
Fixes #8528.
Tests
uv run python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/gov/hhs/basic_health_program/basic_health_program.yaml --batches 1uv run python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/gov/hhs/basic_health_program/is_basic_health_program_eligible.yaml --batches 1uv run python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/household/household_health_benefits.yaml --batches 1uv run python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/household/healthcare_benefit_value.yaml --batches 1uv run --extra dev ruff check policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_adjusted_reference_premium.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_age_curve_amount_person.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_family_tier_amount.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_family_tier_category.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_family_tier_dependent_child.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_family_tier_multiplier.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_ny_age_29_dependent_child.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_reference_premium.py policyengine_us/variables/gov/hhs/basic_health_program/basic_health_program_tax_unit_enrolled.py policyengine_us/variables/household/healthcare_benefit_value.pyuv run pytest policyengine_us/tests/test_parameter_files.py -q