Skip to content

Open a precomputed chart when a household is sampled - #54

Merged
MaxGhenis merged 15 commits into
mainfrom
feat/sample-household-start
Nov 20, 2026
Merged

MaxGhenis merged 15 commits into
mainfrom
feat/sample-household-start

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Try a sample household opens the finished cliff chart in one click. It uses a randomly selected household from PolicyEngine’s calibrated 2024 US population. The chart keeps the user's same-state ZIP or labels the example ZIP it uses. Edit household and Draw another household are available beside the result.

The 1,632 catalog slots across all 50 states and DC map to 1,447 distinct charts and 2,229 finer cliff intervals. An unmodified catalog example opens on a fresh visit without a simulation request. The URL preserves the sample ID, source year and location assumptions. CliffWatch checks the full household inputs and release before restoring those details. A changed or missing chart uses the live calculator.

The shared wizard preserves student and disability flags from the pinned source. This matters for 404 sample slots. Regeneration replaced the 364 affected input hashes, 60 of which changed net resources at one or more earnings levels. All 1,083 unchanged curves remained byte-identical. The old and new inputs for two test households matched the production calculator at all 804 primary points. CI checks coverage, every cliff interval, and share-link round trips for the entire catalog.

The currency-entry fix and earnings-interval fix are on main.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cliff-watch Ready Ready Preview Nov 20, 2026 7:31pm UTC

Request Review

@MaxGhenis
MaxGhenis changed the base branch from fix/cliffwatch-currency-entry to main November 20, 2026 18:52
@MaxGhenis MaxGhenis changed the title Start CliffWatch from an editable sample household Open a precomputed chart when a household is sampled Nov 20, 2026
@MaxGhenis
MaxGhenis marked this pull request as ready for review November 20, 2026 19:08
@MaxGhenis
MaxGhenis merged commit 5252d21 into main Nov 20, 2026
5 checks passed
@MaxGhenis
MaxGhenis deleted the feat/sample-household-start branch November 20, 2026 20:15

This branch was successfully deployed

1 active deployment
Preview — 0a775d5d Deployed Nov 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.

1 participant