Skip to content

Add marketplace selected-plan PTC proxy variables#7802

Open
daphnehanse11 wants to merge 2 commits intoPolicyEngine:mainfrom
daphnehanse11:codex/7801-marketplace-selected-plan-ptc-proxy
Open

Add marketplace selected-plan PTC proxy variables#7802
daphnehanse11 wants to merge 2 commits intoPolicyEngine:mainfrom
daphnehanse11:codex/7801-marketplace-selected-plan-ptc-proxy

Conversation

@daphnehanse11
Copy link
Collaborator

Closes #7801

Summary

  • add an annual TaxUnit input for selected_marketplace_plan_benchmark_ratio with a default of 1.0
  • add derived ACA variables for the selected-plan premium proxy and used versus unused ACA PTC without changing aca_ptc semantics
  • add YAML coverage for the benchmark-default, bronze-like ratio, and zero-PTC cases

Testing

  • ruff format .
  • ruff check .
  • python -m py_compile policyengine_us/variables/gov/aca/ptc/selected_marketplace_plan_benchmark_ratio.py policyengine_us/variables/gov/aca/ptc/selected_marketplace_plan_premium_proxy.py policyengine_us/variables/gov/aca/ptc/used_aca_ptc.py policyengine_us/variables/gov/aca/ptc/unused_aca_ptc.py

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (752fae4) to head (5c81898).
⚠️ Report is 116 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #7802   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         4    +2     
  Lines           13        36   +23     
=========================================
+ Hits            13        36   +23     
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.

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.

Add marketplace selected-plan PTC proxy variables

1 participant