Skip to content

Add local Marketplace impact view - #24

Closed
daphnehanse11 wants to merge 10 commits into
mainfrom
codex/local-impact
Closed

daphnehanse11 wants to merge 10 commits into
mainfrom
codex/local-impact

Conversation

@daphnehanse11

Copy link
Copy Markdown
Contributor

Summary

  • Add a React Local Impact tab with state/county selection, Marketplace platform availability, county enrollment metrics, and state-based marketplace fallback copy.
  • Add compact CMS-style county and congressional district enrollment extracts plus Python ingestion/data access helpers.
  • Add a congressional district map for average paid premium, APTC consumers, and non-APTC consumers.
  • Remove the legacy Streamlit app entry points and tests now that the React/Next calculator is canonical.

Verification

  • uv run pytest tests/test_enrollment_context.py tests/test_enrollment_ingest.py tests/test_congressional_district_ingest.py tests/test_calculate_ptc.py -q (14 passed)
  • uv run pytest -q reached 100% after fixing a stale axis-count expectation, but pytest hung during teardown and was terminated after no failure marker appeared
  • npm run build (passes with next build --webpack)
  • npm run start -- --port 3002 --hostname 127.0.0.1 + curl -I http://127.0.0.1:3002/us/aca-calc returned 200 OK

Supersedes the accidentally opened PR against PolicyEngine/acacalc.

@vercel

vercel Bot commented May 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aca-calc Ready Ready Preview, Comment May 20, 2026 4:12pm

Request Review

@DTrim99

DTrim99 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Parking this PR. Its two parts are moving separately:

Converted to a draft in the meantime.

@DTrim99

DTrim99 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of #41, which carries the Local impact view over onto #37's app, with @daphnehanse11 as co-author. The Streamlit removal merged in #36. #41 stays a draft until the county to 120th Congress district shares land (PolicyEngine/microcosm#1526). The codex/local-impact branch stays up. Thanks, Daphne, for building this.

@DTrim99 DTrim99 closed this Nov 19, 2026

This branch was successfully deployed

1 active deployment
Preview — 2617fae3 Deployed May 20, 2026 by vercel[bot]
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.

2 participants