fix(evals): swap cart classifier to claude-haiku-4.5 (gpt-5-mini drifted to 75%) - #243
Merged
Merged
Conversation
This was referenced Sep 14, 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.
Why
openai/gpt-5-minihas drifted below the eval gate. No commit touchedcartClassifier.ts,openrouter.ts, the eval fixtures, or the scorers since the last green run on 2026-07-14, so the drop from 97.5% -> 75.0% on the 2026-09-14 nightly (#242, and the recurring nightly RED since 2026-08-28) is provider-side model drift — exactly what the nightly gate exists to catch.The swap
Single source of truth is
env.OPENROUTER_MODEL(CI leaves it unset so the code default is what gets tested). Default changedopenai/gpt-5-mini->anthropic/claude-haiku-4.5.Gated sweep (live CI
workflow_dispatch, productionclassifyCart, temp 0, 40 cases)Haiku 4.5 wins on every axis and is cheaper than gpt-5.1 ($1.00·$5.00 vs $1.25·$10.00 per M). It is already 100% on the sibling coupons classifier.
Eval-gate compliance
evals/SCOREBOARD.md) with the dated numbers and the sweep.Prod picks this up on the next deploy. Closes the #242 series once merged and the nightly runs green.
🤖 Generated with Claude Code