fix(judge-families): bare aliases sonnet, opus, haiku classify as anthropic - #733
Merged
Conversation
…ssify as anthropic `claude --model sonnet` is Anthropic's documented alias for the current Sonnet, and the answer is claude-sonnet-5 by definition of the alias. judgeFamily gave the bare alias no family, so assertServedModel refused `sonnet → claude-sonnet-5` as a cross-family substitution. Measured 2026-09-03 09:21Z in discovery-lab: the first two claude-code leads requested `sonnet` and failed to grade on ModelSubstitutionError. A name pattern for the three bare aliases, anchored at the start and bounded so `sonnetful-model` stays unknown. Tests: audit-primitives 19/19.
…judge-families change judge-families.ts is a bound source of the public analyst benchmark implementation; the alias pattern changes its bytes, so the pin moves from fffa4858… to 320fe06f… by intent.
tangletools
approved these changes
Sep 3, 2026
tangletools
left a comment
Contributor
There was a problem hiding this comment.
Approved as tangletools stand-in: author drewstone, every check green.
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.
judgeFamily returned unknown for Anthropic's bare CLI aliases, so
sonnet → claude-sonnet-5was refused as a cross-family substitution (discovery-lab, 2026-09-03: the first two claude-code leads failed to grade). Anchored, bounded pattern;sonnetful-modelstays unknown. audit-primitives 19/19.