Llm Evaluation GuideSAFE
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Overview
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
e1ba289846fdOBSERVED · 2026-10-08Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| openclaw | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: llm-evaluation-guide
description: "Evaluate and benchmark large language models for research applications"
metadata:
openclaw:
emoji: "🧠"
category: "domains"
subcategory: "ai-ml"
keywords: ["LLM evaluation", "benchmarking", "language models", "model evaluation", "NLP metrics", "BLEU", "perplexity"]
source: "wentor-research-plugins"
---
# LLM Evaluation Guide
A skill for evaluating and benchmarking large language models (LLMs) in research settings. Covers automatic metrics, human evaluation protocols, benchmark suites, evaluation pitfalls, and best practices for reporting LLM performance.
## Evaluation Taxonomy
### Types of Evaluation
```
1. Intrinsic evaluation:
Measures model quality on its own terms
- Perplexity, likelihood, calibration
- Useful for comparing architectures and training procedures
2. Extrinsic evaluation:
Measures model quality on downstream tasks
- Task-specific benchmarks (QA, summarization, classification)
- Closer to real-world usefulness
3. Human evaluation:
Human judges rate model outputs
- Fluency, correctness, helpfulness, safety
- Gold standard but expensive and slow
```
## Automatic Metrics
### Common Metrics by Task
| Task | Metric | Description |
|------|--------|-------------|
| Language modeling | Perplexity | Lower is better; measures prediction quality |
| Machine translation | BLEU, COMET | N-gram overlap; learned quality estimation |
| Summarization | ROUGE-1/2/L | Recall of n-grams against reference |
| Question answering | Exact Match, F1 | Token-level match against reference answer |
| Classification | Accuracy, F1 | Standard classification metrics |
| Generation quality | BERTScore | Semantic similarity via embeddings |
| Factuality | FActScore | Proportion of atomic facts supported by evidence |
### Computing Key Metrics
```python
from collections import Counter
import math
def compute_bleu(reference: list[str], hypothesis: list[str],
max_n: int = 4) -> float:
"""
Compute corpus-level BLEU score (simplified).
Args:
reference: List of reference token sequences
hypothesis: List of hypothesis token sequences
max_n: Maximum n-gram order
"""
precisions = []
for n in range(1, max_n + 1):
num = 0
den = 0
for ref_tokens, hyp_tokens in zip(reference, hypothesis):
ref_ngrams = Counter(
tuple(ref_tokens[i:i+n]) for i in range(len(ref_tokens) - n + 1)
)
hyp_ngrams = Counter(
tuple(hyp_tokens[i:i+n]) for i in range(len(hyp_tokens) - n + 1)
)
clipped = {ng: min(c, ref_ngrams.get(ng, 0))
for ng, c in hyp_ngrams.items()}
num += sum(clipped.values())
den += max(sum(hyp_ngrams.values()), 1)
precisions.append(num / max(den, 1))
# Brevity penalty
ref_len = sum(len(r) for r in reference)
hyp_len = sum(len(h) for h in hypothesis)
bp = math.exp(1 - ref_len / max(hyp_len, 1)) if hyp_len < ref_len else 1.0
# Geometric mean of precisions
log_avg = sum(math.log(max(p, 1e-10)) for p in precisions) / max_n
return bp * math.exp(log_avg)
```
## Benchmark Suites
### Major LLM Benchmarks
```
General knowledge and reasoning:
- MMLU (Massive Multitask Language Understanding): 57 subjects, MCQ
- HellaSwag: Commonsense sentence completion
- ARC (AI2 Reasoning Challenge): Science questions
- WinoGrande: Coreference resolution / commonsense
Coding:
- HumanEval: Python function completion (pass@k)
- MBPP: Mostly basic Python problems
- SWE-bench: Real-world software engineering tasks
Math:
- GSM8K: Grade school math word problems
- MATH: Competition-level mathematics
Safety and alignment:
- TruthfulQA: Resistance to common misconceptions
- BBQ (Bias Benchmark for QA): Social bias in QA
- RealToxicityPrompts: Tendency to generate toxic text
Instruction following:
- MT-Bench: Multi-turn conversation quality (LLM-as-judge)
- AlpacaEval: Instruction-following quality
- Chatbot Arena: ELO-based human preference ranking
```
## Human Evaluation
### Designing a Human Evaluation Protocol
```python
def design_human_eval(task: str, n_annotators: int = 3,
n_examples: int = 200) -> dict:
"""
Design a human evaluation protocol for LLM outputs.
Args:
task: The task being evaluated
n_annotators: Number of independent annotators per example
n_examples: Number of examples to evaluate
"""
return {
"task": task,
"n_annotators": n_annotators,
"n_examples": n_examples,
"criteria": [
{"name": "Fluency", "scale": "1-5",
"description": "Is the text grammatically correct and natural?"},
{"name": "Relevance", "scale": "1-5",
"description": "Does the output address the input/question?"},
{"name": "Correctness", "scale": "1-5",
"description": "Is the factual content accurate?"},
{"name": "Helpfulness", "scale": "1-5",
"description": "Would a user find this response useful?"}
],
"agreement_metric": "Krippendorff's alpha (ordinal)",
"presentation": "Randomize model order; blind annotators to model identity",
"calibration": "Have all annotators rate 20 shared examples first",
"cost_estimate": f"~{n_examples * n_annotators * 0.50:.0f} USD at typical rates"
}
```
## Evaluation Pitfalls
### Common Mistakes
```
1. Data contamination:
Test data may appear in the LLM's training set.
Mitigation: Use held-out datasets, check for contamination,
create new test sets.
2. Metric gaming:
High BLEU does not mean high quality; ROUGE rewards verbosity.
Mitigation: Use multiple metrics and human evaluation.
3. Cherry-picking examples:
Showing only best-case outputs misrepresents model capabilities.
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__llm-evaluation-guide.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e1ba289846fd | SAFE | B | 89 | first audit |
Questions
What does the Llm Evaluation Guide skill do?
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Is Llm Evaluation Guide safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Llm Evaluation Guide access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Llm Evaluation Guide work with?
Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.