eval-set-builder
Skill0 starsChanged 3 months agoMITView on GitHub
Build an evaluation set from real traffic and check whether it is large enough to support the error budget being claimed. Use when someone wants to measure model accuracy, certify an error rate, decide if a model is safe to deploy, or asks "how many test cases do we need". Refuses to certify a budget the sample cannot support.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- tomoyaf/aiskillpod-skillstheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- tomoyaf/aiskillpod-skills★ 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 repository8 other files it gives its agents.
- automation-break-evenSkill
- baseline-before-modelSkill
- llm-judge-auditorSkill
- model-bakeoffSkill
- prompt-and-grader-auditSkill
- skill-actually-worksSkill
- skill-degradation-checkSkill
- skill-safety-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Run certifies(errors, n, budget) and report upperBound, not the point estimate.
- Distinctive: line 29
Get the budget first: Ask what error rate the process can absorb before anyone picks a sample size.
- Distinctive: line 38
Check for contamination: If items could plausibly be in a model's training data, say so.
- Distinctive: line 40
Get labels you can defend: If a field is a judgement call, it needs two annotators and an agreement statistic before it goes in a composite …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Building an eval set that can actually answer the question
Most eval sets are assembled to a round number. Someone picks 50 or 100 items because those feel like enough. Then a 2% error budget gets claimed off a sample that could never have detected a 2% error rate in the first place.
The refusal
If the sample is too small to certify the budget, say so and stop. Do not report a pass. "No errors found in 60 items" is a fact about the sample, not about the model.
Rule of three: with zero observed errors in n items, the 95% upper bound on the true error rate is roughly 3/n. Certifying "under 2%" therefore needs about 150 clean items. Under 1% needs 300.
node lib/stats.ts # see certifies() and minItemsToCertify()Run certifies(errors, n, budget) and report upperBound, not the point estimate.
Procedure
- Get the budget first. Ask what error rate the process can absorb before anyone picks a sample size. If nobody can answer, that is the finding. Stop there.
- Compute the floor.
minItemsToCertify(budget). State it before any data is collected, so the number is not negotiated after the fact. - Sample from real traffic, not from imagination. Generated or hand-written items are easier than production and will overstate accuracy. If only synthetic data is available, label the whole result as non-evidential.
- Stratify by the slices that matter (channel, language, document type, region). An aggregate that hides a collapsed slice is worse than no number.
- Check for contamination. If items could plausibly be in a model's training data, say so. Public benchmarks almost always are.
- Get labels you can defend. If a field is a judgement call, it needs two annotators and an agreement statistic before it goes in a composite score. Grade it, show it, exclude it from the headline until then.
Output contract
Report every one of these, in this order:
- error budget, and where it came from
- items needed to certify it, items actually collected
- observed errors, and the Wilson upper bound
certified: true | false- slices, with per-slice counts, flagging any slice too small to speak for itself
- fields excluded from the composite, and why
What this prevents
A model gets deployed on "99% accurate, no errors in our test set", where the test set had 40 items. The honest version of that sentence is "our error rate is somewhere under 7%, and we cannot see anything finer than that yet."
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.

