Calibrate ACA take-up contract#8352
Open
daphnehanse11 wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8352 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 3 -5
Lines 127 30 -97
=========================================
- Hits 127 30 -97
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:
|
4a479a0 to
b53dcb3
Compare
b53dcb3 to
09b160d
Compare
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
takes_up_aca_if_eligiblefrom reported Marketplace coverage or a data-supplied/simulated take-up switchsimulated_aca_take_up_if_eligibleso Populace and other datasets can provide calibrated non-reported Marketplace take-up without writing the final formula-owned take-up variableselected_marketplace_plan_benchmark_ratioas an explicit user/data input, defaulting to the benchmark-plan assumption when absentCloses #8168.
Data framework note
Under the Populace-style contract,
has_marketplace_health_coverage_at_interviewremains the observed coverage input,simulated_aca_take_up_if_eligibleis the data-supplied/calibrated take-up input for tax units without reported Marketplace coverage, andtakes_up_aca_if_eligibleis computed by PolicyEngine-US. Populace should therefore writesimulated_aca_take_up_if_eligible, nottakes_up_aca_if_eligible, once this lands.Tests
uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/aca/takes_up_aca_if_eligible.yaml policyengine_us/tests/policy/baseline/gov/aca/person_receives_aca.yaml policyengine_us/tests/policy/baseline/gov/aca/ptc/marketplace_net_premium.yaml policyengine_us/tests/policy/baseline/gov/aca/ptc/selected_marketplace_plan_premium_proxy.yaml policyengine_us/tests/policy/baseline/gov/aca/ptc/used_aca_ptc.yaml policyengine_us/tests/policy/baseline/gov/aca/ptc/assigned_aca_ptc.yaml -c policyengine_usuv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/aca -c policyengine_usuv run pytest policyengine_us/tests/test_parameter_files.py -quv run --extra dev ruff check policyengine_us/variables/gov/aca policyengine_us/tests/policy/baseline/gov/acauv run --extra dev ruff format --check policyengine_us/variables/gov/aca/takes_up_aca_if_eligible.py policyengine_us/variables/gov/aca/simulated_aca_take_up_if_eligible.py policyengine_us/variables/gov/aca/ptc/selected_marketplace_plan_benchmark_ratio.pygit diff --check