Repository navigation
Description
A provenance audit of every number on the site (PR #200, 6 Nov 2026) found these figures with no committed source: not in this repo's forecasts/, data/, validation/, assets/ or papers/, and not in the model repos (main or the open review branches). None of them reproduces from committed outputs: each needs a model run.
The page wording does not claim more than a model result, so the pages are not marked. Each figure should either get a committed output (a CSV or JSON plus the script that writes it), or come off the page.
Page:line (branch vahid/redesign-r2-integrate) |
Figure | What is missing |
|---|---|---|
obr/validation/index.html:118 |
Anchored GDP deviation 0.67% out to 2031Q1 | Committed anchored figures stop at 2027Q4 (papers/obr-macro/figures/fig_anchored_data.csv). First appears in ed47a93 (#197), with no output file. |
obr/validation/index.html:118 |
LFSUR drifts to 0.9% against the EFO's 4.1% by 2031Q1 |
Same: there is no 2028–2031 anchored output. The obr repo docs also repeat the held-add-factor unemployment row (noted in round 5). |
obr/validation/index.html:517 |
5pp corporation-tax rise moves FYCPR by −£1,780m, NDIVHH by zero |
No experiment output. experiments_summary.csv has only the +2pp corporation-tax case, for GDP, consumption and investment. |
obr/validation/index.html:529 |
IBUSX mean responses −£6.8bn / −£8.8bn / −£11.6bn for CGIPS shocks of £1.5bn / £3bn / £6bn |
The obr tests (test_sign_conventions.py, test_model_invariants.py) pin the signs, the non-proportionality and that IF stays at zero, but not these levels. |
obr/validation/index.html:545 |
Bank Rate ±100bp: −£121m / −£431m / −£482m / −£416m at q1/4/8/12; a cut gives +£126m to +£579m | No Bank Rate experiment in papers/obr-macro/figures/run_experiments.py outputs. The figures come only from the ed47a93 commit message. |
us-hank/index.html:82, models/index.html:215 (and integration/src/policyengine_macro/capabilities.py:114) |
"About 18 seconds cold per variant" | The us-hank-model README gives ~10 s steady state plus ~3 s Jacobian, about 13 s. Neither figure records the machine it was timed on. |
models/index.html:225 (and capabilities.py:146) |
OLG "17+ minutes per steady-state solve" | There is no timing in og-model-dashboard or in this repo. |
Recommendation. Add the Bank Rate ±100bp, 5pp corporation-tax and CGIPS size-sweep scenarios to papers/obr-macro/figures/run_experiments.py, along with an anchored run to 2031Q1, and write their outputs to experiments_*.csv. Then extend validation/check_obr_tables.py, added in #200, to check them. These are OBR solves (heavy jobs), so run them as one batch. For the runtimes, take a single timed cold run on the hosted worker and quote that, or state the README's components (about 10 s + 3 s).
Found and fixed in #200 (each is sourced): the SVAR production run said 751 accepted (7.5%) with ESS 355.9. That is the pre-12-Aug run. boe-var-model results/summary.md and our own papers/boe-svar both give 744 (7.4%) with ESS 356.1.
🤖 Generated with Claude Code
Activity
vahid-ahmadi commentedon Nov 6, 2026
Sources for the OBR figures, and runtimes
PolicyEngine/obr-macroeconomic-model#51 (draft) adds
scripts/site_figures.py. It writes every OBR figure in this issue toresults/site_figures.jsonfrom committed code (model commite4d7faa) and the committed 355-series ONS snapshot. The run took 348 s, under the heavy-job lock.obr/validation:118GDP to 2031Q1:118LFSURat 2031Q1:517+5pp CT,NDIVHH:517+5pp CT,FYCPR:529CGIPS+£1.5/3/6bn,IBUSXmean:529CGIPS,IF:545+100bp GDP q1/4/8/12:545−100bp GDP:533(bonus) +5pp CT,IBUSXq8/q12Which is right: the regenerated values. The −£1,780m figure dates from July 2026 (#44). That is before the August log-space investment stabilisation and the October anchored-baseline scoring (obr #45). The
CGIPSlevels come from the pre-October free-running baseline, astests/test_sign_conventions.py::test_public_investment_does_not_transmitrecords. Around the anchored baseline,IBUSXmirrors the shock roughly one-for-one (−98% and −99%). The +£3bn case is stalled-solver residue. The Bank Rate andCGIPSpairs exit on the stall break in every quarter; that is in the JSON.Page edits needed (not made here; other agents own the HTML)
obr/validation:118: say "GDP MAPE 0.67% over 2025Q1–2031Q1" and citeresults/site_figures.json. TheLFSURsentence stays.:517: replace "−£1,780m" with "−£404m by quarter 12 (−£186m on average over 12 quarters)". Keep "NDIVHHby exactly zero".:529: rewrite, not just swap numbers.IBUSXfalls about one-for-one with the shock (−£1.47bn for £1.5bn, −£5.94bn for £6bn), becauseIBUSis the residual identityIF − GGI − …withIFexogenous. Drop "grossly non-proportional" and "quadrupling … under a factor of two". The £3bn run (−£0.83bn) is solver residue. Keep "IFexactly zero" and "do not score capital spending".:545: numbers stay. Cite the JSON and add that both runs are differences of two non-converged solves.us-hank/index.html:82,models/index.html:215,capabilities.py:114): "18 s" does not reproduce. A timed cold run of us-hank-modelmain(19a8e5e) took 8.7–9.4 s: import ~1 s, steady state 5.8 s, Jacobian 2 s, on an Apple M5 Pro (two fresh processes, 6 Nov 2026). Suggested wording: "about 10 seconds cold on a laptop (steady state plus Jacobian, then cached); instant warm". The hosted worker was not timed.models/index.html:225,capabilities.py:146): not timed; a steady-state solve is too heavy for this round. Drop "17+ minutes" and say "a steady-state solve takes many minutes and transition paths far longer (not timed)". Or time one run on the hosted worker and quote that.validation/check_obr_tables.py(#200) can readresults/site_figures.jsononce obr #51 lands, rather than adding scenarios topapers/obr-macro/figures/run_experiments.py.🤖 Generated with Claude Code
OBR validation: regenerated FYCPR and CGIPS figures, site_figures.jso…
Runtimes: HANK about 10 s cold on a laptop; OLG 17-minute figure drop…
Model side-by-side: HANK about 10 seconds cold on a laptop; OLG 17-mi…
vahid-ahmadi commentedon Nov 6, 2026
Page edits from the comment above: applied
I checked every value against
results/site_figures.json(obr-macroeconomic-model#51, commit70ee8f0) before editing. Each figure now links to that file at the pinned commit.obr/validation, anchored rowLFSURsentence stays. Added: the 2025Q1–2031Q1 solve stops on the stall break, unconverged, in every quarter (25 of 25)obr/validation, household-income rowFYCPR−£1,780m → −£404m by quarter 12 (−£186m on average over 12 quarters). "NDIVHHby exactly zero" kept. No convergence caveat: this run converged (nonconverged_quarters: [])obr/validation, government investment rowIBUSXis the residual ofIF = IBUS + GGI + …, andIFis held fixed, soCGIPS(viaGGIPS→GGI) pushes it down about one-for-one: −£1.47bn for £1.5bn and −£5.94bn for £6bn, which is 98% and 99% of the shock. The £3bn run (−£0.83bn) is solver residue. "Grossly non-proportional" and the quadrupling sentence are gone. Kept:IFexactly zero, "never quote as a multiplier", against the OBR's 1.0, and "should not be scored". Added the every-quarter non-convergence caveatobr/validation, Bank Rate rowus-hank/index.htmlandcapabilities.py(c444304, #206), and on the /models side-by-side card, which moved frommodels/index.htmltomodels/side-by-side/index.htmlon #204 (64bb26f)capabilities.pyandolg/index.html, plus the same claim inolg/code(dial card) andolg/validation(comparison list), and the /models side-by-side cardThe README makes no runtime claim, so it is unchanged.
integration/modal_app.pycomments still say OG-UK was "measured >17 minutes". Those are internal sizing notes and are not on the site, so I left them. Its "18s" line refers to FRB/US.Checks on both branches:
PYTHONPATH=integration/src pytest tests integration/tests/test_site_contract.pypassed (1173 on #206, 1217 on #204).site_contract.pyandvalidation/check_obr_tables.pypassed. The link check found 0 broken links. Nothing merged.Until #204 lands, #206's copy of
models/index.htmlstill carries the old base text. #204's restructure replaces it.🤖 Generated with Claude Code
OBR paper: FYCPR -£404m (q12) / -£186m (mean), not -£1,780m; CGIPS go…
vahid-ahmadi commentedon Nov 25, 2026
Closing: every row in the table now has a committed source or is off the page (checked at 7cce161 against obr-macroeconomic-model
0e44ec8,results/site_figures.json).anchored_horizon.gdp_mape_pct_2025Q1_2031Q1LFSURat 2031Q1anchored_horizon.lfsur_pctFYCPRNDIVHHzerocorporation_tax_5ppCGIPSsweep,IBUSXcgips_size_sweepbank_rateFirst fixed in e46ec98 and c444304, then refreshed at each re-pin (#262, #269, #278).
validation/check_obr_tables.pyrecomputes the hand-written OBR tables from the committed CSVs in CI.One residual, noted in #286: the HANK and FRB/US runtimes still have no committed timing artifact, only the run recorded in this thread.
🤖 Generated with Claude Code