Repository navigation
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
Open
vahid-ahmadi wants to merge 1 commit into
vahid-ahmadi wants to merge 1 commit into
Conversation
…te matches the page; two pinned-model gates Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)./connectquotes the commandpe-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:i, impactY, impactSo 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). Thequotetext 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 --localon 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/connectalready quotes persistence 0.61.Gates
Both are
slowand live intests/test_contract.py, which the nightly contract job runs with--runslowagainst 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.test_obr_household_lever_is_symmetric_and_linear: ±1000 and +2000 onHHDI_ADDFACTORfor eight quarters must converge, keep their signs, and agree to within 2% of the peak response. Measured 0.15% for both at obr-macroeconomic-model0e44ec8; OBR bridge lever HHDI_ADDFACTOR: 32% sign asymmetry, 16% non-linearity, and no solve converges #215 recorded 32% and 16% at a pin where no quarter converged. Adds three solves (about two and a half minutes locally) to the nightly job.test_svar_data_edge_strings_match_the_pinned_data: the registry'sdata_edgeanddata_vintageandmodel_summary's data vintage are typed by hand and said 2026Q1 for a month after the 2026Q2 data was pinned (Provenance slips: model_summary says boe_var is 'not-installed'; obr_shock records model_id 'obr-emulator' and the wrong source_url #225). The test reads the last quarter of the installed data and compares.How verified
--runslowat the pins (0e44ec8,17f5d82).pytest tests -qinintegration/: 495 passed (the slow ones skip by default); repo root 3281 passed;site_contract.pyclean.CHANGELOG.mdwill conflict with #283, #284 and #285, which each add an entry at the same place; keep all the entries.🤖 Generated with Claude Code