Benchmark stochastic skill reliability with pass@1, pass@3, and pass^5 consistency metrics
A skill with 80% single-run pass@1 succeeds on all 5 consecutive runs (pass^5) less than 33% of the time. Measure variance before shipping.
Choosing the right multi-trial metric for your deployment mode
- 01
Use pass^k (all k trials pass) for customer-facing ops
When a support or billing agent runs once per ticket unattended, every flaky failure hits a real user; demand high pass^5.
- 02
Use pass@k (at least 1 of k passes) when verifiers exist
In coding workflows with unit test suites, sampling 3 parallel attempts and picking the passing diff exploits pass@3 safely.
- 03
Never trust n=1 evaluation runs on agent loops
Multi-step trajectories compound small sampling differences on turn 1 into completely divergent paths by turn 8.
- 04
Pinpoint high-variance tasks for deterministic scripting
Tasks failing 2 out of 5 trials usually reveal brittle prose instructions that belong inside a helper Python/CLI script.
How it works in practice
Multi-trial reliability check
Run invoice-reconcile-skill 5 independent trials across 40 tasks (200 total runs).
pass@k vs pass^k divergence
Single-trial avg (pass@1): 84%. Best-of-5 (pass@5): 97%. All-5-consistent (pass^5): 52% — 14 tasks flipped due to non-deterministic date parsing in LLM prose.
Headline pass@1 or pass@5 numbers mask flaky behavior; tracking pass^5 exposes exact steps needing deterministic helper code.
Questions and answers
What is the exact difference between pass@k and pass^k?
pass@k asks 'did at least one of k attempts succeed?' (great with test verifiers), whereas pass^k (tau-bench style) asks 'did all k attempts succeed consistently?'
Why does temperature=0 still produce variance in agent skills?
GPU floating-point non-determinism, parallel API batching, live web/search timestamps, and slight latency shifts still branch 10-step tool loops.
Does SkillMarket display multi-trial variance bars on rankings?
Yes, leaderboards publish both single-attempt pass rates and multi-trial consistency scores so brittle skills cannot hide behind lucky runs.
Related tasks in this category
See all in Internal Evals & Golden Test Suites-
Design a reproducible 30-to-100 case golden evaluation suite for your internal skills
Vibe-checking three prompts after editing SKILL.md hides regressions. Structure realistic happy-path, edge-case, and no-trigger test cases.
-
Calibrate LLM-as-judge grading rubrics against human reviewers for open-ended skills
Uncalibrated 1-to-5 LLM judges reward long, confident bullet lists even when facts are wrong. Build binary, human-aligned graders.
-
Build recorded HTTP and MCP fixtures to benchmark tool-use skills offline and deterministically
Live Slack, Jira, and search APIs mutate every hour and hit rate limits in CI. Replay realistic stateful fixtures cleanly.
-
Block pull requests in GitHub Actions when SKILL.md edits drop benchmark pass rates or spike tokens
Treat SKILL.md and helper script changes like production code: run fast smoke evals on PRs and post pass-rate + token-cost diffs automatically.
-
Turn failed production agent traces and user thumbs-downs into anonymized regression cases
Synthetic test prompts miss weird customer inputs. Build a clean flywheel from Langfuse, Braintrust, or OTel failure traces into golden tests.
-
Evaluate whether agent skills ask concise questions instead of guessing on vague tasks
Over-eager skills guess destructive parameters on vague prompts; timid skills ask 6 annoying questions when repo context already answers 5.