Skip to content

Fix ACA fiscal release target support#86

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/aca-domain-support-20260617
Jun 17, 2026
Merged

Fix ACA fiscal release target support#86
MaxGhenis merged 1 commit into
mainfrom
codex/aca-domain-support-20260617

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restrict the ACA marketplace source-runtime recipient domain to tax units with positive potential aca_ptc, so CMS APTC recipient targets do not select zero-PTC units and stale pre-refresh take-up flags cannot hide eligible units.
  • Feed potential aca_ptc into the source-runtime assigned_aca_ptc column used for selected-plan ratio calculation, because the runtime recalibrates take-up before using that column.
  • Add reviewed support exclusions for Ledger facts that the current 2024 base frame and PolicyEngine-US formulas cannot materialize with positive support: 22 state TANF cash-assistance rows, 6 SOI under-$1/income-tax or medical-deduction rows, and the AK under-$1 return count row.
  • Keep the target values in Ledger only; the package records support-exclusion reasons, not hard-coded target values.

Validation

  • env -u UV_FROZEN uv run --package populace-build --extra us python -m pytest packages/populace-build/tests/test_us_fiscal_targets.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py::test_aca_source_runtime_refreshes_degenerate_release_inputs packages/populace-build/tests/test_us_fiscal_refresh_builder.py::test_aca_source_runtime_rejects_enrollment_only_fallback packages/populace-build/tests/test_us_source_runtime.py -q
  • env -u UV_FROZEN uv run --all-packages ruff format --check tools/build_us_fiscal_refresh_release.py packages/populace-build/src/populace/build/us/fiscal_targets.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py packages/populace-build/tests/test_us_fiscal_targets.py
  • env -u UV_FROZEN uv run --all-packages ruff check .
  • env -u UV_FROZEN uv run --all-packages python -m pytest -q
  • Release-builder matrix diagnostic with JCT Ledger bundle at runtime-code commit 5dbc387 (current head 53468f4 only strengthens tests): 5,098 active targets, 0 skipped, 0 positive zero-support targets. Diagnostic artifact: /Users/maxghenis/.codex-artifacts/populace-zero-support-diagnostic-aca-domain-exclusions-r2-20260617.json.
  • Local diagnostic release-builder output: /Users/maxghenis/.codex-artifacts/populace-release-builder-aca-support-pr86-20260617-r2 (local diagnostic only; skipped demographics and out-of-sample reform validation).

Related

@MaxGhenis MaxGhenis force-pushed the codex/aca-domain-support-20260617 branch from 282dabc to 5dbc387 Compare June 17, 2026 02:20
@MaxGhenis MaxGhenis force-pushed the codex/aca-domain-support-20260617 branch from 5dbc387 to 53468f4 Compare June 17, 2026 02:27
@MaxGhenis MaxGhenis merged commit 17cba56 into main Jun 17, 2026
4 checks passed
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.

1 participant