Your Eval Suite Needs Tests Too: A 10-Point LLM Eval Checklist

An LLM eval checklist for auditing the harness itself: 10 checks with pass/fail bars, from mutation testing to severity splits, plus a starter kit.

Clint JohnsonPublished 8 min read

Key takeaways

  • Seed known-bad outputs into your eval suite and require it to catch at least 90% of them, with zero misses on critical mutants.
  • Never average safety failures with style errors: report safety as a count gated at zero, using a scale like the CDS Hooks indicator or NCC MERP.
  • Check that your offline score separates accepted outputs from clinical-reason overrides, with an AUC of at least 0.7 per indicator level.

An eval suite that has never gone red tells you nothing about your model. It only tells you that nobody has tested the suite.

I treat the eval harness as software, and software needs tests. I run evals on MedScrub, MedHook and eSpiral. With MedScrub we set out to build an abstraction that is easy to use, so clinicians get the highest-quality answers out of AI built on consumer LLMs. That promise only holds if a bad answer can't get past the evals.

When an LLM sits behind a CDS Hooks service, what it produces is a card: a summary, an indicator, and sometimes a suggested action. A lazy suite can pass a card with a 10x dose and stay green the whole time. So the first question for any suite is simple: would it catch that dose?

Below are ten checks, each with a pass/fail bar. You can run them this week against evals you already have. Building evals is a different job, covered in Product Evals in Three Steps and The Honest Guide to LLM Evals. This post audits the suite you already have.

Start with mutation testing

Check 1 is the only check that asks the suite directly whether it can fail. It takes an afternoon, and the result tells you how far to trust the other nine.

Order matters after that. Deterministic code checks come before the judge. A judge that has never been shown to catch a wrong dose is an untested instrument, and tuning its prompt doesn't change that. I've written about why the judge lies. Write the code checks first. Add the judge after them, and calibrate it.

1. Mutation testing for LLM evals

Take outputs you know are good. Break them on purpose. See whether the suite notices.

Google surfaces surviving mutants during code review so developers act on them. For a CDS card, the mutants should be the failures that would hurt someone: a 10x dose, a dropped allergy, a card downgraded one severity level. These are the same failures claim-level citation checks exist to catch. Tag each mutant with a severity, and report critical misses on their own, because one averaged catch rate would bury them. You are testing the grader here, not the model. Adversarial prompts are a separate test, covered in the red-teaming post.

LEVELS = ["info", "warning", "critical"]

def downgrade(card):
    i = LEVELS.index(card["indicator"])
    return {**card, "indicator": LEVELS[i - 1]} if i > 0 else None

# scale_dose, strip_allergy, add_typo: write these against your own card schema.
MUTATIONS = [
    ("wrong_dose", "critical", lambda c: scale_dose(c, 10)),
    ("dropped_allergy", "critical", strip_allergy),
    ("downgraded", "critical", downgrade),
    ("summary_typo", "style", add_typo),
]

def audit(suite, good_cards):
    caught, critical_misses = [], []
    for card in good_cards:
        for name, severity, mutate in MUTATIONS:
            bad = mutate(card)
            if bad is None:
                continue  # mutation doesn't apply to this card
            hit = not suite.passes(bad)
            caught.append(hit)
            if severity == "critical" and not hit:
                critical_misses.append((card.get("uuid"), name))
    return sum(caught) / len(caught), critical_misses

The downgrade mutant drops a card one level, critical to warning or warning to info, and skips cards that are already at info. A mutant that leaves the card unchanged inflates your catch rate.

Bar: overall catch rate of 90% or higher, and critical_misses is empty. One critical miss fails the check.

2. Flaky LLM evals: pin, then measure

Pin the model version, the judge version, the prompt version and the seed. Then assume the pinning didn't work.

OpenAI's seed is best effort. Outputs can change when the backend system_fingerprint changes. Temperature 0 won't save you either. Thinking Machines ran 1,000 temperature-0 completions of one prompt and got 80 unique outputs, because server load changes the numerics.

So measure it. Rerun the suite five times on unchanged code. Any case that flips goes into quarantine, which is how Google handles flaky tests. Almost 16% of Google's tests showed some flakiness. Your suite probably isn't cleaner.

My support loop waits only on the real PR gates, never on the nightly job that's always red. A gate that's always red teaches everyone to ignore red.

Bar: zero flips in the gating tier across five reruns. Quarantined cases don't gate, and each one has an owner.

3. Building an eval dataset from production failures

Count what share of your cases came from real production failures and clinician overrides. Synthetic cases test what you imagined. Overrides test what actually happened.

CDS Hooks gives you this signal for free. The 2.0 spec defines a feedback endpoint where the EHR reports each card as accepted or overridden, with an optional overrideReason and userComment. Feed that straight into case intake.

Bar: as a starting point, more than half of your cases trace to a production failure or an override, and every case records its source. Below half, the suite mostly measures your imagination. A case with no known source doesn't count toward the share.

4. Eval saturation

A case that has passed every run for 90 days inflates your headline score. A common dose question that has gone green every night for a quarter isn't telling you anything new.

Move it out of the headline number and into a cheap regression tier. It still runs there, and it still blocks if it breaks. The headline score should only count cases that can still fail.

Bar: no case in the headline score has passed more than 90 days straight.

5. Separate safety and quality metrics

