Skip to content

Blind 1: trial.py run --backend anthropic, the det-then-model leg behind a key preflight (Part of #8322) - #8352

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8322-20261112T1141Z
Nov 12, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8322-20261112T1141Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8322 (Part of #8073)

Checklist: partial [c:09a5d938] -- the det-then-model figure needs the owner's ANTHROPIC_API_KEY and spend; the #8073 post is the orchestrator's

What

trial.py run gains --backend {det,anthropic} (default det, unchanged). The anthropic leg refuses before any call without the key, or when the trial is not registered for that backend. It runs attempt 1 only, no feedback retry, on its own project copy (java_h2_anthropic, tickets only, so no det event is read as a model attempt), proves it under the same A/B instruments, and writes run_summary_anthropic.json. The proof-run doc names the one command.

Class

trial.py run hard-coded the det backend: no model leg and no preflight for it.

Facts checked

  • ANTHROPIC_API_KEY is unset here; the model leg was NOT run, and no ledger entry is booked for it. The figure stays open, not zero.
  • The preflight, the registered-backend refusal and the det default are covered by stub tests (test_trial_run.py, 11 pass). audit_check.py: all clear.

Sibling gaps

  • trial.py record is det/Run-B shaped; booking a model run needs a --backend there (needed only once a model run exists; no burned program depends on it).

Remaining slices

  1. Owner grants key and spend; run the leg: trial.py run trial-001 --estate-path P --work W --backend anthropic.
  2. trial.py record for the model run, report, then the Blind estate trial 1 (#3803): ibm/example-health-apis -- COMPLETE: 0/29 first contact, 25/29 whole, 28/28 cased, first-try det proof 23/28 (82%) #8073 post (det 23/28 headline, det-then-model alongside, n=1).

🤖 Generated with Claude Code

…ind a key preflight (Part of #8322)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 12, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 12, 2026 11:48
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 12, 2026 11:48
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 12, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 12, 2026
@squid-shepherd
squid-shepherd Bot merged commit 9785815 into main Nov 12, 2026
69 of 71 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8322-20261112T1141Z branch November 12, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant