Repository navigation
test: run evals on opus 5.5 with the full skill loaded - #43
Conversation
|
🔱 Poseidon started reviewing this PR — central run. |
| label: Opus 5 | ||
| config: | ||
| model: claude-opus-5 | ||
| effort: xhigh |
There was a problem hiding this comment.
Both providers pin effort: xhigh, but nothing in the run confirms the anthropic:claude-agent-sdk provider actually honors a config key named effort — a mis-named option is silently ignored rather than erroring. The README prose (line 18) even calls this setting effortLevel while the config uses effort, so if the provider expects a different key every case silently runs at the SDK's default high instead of xhigh, defeating a stated goal of this PR; and since the raw JSON's modelUsage records only the model, not the effort, a green 10/10 run would not surface it. Confirm against the provider's option schema that effort is the key it reads (switch it if not), and reconcile the README so the config key and the prose name match.
🤖 Fix prompt for AI agents
Verify each finding against the current code and only fix it if
needed.
In `evals/promptfooconfig.yaml`:
- Line 21: Both providers set `effort: xhigh`, but confirm the
`anthropic:claude-agent-sdk` promptfoo provider actually reads a
config option named `effort`; a mis-named key is silently
ignored, so every case would run at the SDK default `high`
rather than `xhigh`, defeating this PR's effort-pinning goal, and
`modelUsage` in the raw JSON records only the model (not the
effort) so a passing run never reveals it. Check the provider's
option schema; if the key is wrong, replace `effort` with the
correct name on both the `Opus 5` and `Opus 5.5` provider
configs. Then reconcile `evals/README.md` line 18, which names
the setting `effortLevel` in prose while the config uses
`effort`, so the documented name and the config key agree. Keep
the `xhigh` value and the surrounding `model`, `working_dir`,
`setting_sources`, `skills`, and `disallowed_tools` entries
unchanged.
There was a problem hiding this comment.
🔱 Poseidon Review
Summary — Adds an Opus 5.5 eval provider, pins effort, forces the full skill to load (blocking file tools + a skill-used assertion), and grades case 0 on its JSON only; low risk, docs/test-config only, with one thing worth verifying.
Walkthrough
- 🧪 Tests — Second provider
Opus 5.5besideOpus 5; both pinmodel+effort: xhigh, blockRead/Grep/Glob/Bash, and adefaultTestskill-usedassertion forces the skill to load; case 0 gains the page URL + screenshot path and atransformthat grades only fenced JSON blocks. - 🔧 Chore — Bumps
@anthropic-ai/claude-agent-sdk^0.3.211→^0.3.280inpackage.jsonand the lockfile. - 📝 Docs —
README.mddocuments the two providers, the effort/model pins, the SDK↔Claude Code version coupling, provider filtering, a "When to run" section, andnpm ci.
🟡 Suggestions
- evals/promptfooconfig.yaml:L21 — The
effort: xhighpins can't be confirmed to take effect: ifanthropic:claude-agent-sdkdoesn't read a key literally namedeffort, it's silently ignored and every case runs at the SDK defaulthigh, defeating a stated goal of this PR.modelUsagerecords only the model, not the effort, so a green 10/10 run won't reveal it. The README (L18) even names the settingeffortLevelin prose while the config useseffort. Confirm the key against the provider's option schema and reconcile the README wording.
🤖 Prompt for AI agents — fix all findings
Verify each finding against the current code and only fix it if
needed.
Suggestions:
In `evals/promptfooconfig.yaml`:
- Line 21: Both providers set `effort: xhigh`, but confirm the
`anthropic:claude-agent-sdk` promptfoo provider actually reads a
config option named `effort`; a mis-named key is silently
ignored, so every case would run at the SDK default `high`
rather than `xhigh`, defeating this PR's effort-pinning goal, and
`modelUsage` in the raw JSON records only the model (not the
effort) so a passing run never reveals it. Check the provider's
option schema; if the key is wrong, replace `effort` with the
correct name on both the `Opus 5` and `Opus 5.5` provider
configs. Then reconcile `evals/README.md` line 18, which names
the setting `effortLevel` in prose while the config uses
`effort`, so the documented name and the config key agree. Keep
the `xhigh` value and the surrounding `model`, `working_dir`,
`setting_sources`, `skills`, and `disallowed_tools` entries
unchanged.
ℹ️ Review info
- Commit: ef0195b
- Files reviewed: evals/README.md, evals/package.json, evals/promptfooconfig.yaml
- Files skipped: evals/package-lock.json (generated lockfile; version bump matches package.json)
- Model: claude-opus-4-8
There was a problem hiding this comment.
🔱 Poseidon Review
Summary — Since the prior review this PR only reworded README line 18 to tell the effort config key apart from your own effortLevel setting; low risk, docs/test-config only, and the one prior open finding still stands.
Walkthrough
- 📝 Docs —
README.mdline 18 now reads "not theeffortLevelin your own Claude Code settings, because the provider loads project settings only," disambiguating the pinnedeffortkey from the localeffortLevelsetting.
♻️ Previously flagged
Still outstanding
⚠️ evals/promptfooconfig.yaml:L21 —effort: xhighpin still unverified against the provider's option schema; README wording was reconciled but a mis-named key would silently fall back to the SDK defaulthigh. Covered by an open review thread.
ℹ️ Review info
- Commit: 08a756a
- Files reviewed: evals/README.md, evals/package.json, evals/promptfooconfig.yaml
- Files skipped: evals/package-lock.json (generated lockfile; version bump matches package.json)
- Model: claude-opus-4-8
what
evals/promptfooconfig.yamlOpus 5.5(claude-opus-5-5), besideOpus 5; both pinmodelandeffort: xhighfunctional-designwith the Skill tooldefaultTestadds askill-used: functional-designassertion to every casehttps://example.com/about/) and the saved screenshot path, and grades only the fenced JSON blocks (options.transform)evals/package.json,evals/package-lock.json—@anthropic-ai/claude-agent-sdk^0.3.211→^0.3.280evals/README.mdmodelandeffortare pinned, and how to run one model (--filter-providers '^Opus 5\.5$')npm ciinstead ofnpm installwhy
the evals only ran on opus 5, and the upcoming skill rewrites have to hold on opus 5.5 too. effort wasn't pinned either: the provider loads project settings only, so runs used the SDK's default
high, not thexhighthe live runs usually use.the bigger problem: the cases never actually loaded the skill. in every run we checked, on both models, the model grepped
SKILL.mdand read only the section that matched, with zero skill calls. that's blind to the skill's structure, which is exactly what the rewrites change. a rule that gets buried or contradicted in a rewrite would still pass. with the file tools blocked andskill-usedon every case, the whole skill loads the way it does in a real run, and a case fails loudly if it doesn't.case 0 had two problems of its own. it left out the page URL and screenshot, so both models invented them, differently, and opus 5 did it without saying so. and it false-failed three times, twice before this branch, because
not-contains "1.1.1"matched the model's explanation of why it didn't cite 1.1.1. grading only the JSON fixes that.with all of it in: 10/10 on both models, every case loading the skill, about $3 for a cold run of both.
notes
co-authored by claude opus 5.5 🧪