Skip to content

All-states table, per-tier dollars, shareable URLs - #6

Merged
MaxGhenis merged 3 commits into
mainfrom
app-national-view
Aug 6, 2026
Merged

MaxGhenis merged 3 commits into
mainfrom
app-national-view

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Adds the cross-state view and dollar framing to the live tool (snap-qc-sim.vercel.app):

  • All states at a glance: sortable baseline table for all 53 jurisdictions — official FY 2024 rate, point tier, P(landing in a different cost-share tier under audit noise), expected annual cost under the FY 2028 tiers, and bill standard deviation. Runs the same 4,000-draw in-browser simulation as the state view, progressively, so table rows and the state view agree exactly. Clicking a row loads that state.
  • Per-tier dollar stakes on the tier-probability bars and tooltips (e.g. CO: 53% chance of the 10% tier = $127M/yr, 46% chance of 15% = $190M/yr).
  • Shareable URLs: state, audit volume, levers, and effectiveness round-trip through query params.
  • og/twitter meta tags, SVG favicon, print styles, and paint-friendly compute chunking.

Verified in the browser preview: light + dark, desktop + mobile (table scrolls in its own container), URL round-trip, row-click navigation, takeaway line (7 of 53 jurisdictions ≥40% chance of a different tier; $11.0B/yr summed expected cost).

App-only change — no Python touched.

🤖 Generated with Claude Code

MaxGhenis and others added 3 commits August 6, 2026 14:41
- All-states baseline table: official rate, point tier, P(different tier)
  under audit noise, expected FY2028-rule cost, bill std dev; sortable,
  progressive in-browser computation (same 4,000-draw simulation as the
  state view), row click loads the state
- Tier probability bars and tooltips now carry per-tier dollar stakes
- URL params (state, audits, levers, eff) for shareable configurations
- og/twitter meta tags, SVG favicon, print styles, paint-friendly
  compute chunking (timeout debounce instead of rAF so backgrounded
  tabs still render)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The ui-kit theme.css line only resolves under a bundler; on the static
site it 404s on every load.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ror states

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit 0e5ad58 into main Aug 6, 2026
1 check passed
@MaxGhenis
MaxGhenis deleted the app-national-view branch August 6, 2026 23:33
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