Evals ganham seis casos que chamam os comandos do plugin - #139
Merged
Merged
Conversation
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.
O que resolve
Os evals mandam o pedido direto ao modelo e nunca chamam
/concise:pr,/concise:commite os outros comandos. Por isso nenhuma reescrita de comandofoi medida — nem a das versões 1.73.0 a 1.77.0, nem a da #133.
O que foi feito
evals/commands/, um para cada comando que mais sai daconversa: commit, PR, card, comentário, status e decisão. O prompt de cada
um é o próprio comando, e os fatos dizem para não rodar ferramenta.
CASES=commandsaponta o harness para essa pasta. SemPLUGIN=1ele recusarodar, porque sem o plugin o comando não existe e toda rubrica falharia.
/concise:.Os casos ainda não rodaram contra o modelo: o login do
claudevenceu antesda medição.
Como testar
Imprime
146 ok, 0 falhas.CLAUDE_CONFIG_DIR=~/.claude-eval PLUGIN=1 CASES=commands RUNS=3 bash evals/run.shRoda os seis casos, 36 chamadas.