Skip to content

Hosted models drifted from the numbers the site quotes #264

Done

Description

@github-actions

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/43818613534 (exit 1; 1 = drift, 2 = the check could not run)

canary source status observed quoted at
obr_bank_rate_100bp hosted pass dgdp_q1_m=-121, dgdp_q4_m=-430.7, dgdp_q8_m=-481.6, dgdp_q12_m=-416.2 obr/validation/index.html:169
obr_household_ratio_q12 hosted pass gdp_per_revenue_q12=0.341885 obr/index.html:211
frbus_100bp_tightening hosted pass gdp_trough_pct=-0.551202, gdp_at_2027Q4_pct=-0.551202, unemployment_peak_pp=0.25842 frb-us/validation/index.html:279
hank_25bp_easing hosted pass output_impact_pct=0.36117, output_q3_pct=0.174831 connect/index.html:433
svar_forecast_median hosted fail — svar/index.html:139
define_green_public_investment hosted pass hosted_refuses=False define/validation/index.html:160
household_uk_50k hosted pass income_tax=7486, national_insurance=2994.4, hbai_net_income=39519.6 pe/code/index.html:142

Diffs

  • 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.

Activity

  1. added
    drift-check
    on Nov 16, 2026
  2. github-actions commented on Nov 23, 2026

    @github-actions
    ContributorAuthor

    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)

    canary source status observed quoted at
    obr_bank_rate_100bp hosted pass dgdp_q1_m=-128.4, dgdp_q4_m=-406.3, dgdp_q8_m=-472.2, dgdp_q12_m=-499.6 obr/index.html:144
    obr_household_ratio_q12 hosted pass gdp_per_revenue_q12=0.327573 obr/index.html:119
    frbus_100bp_tightening hosted pass gdp_trough_pct=-0.555356, gdp_at_2027Q4_pct=-0.555356, unemployment_peak_pp=0.275849 frb-us/validation/index.html:289
    hank_25bp_easing hosted pass output_impact_pct=0.36117, output_q3_pct=0.174831 connect/index.html:133
    svar_forecast_median hosted fail gdp_2026Q3_median=1.538, cpi_2026Q3_median=2.87 svar/index.html:151
    define_green_public_investment hosted pass hosted_refuses=False define/validation/index.html:151
    household_uk_50k hosted pass income_tax=7486, national_insurance=2994.4, hbai_net_income=39519.6 pe/code/index.html:134

    Diffs

    • 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.

  3. github-actions commented on Nov 24, 2026

    @github-actions
    ContributorAuthor

    All canaries pass again (run https://github.com/PolicyEngine/macro/actions/runs/45384261853). Close this when you have checked it.

  4. vahid-ahmadi commented on Nov 25, 2026

    @vahid-ahmadi
    Contributor

    Closing: both failures recorded here have cleared, and the latest run passes all seven canaries (45384261853, 24 Nov).

    The two failures were different:

    1. 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.
    2. 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.

    🤖 Generated with Claude Code

  5. vahid-ahmadi commented on Nov 25, 2026

    @vahid-ahmadi
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    drift-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions