model-evaluation
Skill0 starsChanged 6 months agoMITView on GitHub
This skill should be used when the user asks to "evaluate this model", "do error analysis", "build an eval set", "which metric should I use", "slice the results", "why is the model failing", "compare model quality", "evaluate an LLM", or wants help with NLP metrics, ranking metrics, calibration, eval dataset construction, or failure-mode analysis.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- cellrishi-code/claude-skills-atlastheir own version, first seen Oct 4, 2026
- scoobydont-666/shared-claude-skillstheir own version, first seen Jul 7, 2026
- param087/agent-ml-skillstheir own version, first seen Jun 6, 2026
- GoogleCloudPlatform/cloud-solutionstheir own version, first seen May 29, 2026
- kienbui1995/magic-powerstheir own version, first seen Apr 10, 2026
- awslabs/agent-pluginstheir own version, first seen Feb 25, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- awslabs/agent-plugins★ 910same name
- GoogleCloudPlatform/cloud-solutions★ 135same name
- param087/agent-ml-skills★ 11same name
- cellrishi-code/claude-skills-atlas★ 4same name
- scoobydont-666/shared-claude-skills★ 1same name
- kienbui1995/magic-powers★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- experiment-designSkill
- llm-engineeringSkill
- ml-autoplanSkill
- ml-canarySkill
- ml-carefulSkill
- ml-code-reviewSkill
- ml-experiment-journalSkill
- ml-iterateSkill
- ml-learnSkill
- ml-office-hoursSkill
- ml-principlesSkill
- ml-production-debugSkill
- ml-red-teamSkill
- ml-retroSkill
- ml-setupSkill
- ml-shipSkill
- ml-system-designSkill
- tech-leadershipSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Default posture: the aggregate metric is hiding something, the eval set has problems, and the most valuable output is a ranked failure-mode …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Model evaluation & error analysis
Default posture: the aggregate metric is hiding something, the eval set has problems, and the most valuable output is a ranked failure-mode list with counts — not one number.
The iron laws
NO TRUSTED NUMBER FROM AN UNAUDITED EVAL SET
NO SHIP DECISION FROM AN AGGREGATE ALONE — SLICE AND FLIP-CHECK
EVERY REPORTED METRIC CARRIES A CIGiven predictions/data files → compute in code (pandas/sklearn/scipy), don't estimate.
Workflow
- Audit the eval set first: leakage vs training data (exact + near-dup — MinHash/embeddings for text), label error rate (sample 50; 8% label noise makes sub-8% model differences unresolvable), distribution match to production, staleness.
- Metrics match the decision: aggregate → which ships; slices → safe to ship; calibration → can consumers use the scores. Most asks need all three.
- Slice before averaging: input length, language/locale, user tenure (new vs established — critical for behavioral), head vs tail classes, source, time. Wins-on-average + loses-on-new-users = usually a worse product.
- Structured error analysis: 50-100 errors stratified by slice; taxonomy built bottom-up from the errors; output = failure modes ranked by frequency × severity with 2-3 examples + hypothesized cause each. This drives the roadmap more than any metric.
- Uncertainty: bootstrap CIs on everything. Overlapping CIs = "tied", not "B wins".
Metric defaults
- Imbalanced binary: PR-AUC over ROC-AUC; precision at the product's operating recall. Accuracy without base rate = banned.
- Ranking/retrieval: NDCG@k / recall@k at the product's k; MRR for single-answer. Logged-session evals need propensity correction.
- Calibration (thresholded/numerically-consumed scores): ECE + reliability diagram; per-segment if scores feed segment decisions; recalibrate after every retrain.
- Generation: human/LLM-judge primary; ROUGE/BLEU/chrF = regression guards only. Say this when someone proposes shipping on ROUGE deltas.
- Regression: MAE + quantile errors alongside RMSE; residuals by slice.
Formulas, edge cases, pitfalls: references/metrics-guide.md.
LLM eval
- Eval set from real traffic + real failures. 200 sharp examples beat 5,000 vague ones.
- LLM-as-judge controls or it doesn't count: randomized response order (position bias), rubric not bare score, validated against ~50 human labels, never judging its own family undisclosed.
- Decoding params are part of the model — pinned in eval config; cross-setting comparisons invalid.
- Public benchmarks: assume contamination until shown otherwise; internal held-out data for ship decisions.
- Agentic/multi-step: pass^k, not single-sample pass rate.
Regression testing models
Model updates = code releases:
- Frozen golden set incl. past incident cases. Any golden regression = blocking, even if aggregates improve.
- Report: aggregate delta + slice deltas + flip analysis (correct→incorrect). Net +1% with 8% flips = 3.5% of users newly broken. Surface the trade.
Output
Eval report: setup (data, metrics, config), headline + CIs, slice table, ranked failure modes with examples, recommendation (ship / ship-with-mitigations / don't) with evidence. Then: failure modes feed ml-iterate; eval-driven experiments get logged via ml-experiment-journal.
Pipeline integration
Append completed gates to ml/gates.json: eval_audit (step 1 done), slice_analysis, seed_variance (when variance was quantified), flip_analysis + golden_set (regression testing), calibration (when checked). Save the eval report to ml/evals/<model>-<date>.md — ml-ship reads the ledger and links the report in the model card. Surface ACTIVE notes from ml/notes/datasets.md for any dataset used.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

