Skip to content

Model pages: correct figures and labels against the pinned model artifacts (SVAR, FRB/US, HANK, DEFINE-UK, compare) - #286

Open
vahid-ahmadi wants to merge 7 commits into
mainfrom
vahid/r6-site
Open

vahid-ahmadi wants to merge 7 commits into
mainfrom
vahid/r6-site

Conversation

@vahid-ahmadi

@vahid-ahmadi vahid-ahmadi commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What

A provenance review of the BoE SVAR, FRB/US, US HANK and DEFINE-UK pages and /models/compare. Each number was traced to a committed artifact in this repo or to the model repository at the pinned commit. This PR corrects the ones that did not match. No model was run and no hosted number moves.

One commit per area, so any of them can be dropped on its own.

Changes and evidence

BoE SVAR (boe-var-model at 17f5d82)

Page said Now Source
99.3% of draws have a root above 1 99.2% results/covid_volatility_evaluation.json, explosive_draws.covid_dummies.share_max_root_gt_1 = 0.992
Lenza–Primiceri scaling: 80.7% 83.6% on the held-out origins the other fixes use (80.7% is all 50 origins) same file, lp_scaling: 0.8361 and 0.8069
CPI and Bank Rate move by less than 0.02 by 0.03 or less results/rolling_evaluation.json: Bank Rate 0.015–0.025, UK CPI 0.010–0.021
UK GDP against drift p = 0.32–0.42 "in both specifications" 0.32–0.42 in the evaluation run; 0.10–0.46 in the published specification same file
CI gate is "~50-draw" 600 draws, 45 accepted papers/boe-svar/figures/comparison_numbers.json, fast_config
"time-varying UK trade weights" weights fixed within three eras data/README.md
"positive = expansionary" for every shock monetary policy excepted: positive is a tightening the card on the same page reads P(+) as contractionary
MCP prompt "at the same 6,000 draws" with no draws stated prompt asks for 6,000 draws hosted default is 2,000 (mcp_server.py)

The frozen-origin test scores GDP against one-decimal outturns hard-coded in make_figures.py, with no vintage. The caption now says so and adds the same score on the committed ONS release of 12 Nov 2026 (data/latest/uk_gdp_cvm.json): RMSE 0.24pp against the same medians, all seven still inside the 68% band. The headline 0.32pp is unchanged, because it is what the committed figure shows.

DEFINE-UK (define-uk-model main 283f92a; the site carries no pin for this model)

  • 1.52 (clean-room) is now set against 2.25, the policy-window multiplier, on four pages. The model README makes that comparison since define-uk-model Review sweep: site copy, paper comparisons vs latest publications, E2E-verified #35; the pages still said "full-run 2.30".
  • "The model repository's headline" 2.30 is labelled "until 18 Nov 2026".
  • Cumulative ΔGDP figures carry units (£bn) and both windows: 252.2 real against 205.1 nominal from 2027; 250.6 against 209.9 over the full run (validation/reference_outputs.json).
  • The secondary ratio from the policy start, 1.75 (ΔSPEND_GVT 117.0), is given beside the full-run 1.78.
  • define-uk-model One reform vocabulary: score_reform takes a PolicyEngine reform; obr_shock is the escape hatch #15 merged on 10 Nov 2026, not 6 Nov.
  • "Each of the 22 published scenarios is implemented" becomes 22 names, 16 distinct solves, two refused (model README).
  • The stock-flow sentence now names the check that is run on the cached outputs (sectoral net lending sums to zero).

FRB/US (us-frb-model at 162cfe6)

  • Transfers: "below all three" paired the Taylor-rule 0.28 with CBO Table 3, a no-tightening range. docs/benchmarks.md withdraws that pairing. The row now gives each matched comparison: 0.28 against 0.36–1.52, 0.32 (peg) against 0.4–2.1, 0.31 (taxes fixed) against ≈0.48.
  • Five source links on the validation page pointed at blob/main while the text says "at 162cfe6"; main is ahead. They now point at the pin.
  • /models: the FRB/US income-tax row named the OBR's UK assumption as its benchmark. The linked validation page uses CBO Table 3.
  • /forecasts/us: "never scored" becomes "not scored in the forecast record", since the validation page reports a LONGBASE backtest.