A 97% pass rate can hide a wrong dose under a pile of passing tone checks. Averages erase the one failure you care about. It's the same reason I score PHI redaction per identifier instead of overall.

Split reporting by severity, and use a scale someone else already defined. Every CDS Hooks card has a required indicator: info, warning or critical. The NCC MERP index runs from A to I. C–D means the error reached the patient without harm or needed monitoring, E–H means harm, and I means it contributed to a death. Categorical labels make this split easy. Averaged 1–10 scores make it impossible.

Bar: safety failures are reported as a count and gated at zero. Style can stay a percentage and trend over time.

6. LLM judge calibration on every change

The judge is a model too. A new judge model, judge prompt or rubric means a new instrument. Every time any of those changes, re-score a frozen, versioned, human-labeled set.

Shankar et al. call the underlying problem criteria drift: grading outputs changes the criteria you grade them by. Pin the judge separately from the system under test, because models tend to favor their own outputs.

Bar: agreement on the frozen set is no lower than at the last calibration, with zero disagreements on critical cases.

7. Eval data contamination and leakage

If an eval case sits in your few-shot examples, your RAG index or your fine-tune data, you're grading an open-book test.

The inflation is real and measurable. When researchers built GSM1k as a fresh mirror of GSM8K, some model families dropped by up to 13%. In a product it happens more quietly: someone pastes a strong eval case into the prompt as an example, because it worked.

Bar: zero overlap. In CI, hash every case input and check it against the few-shot files, the retrieval index and the fine-tune set. Exact hashes miss near-duplicates, so add a similarity pass on the index.

8. Every eval metric needs a threshold and an owner

Eval dashboards fill up with numbers nobody acts on. A 1–10 helpfulness score that drifts from 7.8 to 7.6 and changes no decision is noise you pay to compute.

Bar: every metric has a ship threshold, a block threshold and a named owner. Delete any metric that is missing one of the three.

9. Running LLM evals in CI: a fast tier and a slow tier

Run two tiers. The fast tier is deterministic code checks with no model in the grader, and it finishes in minutes on every commit. The slow tier uses the judge and runs nightly.

The CDS Hooks spec says a card summary should be under 140 characters, and indicator has three legal values. Neither check needs a judge.

def check_card(card):
    errors = []
    if card.get("indicator") not in {"info", "warning", "critical"}:
        errors.append("indicator")
    if len(card.get("summary", "")) >= 140:
        errors.append("summary_length")
    return errors

Package the fast tier as an Agent Skill: a folder with a SKILL.md that can bundle scripts. A coding agent then runs the checks before it claims a change is finished. Same principle as The Agent Doesn't Get to Say Done.

---
name: eval-fast
description: Run the deterministic eval tier before calling any change done.
---
Run `python evals/fast.py`. Report failures verbatim. Never edit a case to make it pass.

Bar: the fast tier finishes in under five minutes, runs on every commit, and an agent can invoke it.

10. Do your offline evals predict production?

This check tells you whether the other nine matter.

Take past production outputs that already have recorded outcomes. CDS Hooks feedback tells you whether each card was accepted or overridden. Edits come from your own logging, not from the spec. Run those outputs through the offline suite and ask one question: does the offline score separate what clinicians accepted from what they rejected?

Don't use raw override rates. A 2006 JAMIA systematic review found clinicians overrode drug safety alerts in 49% to 96% of cases. Much of that is alert fatigue, not a verdict on correctness, which is why I want hooks that say nothing unless they have to. Keep only overrides with a clinical overrideReason, and stratify by indicator. Then do the same for edit rates. The drift post covers how to collect override and edit rates.

Bar: compute the AUC of the offline score predicting a clinical-reason override, separately for each indicator level. An AUC of 0.5 is a coin flip, so start with a bar of 0.7. Below that, the suite isn't predicting what clinicians do. When the suite and the clinicians disagree, trust the clinicians and fix the suite.

A starter eval suite that simply works

If you have nothing yet, don't build all ten checks. Build this:

  • 30 cases from real overrides. Each case records its source.
  • Code checks first. Schema, indicator, summary length, required fields, dose units.
  • One judge. Calibrate it against a small human-labeled set, then pin it.
  • Severity-split reporting. Safety as a count, style as a percentage.
  • A CI gate. The fast tier blocks the merge.

Then run check 1 against it. Break 30 good outputs and see what gets through. That afternoon will tell you more about your suite than a quarter of green dashboards.

Questions people ask

How do I know if my LLM evals are any good?

Mutation-test them. Break known-good outputs on purpose, for example with a 10x dose, a dropped allergy or a card downgraded one severity level, and tag each mutant by severity. Require the suite to catch 90% or more, with zero critical misses.

Why are my LLM evals flaky even at temperature 0?

OpenAI's seed is only best effort, and Thinking Machines showed that server load changes the numerics even at temperature 0. Rerun the suite five times on unchanged code and quarantine any case that flips.

What should an LLM eval checklist include?

Mutation testing, determinism, case provenance, saturation, a severity split, judge calibration, leakage checks, metrics with thresholds and owners, a fast tier and a slow tier, and a check that offline scores predict clinician overrides.

How many eval cases do I need to start?

Start with 30 cases drawn from real overrides, each with its source recorded. Add code checks first, one calibrated and pinned judge, severity-split reporting, and a CI gate where the fast tier blocks the merge.