llm-eval-anti-patterns
БесплатноБез исполняемых скриптовНе проверенUse for any question about mistakes in LLM evals or auditing an eval suite that gates a release, model swap or prompt change, including evals that pass while…
от testland★ 18 звёзд на GitHubОб этом скилле
llm-eval-anti-patterns
An LLM eval suite can be green and still be worthless. The failure is not in the system under test, it is in the eval definition: too few cases to distinguish signal from sampling noise, assertions that cannot fail for the right reason, no baseline to compare against, or a judge model whose verdicts have never been checked against a human.
This catalog reviews the eval definition, not the eval run. Read the config, the test data, the assertions, and the CI job that executes them. Every finding must point at a line in one of those.
What this owns, and what it does not
| This catalog | Not this catalog |
|---|---|
| Reviews a suite that already exists | Building the suite, choosing a harness, or writing the first test cases |
| Judges whether the suite's design can produce a trustworthy verdict | Choosing which quality metrics matter for the product |
| Reports methodology defects with a severity and a fix | Ranking one model against another, or running the benchmark |
If there is no eval suite yet, there is nothing here to review. If the question is "which model is better", that is a benchmarking exercise, and this catalog only tells you whether the benchmark you are about to trust was constructed soundly.
Severity scheme
Three levels. These are a review convention, not a standard:
| Severity | Means |
|---|---|
| Critical | Silent regression risk, or eval theater: the suite passes for a reason unrelated to the behavior it claims to measure. |
| Warning | A real defect surface the suite cannot see. Address before the next release. |
| Info | Coverage worth adding. Not blocking. |
The Critical bar is deliberately narrow. Reserve it for the two cases where a green run actively misleads: an assertion that cannot detect the failure it was written for (anti-pattern 3), and a run with nothing to compare against (anti-pattern 5).
Reading an eval definition in any harness
The eight checks below are about structure, not syntax. In whatever harness the suite uses, locate these five things first:
- The case set. The rows, records, or fixtures the suite iterates over.
- The system under test. Which model or models each case is run against.
- The assertions or scorers. What decides pass and fail per case.
- The judge configuration. If any assertion is model-graded, which model grades it, and with what instructions.
- The gate. The CI step that turns per-case results into a merge decision.
The five slots are always present; the per-harness vocabulary for Promptfoo, LangSmith, Braintrust, DeepEval, and OpenAI Evals is mapped in references/harness-mapping.md. Where a check below names an exact key, that key is verified in that harness's linked docs; everywhere else the description is deliberately structural so it transfers.
1. Too few cases per evaluated capability
Detect. Count cases per capability, not per file. A suite with 200 rows that covers eleven behaviors may have fewer than a dozen rows behind each claim. Look for a capability tag, a filename convention, or a grouping key; if none exists, that absence is itself the finding, because nobody can tell what the pass rate is a pass rate of. Fewer than about 10 cases per evaluated capability is the flag. That number is a practitioner convention, not a statistical threshold - use it as a prompt to compute the real uncertainty, not as a target.
Why it invalidates. An eval is an experiment whose cases are a sample, so the score carries sampling error (Miller 2024). With a handful of cases the confidence interval swallows the difference the suite is meant to detect, so a pass rate moving from 90% to 80% is indistinguishable from noise. A single run of a stochastic model is one draw; if the harness can repeat the case set, repeat it and report a central estimate with an interval, not a bare number.
Related risk when adding coverage. Growing a case set by importing a public benchmark risks test-set contamination - the eval data may already sit in the model's pretraining corpus, and the effect separates into memorization and exploitation (Magar and Schwartz 2022). Prefer cases written against your own product surface, or drawn from production traffic.
Fix. Tag every case with the capability it exercises. Grow thin capabilities with new cases sourced from your own traffic. Never delete cases to raise a pass rate.
2. Single provider or single model in the definition
Detect. Read the system-under-test slot. One entry means every result is
conditional on that one model. In Promptfoo, providers: accepts a list, and
running against several produces a comparison matrix over the same cases (per
promptfoo.dev/docs/configuration/guide):
providers:
- openai:gpt-5-mini
- vertex:gemini-2.0-flash-exp
Why it invalidates. A single-model run cannot separat
Установить llm-eval-anti-patterns в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл llm-eval-anti-patterns?
Use for any question about mistakes in LLM evals or auditing an eval suite that gates a release, model swap or prompt change, including evals that pass while users say the model got worse. Checks eight methodology errors (too few cases, exact match on open text, no baseline, unpinned models, no adversarial cases and more) and how to validate an LLM judge.
Как установить скилл llm-eval-anti-patterns?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл llm-eval-anti-patterns запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic