Conversation
Repository owner
closed this by deleting the head repository
Aug 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR adds
Bug fix to the prompt-caching eval harness: removes a parameter that the Anthropic API now rejects, which currently prevents the script from running.
Skill checklist (for new skills)
N/A — this is a bug fix to
eval/, not a skill change.Lint output
N/A — no files under
skills/are touched by this PR.Index regeneration
N/A — no skill files changed, so
README.mdand the index are unaffected.Notes for review
run_eval.pypassestemperature=0toclaude-opus-4-7, which the Anthropic API rejects:The script fails before completing a single call. Removing the parameter fixes it.
Worth flagging:
temperature=0was presumably there for reproducible eval runs. Opus 4.7 doesn't accept any value other than 1, so determinism viatemperatureisn't available on this model. I left a comment in the code explaining why the param is gone rather than removing it silently.For reference, I tested the sampling params across the current Anthropic lineup. Rejected on
opus-5,sonnet-5,fable-5,opus-4-8andopus-4-7. Still accepted onsonnet-4-6,opus-4-6,opus-4-5,haiku-4-5andsonnet-4-5. So this only affects the 4-7-and-newer calls.