Skip to content

Remote CI coverage for the OBR bridge and ScoreResult#23

Merged
vahid-ahmadi merged 1 commit into
mainfrom
remote-bridge-coverage
Jul 17, 2026
Merged

Remote CI coverage for the OBR bridge and ScoreResult#23
vahid-ahmadi merged 1 commit into
mainfrom
remote-bridge-coverage

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Contributor

Follow-up to #22: the post-deploy smoke suite still contained the stale 'OBR arm pending' test, which now fails against the deployed bridge. This PR replaces it with the new refusal contract and adds real coverage for the shipped functionality.

  • Fixed stale test: test_score_reform_obr_errors_actionably expected score_reform(model='obr') to error with a pending-bridge pointer; replaced with test_score_reform_obr_refuses_corp_tax_actionably (corp-tax reforms must be refused with the obr_shock TCPRO pointer).
  • New fast remote test (runs on every deploy): score_reform(model='microsim') — costing sign, ScoreResult block coherence, distributional data present.
  • New slow remote test (runs in scheduled full validation with --runslow): the complete OBR reform contract: microsim static costing path in, second-round effects out #9 pipeline end-to-end against the hosted server — costing sign, HHDI path sign, GDP falls, magnitude within a demand-multiplier sanity band.
  • Timeout bump 20→35 min on validate-deployment: the slow leg gains a multi-minute test and already timed out once this morning.

Note: GitHub Actions has no HUGGING_FACE_TOKEN secret, so the hosted server (whose Modal secret exists) is deliberately the only place the full bridge can be exercised in CI — these remote tests are that coverage.

🤖 Generated with Claude Code

- Replace the stale 'OBR arm pending' remote test (score_reform model=obr
  no longer errors — the bridge landed in #22) with the corp-tax refusal
  contract: a corporation_tax reform must be refused with a pointer to
  the direct obr_shock TCPRO lever.
- Add a fast post-deploy remote test for score_reform(model='microsim'):
  sign of the costing, ScoreResult coherence, distributional block.
- Add a slow end-to-end remote test of the full bridge pipeline (microsim
  costing -> HHDI path -> OBR second-round effects) with sign and
  magnitude gates; runs in the scheduled full validation.
- Bump validate-deployment timeout 20->35 min: the slow leg gains the
  bridge test and already timed out once at 20.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
macromod Building Building Preview Jul 17, 2026 10:48am

Request Review

@vahid-ahmadi
vahid-ahmadi merged commit cef46ea into main Jul 17, 2026
3 checks passed
@vahid-ahmadi
vahid-ahmadi deleted the remote-bridge-coverage branch July 17, 2026 10:54
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