eval-harness

Define, run, and grade evaluation suites for agent and LLM features over time.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/joydai2026-del/skills --skill eval-harness-joydai2026-del
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: eval-harness
Source: https://github.com/joydai2026-del/skills/tree/main/eval-harness
Command: npx skills add https://github.com/joydai2026-del/skills --skill eval-harness-joydai2026-del

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agent and LLM features are probabilistic, so a simple unit test cannot answer "does this still work?" This Skill provides a structured workflow for defining eval suites, running them against your system, grading outputs, and tracking quality over time with statistically defensible numbers instead of gut feel. ## Core Features & Use Cases - Eval Suite Definition: Create YAML suites with test cases, tags, and graders (exact match, contains, regex, JSON schema, numeric range, custom shell, model-based with rubrics, or human review). - Statistically Honest Reporting: Split results into hard gates (100% required) and quality scores, report every rate with a sample size N and Wilson 95% confidence interval, and surface the worst slice instead of a blended average. - Regression & Significance Testing: Maintain golden-set baselines, flag regressions after changes, and use McNemar's paired test to verify whether a before/after improvement is real or noise. - Use Case: You changed a routing prompt and want to ship it. Run the full suite, confirm zero regressions, and check McNemar on the fixed test set before claiming the 3-point accuracy gain is real. ## Quick Start Ask the agent to create an eval suite for your agent feature with at least 10 test cases covering happy paths, edge cases, and failures, then run it and generate a report.

Frequently Asked Questions about eval-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an eval suite for an LLM agent?▼

Create a YAML file under evals/ defining cases with inputs, expected outputs, and graders such as exact_match, contains, regex, or model_based with a rubric. Then write a runner script that executes each case against your system and writes JSONL results.

How many test cases do I need for a reliable pass rate?▼

About 100 cases gives a ±10% Wilson confidence interval, which is the practical floor for quantifying a rate; roughly 385 cases gives ±5%. Ten cases is only a coverage smoke test and cannot support a trustworthy percentage claim.

What is a good pass rate for an LLM eval?▼

There is no universal good rate. Hard gates like safety and valid output format require 100% with zero violations, while quality criteria like tone and completeness are tracked as weighted scores where 90-95% is a common convention, not a rule.

How do I know if an eval improvement is statistically significant?▼

Use McNemar's paired test on the same fixed test set, counting cases that flipped from pass to fail versus fail to pass. Comparing two raw percentages is misleading because only flipped cases carry information, and small moves are usually noise.

When should I use model-based grading instead of exact match?▼

Use model-based grading for open-ended LLM outputs where exact matching is too rigid, always with an explicit rubric and a score threshold. Calibrate the judge against human labels using Cohen's kappa before trusting its scores to gate anything.

Why is a 100% pass rate on an eval a warning sign?▼

A perfect score usually means the eval is too easy, saturated, or leaked into training data. By the rule of three, zero failures in 20 cases still allows a true failure rate up to about 15%, so add harder and adversarial cases.