Skip to content

Add a Claude Code pilot of the response evaluation suite - #12

Merged
kmizu merged 1 commit into
mainfrom
claude-code-pilot
Oct 5, 2026
Merged

kmizu merged 1 commit into
mainfrom
claude-code-pilot

Conversation

@kmizu

@kmizu kmizu commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Adds a Claude Code pilot of the response evaluation suite, so the 0.5.0 rules are measured on the host that ships them. The Codex pilot (#11) measured Codex answers; this one captures native Claude Code answers through the always-on hook.

Result: in Claude Code, 0.4.0 passed 12/12 and 0.5.0 passed 11/12, so the Codex-side gain did not reproduce here. 0.5.0 used 18.1% more characters than 0.4.0 and 11.2% fewer than no rules. The one 0.5.0 failure is a stated assumption ("The tests haven't been rerun yet") judged unsupported by the reviewer; no answer in any condition omitted a requested part or claimed unauthorized work. Details and limits are in evals/claude-code/PILOT.md.

  • scripts/collect_claude_answers.py: one fresh claude -p session per case, --setting-sources "" --tools "", rules loaded with --plugin-dir from a frozen checkout so the real hook injects them. Runs from an empty non-repository directory; a first capture run inside the checkout leaked branch and file names into a fictional scenario and was discarded before review.
  • evals/claude-code/: manifest, frozen rule snapshots, 36 unedited answers, blinded review input and key, the reviewer's decisions, attached reviews, scored results, and the report.
  • Tests and CI: a test replays the recorded pilot and checks it matches the shipped rules; plugin-load-check.yml replays it too. Neither is a quality gate, because the candidate did not pass all cases and the report says so.
  • Docs: README.md links both pilots; evals/README.md documents the Claude Code collection step.

The canonical rules are unchanged. Whether 0.5.0's extra length is worth it on Claude Code is left open; a shorter length rule tested on both hosts with repeated samples would be the next experiment.

Checked: python -m unittest discover -s tests (48 tests, OK), python scripts/evaluate_responses.py evals/claude-code/pilot.json (replays), python scripts/build_codex.py --check (up to date), claude plugin validate . (passed), git diff --check (clean).

🤖 Generated with Claude Code

Captures native Claude Code answers through the always-on hook for the twelve cases under no rules, 0.4.0, and 0.5.0, with blinded review. In this host 0.4.0 passed 12/12 and 0.5.0 passed 11/12 at 18.1% more characters, so the Codex-side gain did not reproduce. Recorded as evidence, not a gate.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@kmizu
kmizu merged commit 35a5e02 into main Oct 5, 2026
4 of 5 checks passed
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