You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hosted models drifted from the numbers the site quotes #264
svar_forecast_median (hosted, value): gdp_2026Q2_median: cannot extract ("no item with quarter='2026Q2'")
svar_forecast_median (hosted, value): cpi_2026Q2_median: cannot extract ("no item with quarter='2026Q2'")
Canaries: integration/drift/canaries.json. Fix the deployment (redeploy at the modal_app.py pins) or, with evidence, the page and the canary in one PR.
Canaries: integration/drift/canaries.json. Fix the deployment (redeploy at the modal_app.py pins) or, with evidence, the page and the canary in one PR.
Closing: both failures recorded here have cleared, and the latest run passes all seven canaries (45384261853, 24 Nov).
The two failures were different:
16 Nov, "no item with quarter='2026Q2'". The canary still looked for the 2026Q2 forecast quarter after the hosted data edge moved to 2026Q2 (boe-var-model e7ad032, Pin boe-var-model to main e7ad032 for the hosted API #233), which made 2026Q3 the first forecast quarter. a2e83419 moved the page to the archived 12 Nov round and the canary to 2026Q3.
23 Nov, CPI 2026Q3 2.87 against 2.971 ± 0.1 (off by 0.101). The page showed the archived 12 Nov round (6,000 draws at e7ad032) while the hosted server ran a later pin at 2,000 draws. After BoE SVAR: re-pin to 17f5d82 and refresh every BoE figure (merging redeploys the hosted MCP server) #282 re-pinned to 17f5d82 and redeployed, the hosted call returns GDP 1.582 and CPI 2.912, inside the tolerance, and the revision check against modal_app.py passes.
What is left, for a decision rather than a fix. The canary passes with 0.059pp of its 0.1pp CPI tolerance left. That gap is not sampling noise alone: the page's current forecast is a round made at e7ad032, and the hosted model is at 17f5d82, which adds the seasonally adjusted world CPI series (boe-var-model #34). The canary's own basis text says so. Nothing is wrong, but the comparison is between two model revisions, and the next data or pin change may trip it again. The clean way to close the gap is to archive a round from the current pin; the nowcast job will do that when the next scored release is due and the data edge moves. Archiving one sooner at the same data edge is a policy choice (one round per data edge today), so I have not done it, and I have not re-based the canary's expected values to the hosted output.
Correction to my closing comment: 0.059pp is the gap between the hosted CPI median and the page's (2.971 − 2.912), not the margin. The margin left inside the 0.1pp tolerance is 0.041pp.
Activity
github-actions commentedon Nov 23, 2026
The weekly drift check found hosted model output that no longer matches what the site quotes, or a deployment that is not on the committed pin.
Run: https://github.com/PolicyEngine/macro/actions/runs/45125488679 (exit 1; 1 = drift, 2 = the check could not run)
obr_bank_rate_100bpobr/index.html:144obr_household_ratio_q12obr/index.html:119frbus_100bp_tighteningfrb-us/validation/index.html:289hank_25bp_easingconnect/index.html:133svar_forecast_mediansvar/index.html:151define_green_public_investmentdefine/validation/index.html:151household_uk_50kpe/code/index.html:134Diffs
svar_forecast_median(hosted, value): cpi_2026Q3_median: got 2.87, expected 2.971 ± 0.1 (off by -0.101)Canaries:
integration/drift/canaries.json. Fix the deployment (redeploy at the modal_app.py pins) or, with evidence, the page and the canary in one PR.github-actions commentedon Nov 24, 2026
All canaries pass again (run https://github.com/PolicyEngine/macro/actions/runs/45384261853). Close this when you have checked it.
vahid-ahmadi commentedon Nov 25, 2026
Closing: both failures recorded here have cleared, and the latest run passes all seven canaries (45384261853, 24 Nov).
The two failures were different:
e7ad032, Pin boe-var-model to main e7ad032 for the hosted API #233), which made 2026Q3 the first forecast quarter.a2e83419moved the page to the archived 12 Nov round and the canary to 2026Q3.e7ad032) while the hosted server ran a later pin at 2,000 draws. After BoE SVAR: re-pin to 17f5d82 and refresh every BoE figure (merging redeploys the hosted MCP server) #282 re-pinned to17f5d82and redeployed, the hosted call returns GDP 1.582 and CPI 2.912, inside the tolerance, and the revision check againstmodal_app.pypasses.What is left, for a decision rather than a fix. The canary passes with 0.059pp of its 0.1pp CPI tolerance left. That gap is not sampling noise alone: the page's current forecast is a round made at
e7ad032, and the hosted model is at17f5d82, which adds the seasonally adjusted world CPI series (boe-var-model #34). The canary's ownbasistext says so. Nothing is wrong, but the comparison is between two model revisions, and the next data or pin change may trip it again. The clean way to close the gap is to archive a round from the current pin; the nowcast job will do that when the next scored release is due and the data edge moves. Archiving one sooner at the same data edge is a policy choice (one round per data edge today), so I have not done it, and I have not re-based the canary's expected values to the hosted output.🤖 Generated with Claude Code
vahid-ahmadi commentedon Nov 25, 2026
Correction to my closing comment: 0.059pp is the gap between the hosted CPI median and the page's (2.971 − 2.912), not the margin. The margin left inside the 0.1pp tolerance is 0.041pp.
🤖 Generated with Claude Code