GTM Engineering term, AI and agents

Evals

Evals are structured tests that run an AI model or workflow on a fixed set of inputs and score its outputs against expected answers or quality criteria.

Also called: AI evals, LLM evaluations, model evaluation, eval set

Evals sits under every stage: it's part of the data and systems the whole funnel runs on, near related terms like Prompt engineering, Hallucination and Guardrails (the blue squares).

Evals are repeatable tests for AI workflows: you run a fixed set of inputs through a prompt, model or agent and score the outputs against known good answers or a rubric. They are how you know whether a prompt change, a new model or a new data source made your AI step better or quietly worse.

How it works

An eval has three parts.

  1. A dataset. Real inputs with expected outputs. For a lead classifier, that is 150 past leads with the correct tier. For an email writer, it might be 80 prospect records with rules each email must follow.
  2. Graders. How each output gets scored:
    • Exact match for categories and fields (did it pick tier B?).
    • Code checks for format, length, banned words, valid URLs, required fields.
    • Model graders (LLM-as-a-judge) for things like tone or "does every claim appear in the source?"
    • Human review on a sample, to calibrate the other graders.
  3. A score and a threshold. For example, "ship only if accuracy is at least 90% and zero emails contain an unsupported claim."

Run evals before every change to a prompt, model or workflow, and on a sample of live production output each week. The second habit is what catches drift, which is part of good observability.

Example

Say a team's AI step writes the first line of cold emails. Their eval set is 100 prospect records with three grader rules: under 25 words, mentions a fact present in the input data, and contains no phrases from a banned list.

Prompt v1 scores: 94 pass length, 81 pass grounding, 97 pass banned words. Overall pass rate (all three rules): 76 of 100. They switch to a cheaper model to save money; the eval drops to 64 of 100, mostly on grounding. That catches a hallucination regression before it reaches 8,000 prospects. They keep the cheaper model but add a fact-extraction step first; the score climbs to 88. At, say, 12% of failing lines going out unnoticed, the original drop would have meant roughly 960 more bad emails a month at 8,000 sends.

Evals vs A/B testing

A/B testing tells you which version wins with real buyers, measured in replies or conversions, and needs live traffic and time. Evals tell you whether a version meets your quality bar before anyone sees it, and run in minutes. Use evals as the gate and A/B tests as the judge. Never A/B test a variant that fails your eval set.

Our position: an AI step that touches buyers or your CRM without an eval set is unfinished. Start with 50 labeled examples and the two or three rules that must never break. That beats a sophisticated framework nobody updates.

Common mistakes

  • An eval set made only of easy, typical cases, so it passes while edge cases fail in production.
  • Trusting an LLM judge that was never checked against human labels.
  • Scoring the final output only, when a multi-step chain needs per-step evals to find the weak link.
  • Never adding new failures from production back into the dataset.
  • Treating one aggregate score as the truth and hiding the specific rule that is failing.

FAQ

How many examples do I need in an eval set?

For most GTM tasks, 50 to 200 labeled examples is enough to catch real regressions. Include the hard and weird cases on purpose, not just a random sample. Grow the set every time production surfaces a new failure.

What is LLM-as-a-judge?

It means using a language model to grade another model's output against a rubric, such as whether an email states a claim not found in the source data. It scales well for subjective qualities but should be checked against human grades before you trust it.

Are evals only for engineers?

No. The most valuable part, deciding what good output looks like and labeling examples, is usually done by the marketer, rep or ops person who owns the result. Engineers make the tests run automatically.

See all AI and agents terms ↳

Used in these articles