Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Validates LLM judge prompts against human-labeled data using TPR/TNR metrics and train/dev/test splits.
Use this skill ↓52% 96%+43 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 12 of 23 without it.
When selecting few-shot examples to insert into an LLM evaluator prompt template during prompt engineering, which dataset split can examples be drawn from?
Restricts few-shot selection exclusively to the train split
3 of 3 safety checks passed
An LLM judge is only useful if it agrees with human judgment. This skill walks you through calibrating a judge against human-labeled data using True Positive Rate (TPR) and True Negative Rate (TNR) metrics. Do this before trusting any judgeVerdict(), judgeScore(), or judgeLabel() evaluator in your eval suite.
.prompt file — Written following output-eval-judge-promptground_truth.evals.<evaluator_name>.verdict: pass or failThis process applies only to LLM-based judges. For code-based Verdict.* evaluators, write unit tests instead.
Split your labeled datasets into three groups:
| Split | % of Data | Purpose | Example (100 datasets) |
|---|---|---|---|
| Train | 10-20% | Source of few-shot examples in the judge prompt | 15 datasets |
| Dev | 40-45% | Iterate on judge prompt, measure TPR/TNR | 42 datasets |
| Test | 40-45% | Final held-out measurement, run once | 43 datasets |
Use a naming convention or subdirectories to separate splits:
Option A: Name prefixes
tests/datasets/
├── train_formal_pass_01.yml
├── train_casual_fail_01.yml
├── dev_technical_pass_01.yml
├── dev_ambiguous_fail_01.yml
├── test_simple_pass_01.yml
├── test_contradictory_fail_01.yml
└── ...
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.