Skip to content

Add ACA cost-sharing reduction actuarial values#8212

Draft
daphnehanse11 wants to merge 4 commits intoPolicyEngine:mainfrom
daphnehanse11:codex/issue-8211-selected-marketplace-plan
Draft

Add ACA cost-sharing reduction actuarial values#8212
daphnehanse11 wants to merge 4 commits intoPolicyEngine:mainfrom
daphnehanse11:codex/issue-8211-selected-marketplace-plan

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

@daphnehanse11 daphnehanse11 commented Apr 30, 2026

Summary

  • Add a selected_marketplace_plan_category variable defaulting to Silver.
  • Use actual lcbp when the selected Marketplace plan category is Bronze, while preserving existing Silver/SLCSP default behavior.
  • Add Bronze and Silver standard Marketplace plan actuarial values.
  • Add ordinary income-based Silver cost-sharing reduction eligibility, category, CSR actuarial value, and effective actuarial value variables.
  • Add tests for the 94%, 87%, and 73% CSR tiers; no CSR at 275% FPL; no ordinary CSR for Bronze; and no direct change to marketplace_net_premium.

Out of scope

  • Dollar-valued expected Marketplace MOOP / CSR benefit value.
  • AI/AN zero- and limited-cost-sharing plan variations.

Tests

  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/aca/csr 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/marketplace_net_premium.yaml -c policyengine_us
  • uv run pytest policyengine_us/tests/test_parameter_files.py
  • uv run --extra dev ruff format --check .
  • uv run --extra dev ruff check .

Closes #8188.
Closes #8211.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d55cd4f) to head (3fdaad4).
⚠️ Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #8212   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         7    +5     
  Lines           35       101   +66     
=========================================
+ Hits            35       101   +66     
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 changed the title Use actual bronze premiums for selected Marketplace plans Add ACA cost-sharing reduction actuarial values Apr 30, 2026
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.

Use actual bronze premiums for selected Marketplace plan choice Add Cost Sharing Reductions

1 participant