WEBSITES · APPS · AI AGENTSSEO · AEO · GEO · GOOGLE BUSINESS PROFILESOCIAL MEDIA · GOOGLE & META ADSWHATSAPP AUTO-REPLY IN UNDER 60 SECONDSCLINICS · SCHOOLS · JEWELLERS · REAL ESTATE · 40 TRADESJAWAB, OUR WHATSAPP CRMFREE AUDIT, ALWAYSDELHI · PAN-INDIAWEBSITES · APPS · AI AGENTSSEO · AEO · GEO · GOOGLE BUSINESS PROFILESOCIAL MEDIA · GOOGLE & META ADSWHATSAPP AUTO-REPLY IN UNDER 60 SECONDSCLINICS · SCHOOLS · JEWELLERS · REAL ESTATE · 40 TRADESJAWAB, OUR WHATSAPP CRMFREE AUDIT, ALWAYSDELHI · PAN-INDIA
Guide · AI engineering

A pre-launch evals checklist for AI features

Someone tries five prompts in a notebook, the answers look fine, it ships. Then the model updates and nobody can tell whether quality moved.

In short

Before shipping an LLM feature you need a versioned golden set of 30–200 real examples with graded answer keys, a one-command eval harness that reports a single quality number against a baseline, the eval running in CI on every prompt and model change, a prompt-injection probe set, and a per-request cost ceiling. Treat the first sixteen items below as release gates: if you cannot honestly check them, the feature is not ready for real users.

Total checks
23
Release gates
First 16
Golden set size
30–200 real examples
First-time setup
~1.5–2 weeks

1. The golden set

  • A written golden set of 30–200 examples — real inputs and real expected outputs, taken from actual users, documents and edge cases rather than generated.
  • A graded answer key on every example: a regex, contains or exact-match assertion, or a rubric a model-as-judge can grade reliably.
  • The golden set versioned in git as JSON or YAML, in the same repository as the code. Not in a doc, not in a wiki.
  • Long-tail coverage: empty inputs, adversarial inputs, other-language inputs, the 99th-percentile-long input, the user who pasted an entire email thread.

2. The eval harness

  • The full golden set runs with one command. No notebooks and no manual steps.
  • The harness produces a single quality number — pass-rate, F1, whatever fits. Pick one and report it.
  • It compares against a baseline: last week, last release, or production. Without a comparison, a score means nothing.
  • It records latency and cost per example. A model 1% better and four times slower is a regression.

3. Regression and CI

  • Every pull request touching a prompt runs the eval in CI, blocking merge if the score drops beyond a set threshold.
  • Every model change runs the eval. When you move between model versions, measure it rather than trusting the release notes.
  • Every prompt and output is logged in production with user ID, request ID, model and a thumbs-up/down hook. Sample if volume is high.
  • New examples flow back from production — this week's best and worst real interactions become next week's golden set.

4. Safety

  • A prompt-injection probe set: inputs that try to override the system prompt, exfiltrate it, or make the model act outside its remit. Run on every release.
  • A refusal-handling test — inputs the model should refuse, where the system handles the refusal cleanly rather than surfacing a confusing error.
  • PII redaction tested end to end, asserting that personal data never crosses the boundary you promised.
  • A written misuse policy stating what the system is and is not for, visible to users and enforced in the system prompt.

5. Operations

  • A per-request cost ceiling: a hard output-token cap and a smaller-model fallback.
  • A per-user, per-day rate limit, for cost and for fairness.
  • An on-call runbook: what happens when the API is down, when responses take thirty seconds, when the model returns junk. Written and tested.
  • Model-drift monitoring — run the eval on a schedule against the live API, so a silent upstream change is found before users find it.

6. Product

  • A graceful failure path. 'The assistant could not answer that — here are three things to try' beats a 500.
  • The right downstream metric: task completion, time to resolution, retention. Eval score is a leading indicator, not the goal.
  • A kill switch — a flag that disables the feature without a deploy, for when something is on fire.

How to use the list

Treat items one to sixteen as release gates. If you cannot check them, the feature is not ready to go in front of a real user.

Items seventeen to twenty-three can ship without, but expect to add them within a few weeks of launch — usually right after the first incident that would have been caught by one of them.

The whole list takes roughly one and a half to two weeks of engineering time to set up once. After that it is a multiplier on every prompt change you ever make.

Questions people ask

How many examples does a golden set need?

Thirty to two hundred real examples is enough for most features. Coverage of the long tail matters far more than raw count — a hundred examples spanning the odd cases beats a thousand near-identical ones.

Can an LLM grade its own evals?

Model-as-judge works where the rubric is explicit and the judge is a different model or a different prompt from the one under test. For anything with an objectively correct answer, prefer an exact-match or regex assertion.

Do evals need to run on every prompt change?

Yes, and that is the point of wiring them into CI. Prompt edits look harmless and are the most common cause of silent quality regressions.

How often should evals run after launch?

On every prompt or model change, plus on a schedule — weekly is enough — against the live API, so an upstream model change is caught before users notice it.

Read next

Book the free audit

90 minutes. We map where your enquiries die. Yours either way.

Book it →

Ask on WhatsApp

Fastest reply. +91 89203 04337, Mon–Sat, 10am–7pm IST.

Chat now →

Prefer email?

Send your situation. We reply within one working day.