Move the skill-eval runner off the retired claude-sonnet-4-20250514

PO
7d ago
+2-2

What

skill-evals/run and skill-evals/Makefile default to claude-sonnet-4-20250514 (run:39, Makefile:1). This changes both defaults to claude-sonnet-5-5.

Why

Anthropic's deprecations page lists claude-sonnet-4-20250514 as retired on June 15, 2026, with claude-sonnet-5-5 as the recommended replacement. It says requests to a retired model return 404 not_found_error.

make skill-eval (the target the Skill Evals job in .github/workflows/test.yml runs, line 482 onward) passes no MODEL, so it uses the Makefile default. api_call in skill-evals/run (line 166) raises on any non-200 reply, so with an ANTHROPIC_API_KEY set the run stops on its first request instead of grading a case. In the recent runs we looked at the job was skipped, so nothing in CI showed this.

Testing

  • ruby -c skill-evals/run reports Syntax OK.
  • grep -rn claude-sonnet-4-20250514 skill-evals finds nothing after the change.
  • We did not run the model cases (they need a key and send billed requests), so we have not checked whether any case expectation shifts on the newer model. If one does, make -C skill-evals eval MODEL=... is the way to compare.
  • make check was not run here.

We build leanprompt, an open-source tool that audits how apps call LLMs, and found this while running it on public repositories.

The suggested fix was written with an AI coding assistant and checked by hand.


Summary by cubic

Updates the skill eval defaults from the retired claude-sonnet-4-20250514 to claude-sonnet-5-5 in skill-evals/run and skill-evals/Makefile.

Anthropic retired claude-sonnet-4-20250514, so requests to it return 404 not_found_error and the eval run stops on its first request. The eval cases were not re-run, so expectations may still shift on the newer model.