Skip to content

Drift canaries: run the HANK persistence the page quotes, fix the DEFINE quote; add two pinned-model gates - #287

Open
vahid-ahmadi wants to merge 1 commit into
mainfrom
vahid/r6-backend-gates
Open

vahid-ahmadi wants to merge 1 commit into
mainfrom
vahid/r6-backend-gates

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Contributor

Two canary corrections raised by the site review in #286, and two nightly gates for issues closed on evidence (#215, #225).

Canaries

HANK (hank_25bp_easing). /connect quotes the command pe-macro hank-shock --kind monetary --size -0.0025 --persistence 0.61, and the prompt beside it says "about 13bp off the policy rate on impact". The canary called the tool with no persistence, so it ran the default, 0.9. That is a different experiment:

persistence policy rate i, impact output Y, impact output, quarter 3
0.9 (what the canary ran) +0.253pp +0.361% +0.175%
0.61 (what the page quotes) −0.132pp +0.493% +0.097%

So the canary was passing on numbers the page does not describe, and the one number the page does quote (13bp) was not checked. It now passes persistence: 0.61, checks the policy rate on impact (−0.132 ± 0.005pp) and keeps the two output checks as regression pins at the new values. The anchor is the full quoted command.

DEFINE (define_green_public_investment). The quote text said "PASS — peak +0.92% vs ≈+1%". The page (main and #286) says "PINNED, not a replication — peak +0.92% vs our own 0.7–1.3% band". Only the descriptive text changes; the hosted check (still refuses) and the local check (peak 0.92 ± 0.01) are the same.

Verified with python drift/drift_check.py --only hank_25bp_easing --only define_green_public_investment --local on 25 Nov 2026: hosted and local HANK both return −0.131623 / 0.49256 / 0.097053 and pass; DEFINE hosted passes (the local row skips, DEFINE not being set up here). This does not depend on #286: main's /connect already quotes persistence 0.61.

Gates

Both are slow and live in tests/test_contract.py, which the nightly contract job runs with --runslow against the pinned models. They are slow-marked on purpose: the fast CI job installs the OBR and BoE models from their HEAD, where an assertion about pinned numbers or data could fail with nothing wrong in this repo.

How verified

  • Both new tests pass locally with --runslow at the pins (0e44ec8, 17f5d82).
  • pytest tests -q in integration/: 495 passed (the slow ones skip by default); repo root 3281 passed; site_contract.py clean.

CHANGELOG.md will conflict with #283, #284 and #285, which each add an entry at the same place; keep all the entries.

🤖 Generated with Claude Code

…te matches the page; two pinned-model gates

Co-Authored-By: Claude Fable 5.2 <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 12:19am UTC

Request Review

@vahid-ahmadi

Copy link
Copy Markdown
Contributor Author

The nightly contract job, dispatched on this branch, passes with the two new gates: run 45517854991, 21 passed in 7 min 39 s (the job's limit is 45 minutes).

🤖 Generated with Claude Code

This branch was successfully deployed

1 active deployment
Preview — da25ba74 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