US HANK (us-hank-model at 58353e5)

  • The discount-factor variant now states its impatient type's discount factor: 0.852 a quarter, 0.53 a year (docs/BETA_HET.md). Referee review of the model pages (6 Nov 2026) #227 asked for this.
  • Methodology gives the Phillips-curve slopes (0.1, model.py). Referee review of the model pages (6 Nov 2026) #227 asked for this.
  • The spending-multiplier gate is (0, 0.5), as tests/test_shocks.py asserts, not (0, 1).
  • /connect prompt and the /forecasts/us command state the shock size and persistence (−0.0025 a quarter, ρ 0.61). Without ρ the hosted default of 0.9 moves the nominal rate the other way. The /forecasts/us row no longer calls an easing "the same question" as the FRB/US tightening above it.

/models/compare (results.json → 2026-11-19.2, page regenerated by build.py)

Not changed, and why

  • HANK quartile consumption (0.36% lowest, 0.28% highest) had no committed artifact. A hosted hank_shock call with include_distribution (−0.0025, ρ 0.61; source_revision 58353e5; 25 Nov 2026) returns 0.3645 / 0.2909 / 0.2658 / 0.2775, so the figures stand. The validation page now names that call as the source and says no committed file or test pins them.
  • Runtimes ("about 10 seconds cold" for HANK, "about 3 seconds" for FRB/US) have no committed timing. They also live in capabilities.py, which the backend PRs own.
  • SVAR stable-draw count (4 of 744) and −0.40% per 25bp are still from the pre-refresh run and are labelled as such; the intro now says two rows are exceptions to "read at 17f5d82".
  • SVAR ESS figures for the 2,000- and 3,500-draw configurations trace only to a code comment and BoE SVAR: re-pin to 17f5d82 and refresh every BoE figure (merging redeploys the hosted MCP server) #282's table.
  • integration/drift/canaries.json: two quote strings no longer match page wording (the HANK easing canary runs ρ 0.9 while /connect quotes ρ 0.61; the DEFINE quote says "PASS"). The backend owns that file.
  • boe-var-model README at the pin still says 99.3%; its own JSON says 0.992.

Verification

  • python3 -m pytest tests -q: 3281 passed, 87 skipped.
  • PYTHONPATH=src pytest tests/test_site_contract.py tests/test_drift_check.py in integration/: 55 passed.
  • Every --check gate in site-provenance.yml and forecast-archive.yml passes, plus models/compare/build.py --check, run_battery.py --check, validation/check_obr_tables.py, site_nav.py and site_contract.py.
  • data/vintages/ and forecasts/rounds/ are untouched.

Refs #227, #209, #203, #220, #213.

🤖 Generated with Claude Code

vahid-ahmadi and others added 4 commits November 25, 2026 00:07
… label the monetary-policy sign

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…correct a merge date and the scenario count

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…closed issues labelled closed, FRB/US gap to Coenen stated as unexplained

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed source links, shock size and persistence stated; changelog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
macromod Ready Ready Preview Nov 25, 2026 2:17am UTC

Request Review

…e from

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts, SVAR GDP response against the paper

- capabilities.py and the DEFINE-UK paper source set the clean-room 1.52
  against the upstream's 2.25 from the 2027 policy start, as the site does
  (was the full-run 2.30). The committed PDF is not rebuilt.
- /models/compare energy note: the FRB/US tool no longer labels the oil
  lever 'model units' (core.py says US dollars per barrel).
- /models/compare SVAR gap note: the paper's GDP response is -0.12% on
  impact and fades to -0.07% by five years; the replication's persists
  (-0.14%, -0.16% at two years, -0.17% at five). Sourced to the benchmark
  in boe-var-model #37, which is not merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — bad57520 Deployed Nov 25, 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