Skip to content

FRB/US lever units: rfftay_aerr does not stack, ebfi_aerr keeps building, per-lever figures - #288

Open
vahid-ahmadi wants to merge 2 commits into
mainfrom
vahid/r6-frbus-lever-units
Open

vahid-ahmadi wants to merge 2 commits into
mainfrom
vahid/r6-frbus-lever-units

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Contributor

Tool text only: the units strings frbus_list_variables and frbus_shock return. No model result changes.

What was wrong

  1. rfftay_aerr was described as stacking. It carried the same sentence as the inertial rule's lever: "With periods>1 the add-factors stack: shock=1.0, periods=4 peaks near +3pp on the funds rate". The non-inertial Taylor rule has no lag of the funds rate, so it does not stack.
  2. ebfi_aerr said "0.01 ~ 1% higher BFI after one period". That holds in the shocked quarter only; the response keeps building.
  3. Six levers shared one stacking sentence quoting two of them ("periods=4 at 0.01 lifts egfe ~2.9%, trp ~+2.4pp"), so the egse, trci, consumption and investment entries quoted another lever's figure, and the trp figure was from an earlier vintage.

Evidence

Local solves through core.frbus_shock at the pinned us-frb-model 162cfe6 (October 2026 LONGBASE), shock from 2026Q1, own variable's deviation from baseline:

lever shock one shocked quarter: q1 … q5 four shocked quarters: q1 … q4
rfftay_aerr (rule taylor) 1.0 +1.00pp, then negative +1.00, +0.82, +0.71, +0.55pp
rffintay_aerr 1.0 +1.00, +1.82, +2.48, +2.97pp
egfe_aerr 0.01 1.00, 0.73, 0.58, 0.56, 0.51% 1.00, 1.74, 2.32, 2.90%
egse_aerr 0.01 1.01, 1.01, 0.89, 0.75, 0.64% 1.01, 2.03, 2.94, 3.71%
trp_aerr 0.01 0.99, 0.52, 0.47, 0.34, 0.25pp 0.99, 1.51, 1.99, 2.33pp
trci_aerr 0.01 1.00, 0.80, 0.64, 0.51, 0.42pp 1.00, 1.80, 2.44, 2.95pp
ecnia_aerr 0.01 1.06, 1.04, 1.03, 1.01, 0.97% 1.06, 2.12, 3.16, 4.19%
ebfi_aerr 0.01 1.01, 1.37, 1.65, 1.79, 1.85% 1.01, 2.38, 4.08, 5.95%
poil_aerr 10.0 15.2, 10.7, 9.9, 10.2% of the baseline price

These agree with the table pinned upstream in us-frb-model #28, which raised the first two points.

What changed

  • rfftay_aerr: says the add-factor does not stack and gives the four-quarter path.
  • ebfi_aerr: says the 1% is the shocked quarter only and gives the figure a year later.
  • Each stacking lever quotes its own fourth-quarter figure. ecnia_aerr also says a one-period shock barely decays.
  • poil_aerr: "+10 is about +15% at the 2026 LONGBASE price" is true of 2026Q1 only; the text now gives both figures.
  • Tests: a fast test that every curated lever is classified as stacking or not and that its text agrees; a slow test that checks every quoted figure against the installed model. The slow test is added to the nightly contract job's list (contract.yml), which installs the pins.

How verified

  • pytest tests/test_frbus.py --runslow -k stacking: 3 passed against the real model.
  • pytest tests -q in integration/: 496 passed. Repo root: 3281 passed; site_contract.py clean.
  • The nightly contract job has not run with the added test; it is verified locally only.

The figures will move with a new LONGBASE; the slow test is what will say so. CHANGELOG.md will conflict with #283, #284, #285 and #287 (each adds an entry at the same place); keep all entries. Merging redeploys the hosted MCP server.

🤖 Generated with Claude Code

…ing, per-lever stacking figures

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 2:17am UTC

Request Review

@vahid-ahmadi

Copy link
Copy Markdown
Contributor Author

The nightly contract job, dispatched on this branch, passes with the added stacking test: run 45517858062, 20 passed. That replaces "verified locally only" in the description.

🤖 Generated with Claude Code

…4 figures, two decimals)

- egfe is ~4.5% of real GDP, so 0.01 is ~0.045% of GDP (was 4.6%, 0.046%).
- One-quarter responses are quoted in q4, the fourth quarter, as #28's table
  does: ecnia 1.01% (was 0.97%, the fifth quarter) and ebfi 1.79% (was
  'about 1.8% a year later'). The slow test pins index 3, not index 4.
- trci 2.95pp and BFI 5.95% to two decimals, as #28 prints them.

Checked against VALIDATION.md at us-frb-model 0185ca0 and a local solve.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

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