Repository navigation
r5 UI: question router on /models, copy-paste /connect, glossary, home and contact - #204
vahid-ahmadi wants to merge 37 commits into
Conversation
…t, glossary, home hero and contact routes - /models#choose: seven model cards (question, name, country, check class, links to model, evidence, results, paper) filtered by question and country, with an empty state; accordion content kept in each card's expander - /connect: three numbered steps in one column (no half-empty side panel), URL, client instructions and terminal command together, prompts and CLI commands as copy rows instead of nested cards, model setup as a list, limits as label/value rows (fixes 'Uk microdata'), sentence-case table head - /glossary: 27 terms from the site's own trust vocabulary, each linked to where it matters - home: h1 says what the site is, lede says what you can do, audience line, start cards as questions; contact: three self-serve routes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… footer glossary and issue links Sub-tabs on /models and /connect get an icon per target instead of the generic document; code renders without ligatures so '>=' and '==' read as typed. Footer adds Glossary and Report an issue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed' card Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…y link, inset focus ring on tab rows, copy button clear of code, AA contrast on tinted tiles and code comments, pipeline links not hidden by role=img Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fits on one line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… card); papers cards read 'Read →' in sentence case, pinned to the card bottom Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…olls sideways, so its pre takes keyboard focus Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
r5 shared components (commits 63c0cea, ab870b2):
Checks: pytest 1181 passed, site_contract, all site-provenance generator Open: two notes pages (ui-data's area) still carry a lowercase 🤖 Generated with Claude Code |
|
QA on the combined preview of #204 + #206 + #205 (local branch, not pushed): 66 pages at 1440 and 375 px, axe (WCAG 2.1 AA), keyboard focus, landmarks and headings, anchors, page weight, console. Fixed here (ac7d019, 63cf919, e1dd4bc):
Merge note: all three r5 style.css sections appended at the same EOF point. #206 moved its block, and #205 has been asked to move its block, so 204 → 206 → 205 merges without conflicts. Full list: r5/qa.md. 🤖 Generated with Claude Code |
Home verdicts stop dropping failures: the record now says unemployment landed outside its 90% band; US HANK, OG-UK, DEFINE-UK, FRB/US and PolicyEngine verdicts state their limits in words. /models#validation is the one place the verdict figures live (vphi -17.3%, DEFINE gates, 0.30% MAPE, 64 tests, 49 origins); home and router cards link to it. 'Every matched year' -> the one matched year; US-static line kept once (router gap card); OG-UK 'Scores reforms: Yes' qualified; 'nothing quotable' replaced; SVAR band line now says bands under-cover across 49 origins. Connect: forecast prompt carries the no-skill note; HANK prompt matches its output (liquid-wealth quartiles). Glossary: add-factor, design-gated, paper-anchored, frozen edge, noise floor, release-to-release gap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Neutrality copy (6928e71), from the r5 neutrality review, every claim re-checked against its source page:
🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nnable topic pages - style.css: the r5:ui-data block moves above the base ".kv.kv-text" rule; EOF is byte-identical to base, so #204 -> #206 -> #205 merge cleanly. - frb-us: Status row back to the base wording (registry + README with it), so the row next to #206's "Joins the microsimulation ... step 3" edit no longer conflicts. obr-macro and boe-svar status changes stay. - Model names, not code ids: scoreboard Round, archive Model, fan titles, descs and legends say "BoE SVAR" (id as .model-id) and "BoE SVAR unemployment satellite"; svar overview chart title. Render-time only; scorecard.json unchanged. - Tile dates/periods wrap in .nowrap. - Topic command blocks: <pre tabindex="0" aria-label="Command">. - Notes pages: Keep reading head uses data-icon="link", no "where next" kicker. - /forecasts: Limits section moves up beside the scoreboard (rail order too). - UK growth/inflation topics: answer line, chart, then limits and table in expanders; jobs: mapping and round limits in expanders. No number changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d papers are their own tabs
/models was one 13k px page on phones. Each former section now lives on its
own page under /models/, with a generated SUBTABS row ("Models pages"), so a
new /models/* page joins the row by being listed in site_nav.SUBTABS. Old
/models#<id> links still resolve (stub ids on the router + a hash redirect).
vercel.json redirects point at the new tabs. The UK route table moves to
/models/combine#routes (copied verbatim from #205's /forecasts block, minus
its forecasts-only callout). Glossary terms are linked at first use on home
and the /models pages. STYLE_VERSION 22.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lary) The status vocabulary pass on #204/#206/#205/#219 (macro #227) dropped 'validated' from every status line. The HANK adapter caveat, CLI help, module comment, MCP tool docstring, summary and shock framing still said 'validated replication' or 'steady state validated'. They now say partial replication: six of seven solved steady-state parameters match; IRF magnitudes are not validated. Registry status strings and README table are left to #205/#206 (no change here, so the merge is order-independent). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
canaries.json pinned quoted_at to page:line. Merging the stack (#204, #206, #205, #219 into #200 before or after this PR) moves those lines, so seven test_quoted_at_points_at_a_real_line cases failed on the merged tree though every quote was still on its page. quoted_at now names the page; the line is located from quoted_anchor at report time, and the test requires the anchor exactly once on the page, so editing the quoted number still forces the canary to be revisited. No expected values changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tags; connect step badges match the site's step style (r5 fresh-eyes) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
r5 fresh-eyes pass (merged preview of #204+#206+#205+#219, all 71 pages shot at 1440, 15 at 375). Full ranking: scratchpad r5/fresh-eyes.md. No numbers changed, no failure statement removed; pytest, site_contract, linkcheck and generator --check pass on this branch and on the four-way merge, which merges cleanly. Pushed 83ab86a on this PR:
|
…_VERSION 23 and site_nav --write Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tes the lines beside it (avoids a merge conflict; #206 carries v=23 there) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…N bump (the lines beside it change on this branch, so the bump lands here to merge cleanly) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Phone length (r5): the home lede is now 3 lines at 375. It keeps its first clause; "Read forecasts scored against the outturns" and the engine sentence move into the audience line, wording unchanged. STYLE_VERSION goes 22 → 23 and Merged base+204+206+205+219: no conflicts, 1248 tests pass. One fails: test_page_is_current, because #219's compare page embeds v=22. Run 🤖 Generated with Claude Code |
… the define limits table (define #20) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…spending-multiplier sign) on its validation page (#227) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ies the same line, so no conflict now) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ESS, priors, IRF, FEVD, closure, Gauss-Seidel, MCE, MPC, hand-to-mouth, rstar and more); link first uses on /connect and /models tabs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…py (#205); posterior link requested there Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Glossary, round 5 (8a1bbc4 + cc61422)
🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…angelog entries) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stacked on #200 (
vahid/redesign-r2-integrate). Round 5 UI pass on the front door: home, /models, /connect, /contact, a new /glossary, and the shared shell (footer, sub-tab icons, STYLE_VERSION 20). No numbers were added or changed. Every verdict and failure statement is still there; some moved into expanders.What changed
>=and==show as typed (the hosted.py install line used to show≥).site_nav.py --writerestamped all 66 pages, and STYLE_VERSION is now 20.Checks
test_model_cards_quote_the_capability_registry(us-hank Status row). It is not caused by this PR: on us-hank/index.html this branch changes only the footer and stylesheet lines. It comes from the base branch's latest commit and is left for the correctness owner.site_contract.py,site_nav.pyand every generator--checkpass.Screenshots:
scratchpad/shots/r5/ui-home/(before_* / v2_* / v3_*).FRB/US multipliers hub row (d6eb922, macro#209)
The models/validation FRB/US purchases row now reads against CBO's converted ranges and the 2010 FRB-US lines, not "the pegged-rate cross-model range". It matches frb-us/validation (#206) and us-frb-model docs/benchmarks.md.
🤖 Generated with Claude Code