Skip to content
hamelsmu avatar

Validate Evaluator

Calibrates an LLM judge against human labels using data splits, TPR/TNR, and bias correction.

CCM score
85 of 100
skills.sh installs
752
GitHub stars
1.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full validation loop: dev/test data splits, TPR and TNR measurement, disagreement inspection, and iterative prompt refinement
  • Includes a Rogan-Gladen correction for estimating true pass rates on unlabeled production traces, with bootstrap confidence intervals
  • Enforces a stopping rule of TPR and TNR above 90% on dev, with a single final measurement on a held-out test set
  • Designed for use after write-judge-prompt when verifying judge alignment; not for code-based evaluators, which need standard unit tests

Install

$ npx -y skills add hamelsmu/evals-skills --skill validate-evaluator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Validate Evaluator

Calibrate an LLM judge against human judgment.

Overview

  1. Split human-labeled data into train (10-20%), dev (40-45%), test (40-45%)
  2. Run judge on dev set and measure TPR/TNR
  3. Iterate on the judge until TPR and TNR > 90% on dev set
  4. Run once on held-out test set for final TPR/TNR
  5. Apply bias correction formula to production data

Prerequisites

  • A built LLM judge prompt (from write-judge-prompt)
  • Human-labeled data: ~100 traces with binary Pass/Fail labels per failure mode
    • Aim for ~50 Pass and ~50 Fail (balanced, even if real distribution is skewed)
    • Labels must come from a domain expert, not outsourced annotators
  • Candidate few-shot examples from your labeled data

Core Instructions

Step 1: Create Data Splits

Split human-labeled data into three disjoint sets:

Details

Repository
github.com/hamelsmu/evals-skills
Categories
AI Agents & LLM Apps, Testing & QA
First seen
Jun 3, 2026

Questions

What does the validate-evaluator skill do?

The validate-evaluator skill calibrates an LLM judge against human labels using data splits, TPR and TNR measurements, and bias correction. It is meant for use after writing a judge prompt, when you need to verify alignment before trusting the judge's outputs. It does not apply to code-based evaluators, which should be tested with standard unit tests.

How do I install the validate-evaluator skill?

Run npx -y skills add hamelsmu/evals-skills --skill validate-evaluator -y in your project. Once installed, the agent can split your human-labeled data into train, dev and test sets, then measure the judge's TPR and TNR on them. It can also apply the bias correction formula to production data.

What do I need before using validate-evaluator?

You need a built LLM judge prompt, ideally one written with the write-judge-prompt skill. You also need about 100 traces with binary Pass or Fail labels from a domain expert, balanced near 50 of each. Candidate few-shot examples from that labeled data are also required.

Which skills lead the AI Agents & LLM Apps category, and where does validate-evaluator stand?

In the AI Agents & LLM Apps category, validate-evaluator sits alongside microsoft-foundry, azure-ai, and several google-agents-cli skills. Its distinct focus is calibrating LLM judges against human labels with TPR and TNR and correcting biased pass rates.

Can validate-evaluator estimate a true success rate with a confidence interval?

Yes, the skill includes an optional Rogan-Gladen correction that turns a raw judge pass rate into a corrected estimate of the true success rate. It also computes a bootstrap confidence interval around that estimate, and can use the judgy package for the same calculation.

More from hamelsmu/evals-skills

All 7

Similar to Validate Evaluator

More AI Agents & LLM Apps