model-evaluation
Skill1 starsChanged 5 months agoMITView on GitHub
LLM evaluation methodology — side-by-side comparison, domain-specific benchmarking, regression detection for fine-tuned models. Trigger on: "evaluate model", "benchmark", "model comparison", "A/B test models", "model quality", "accuracy test", "regression test model", or any discussion about measuring LLM output quality.
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
- mbburabak/mlforgetheir own version, first seen Jun 11, 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
- kienbui1995/magic-powers★ 0same name
- mbburabak/mlforge★ 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 repository32 other files it gives its agents.
- ansible-hardeningSkill
- budi-analyticsSkill
- claude-to-cursorSkill
- code-consistencySkill
- code-qualitySkill
- config-auditorSkill
- container-sandboxSkill
- cost-optimizerSkill
- cpa-tax-specialistSkill
- database-designSkill
- differential-reviewSkill
- fleet-managerSkill
- grill-meSkill
- hydra-swarmSkill
- inbound-syncSkill
- infosec-architectSkill
- insecure-defaultsSkill
- modern-pythonSkill
- ms-office-suiteSkill
- openclaw-opsSkill
- prd-to-planSkill
- project-managementSkill
- property-based-testingSkill
- session-miserSkill
- session-miserSkill
- skill-updaterSkill
- supply-chain-risk-auditorSkill
- systematic-debuggingSkill
- tddSkill
- token-miserSkill
- verification-before-completionSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
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 45
Run eval BEFORE training (baseline)
- Distinctive: line 46
Run eval AFTER training (candidate)
- Distinctive: line 73
Every question must have a verifiable correct answer
- Distinctive: line 103
Coherence: Check length > 100 chars, no repeated tokens
- Distinctive: line 119
Before deploying a fine-tuned model:
“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 — Systematic LLM Quality Assessment
Evaluation Framework
5 Dimensions (Always Test All)
| Dimension | What to Measure | How |
| Factual Recall | Specific numbers, dates, thresholds | Known-answer questions |
| Calculation | Step-by-step math, correct final answer | Problems with verifiable solutions |
| Edge Cases | Ambiguous scenarios requiring judgment | Tricky questions with nuanced answers |
| Citation | References real sources (IRC §, IRS Pub) | Check every citation exists |
| Coherence | Well-structured, complete, no degeneration | Length, structure, readability |
Scoring
PASS: Correct answer, well-reasoned, properly cited
PARTIAL: Correct concept, wrong number or missing citation
FAIL: Wrong answer, hallucinated citation, or degenerated outputComparison Methodology
Side-by-Side Evaluation
# Run same question through both models
for question in eval_set:
response_a = query(model_a, question)
response_b = query(model_b, question)
# Score independently on 5 dimensionsRegression Detection
When fine-tuning iterations:
- Run eval BEFORE training (baseline)
- Run eval AFTER training (candidate)
- Compare dimension-by-dimension
- Any dimension regression → investigate before deploying
Overfit Detection Signs
- Model outputs dots, repeating characters, or gibberish
- Responses are exact copies of training examples
- Model can't handle questions outside training distribution
- Response length dramatically changes (too short or infinite)
Root cause: Too many epochs on too little data. Fix: Reduce epochs, add more diverse training data.
Evaluation Set Design
For Domain-Specific Models (e.g., Tax)
| Category | Count | Purpose |
| Factual (known answers) | 10 | Tests memorization of current facts |
| Calculation | 5 | Tests reasoning + arithmetic |
| Scenario-based | 5 | Tests application of rules |
| Edge cases | 5 | Tests judgment under ambiguity |
| Out-of-domain | 3 | Tests guardrails (should refuse/deflect) |
| Total | 28 | Minimum viable eval set |
Question Quality Rules
- Every question must have a verifiable correct answer
- Include the year in factual questions (tax rates change)
- Calculation questions must have worked solutions for comparison
- Edge cases should have multiple valid perspectives
- Out-of-domain questions test that the model doesn't hallucinate expertise
Evaluation Tooling
evaluate.py Pattern
def evaluate(models: list[str], questions: list[dict]) -> list[dict]:
results = []
for q in questions:
row = {"question": q["text"], "expected": q["answer"], "responses": {}}
for model in models:
response = query_ollama(model, q["text"])
row["responses"][model] = {
"text": response,
"tokens": token_count,
"latency_ms": latency,
"matches_expected": check_answer(response, q["answer"]),
}
results.append(row)
return resultsAutomated Scoring (Where Possible)
- Factual: Extract numbers, compare to expected
- Calculation: Extract final answer, compare to expected
- Citation: Regex for IRC §, IRS Pub — verify they exist
- Coherence: Check length > 100 chars, no repeated tokens
- Edge cases: Requires human review
Training Data vs Model Quality Correlation
Quality = f(data_quality × data_quantity × model_size) / epochs²
More data → linear improvement
Better data → exponential improvement
More epochs → diminishing returns → overfit
Bigger model → better reasoning, same fact accuracyProduction Deployment Checklist
Before deploying a fine-tuned model:
- Run full eval set (28+ questions)
- Compare against baseline on all 5 dimensions
- No dimension regression
- Overfit check: test 5 out-of-domain questions
- Coherence check: 10 random prompts, all produce structured output
- Latency check: <5s for typical responses
- VRAM check: fits in target GPU with room for inference
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.

