Skip to content
All topics

Domain

Testing and evaluation

Testing nondeterministic systems: evaluation datasets, graders, regression suites and online evaluation.

0 of 10 articles published. Topics are listed in reading order: each comes after the topics it builds on.

Evaluation foundations

Why AI features need evaluations and what to measure.

  1. Why AI features need evaluationsComing soon

    Model output varies, so quality has to be measured on many examples rather than checked by eye.

    Fundamentals · Beginner

  2. Building an evaluation datasetComing soon

    Collecting representative and hard cases from real use, labelling expected results, and keeping the set versioned.

    Implementation · Intermediate

  3. Choosing evaluation metricsComing soon

    Exact match, rubric scores, pass rates and task success, and matching each metric to what users care about.

    Fundamentals · Intermediate

Graders

Who or what decides whether an output is good.

  1. Code-based gradersComing soon

    Deterministic checks for format, schema, required facts and forbidden content: cheap, fast and repeatable.

    Implementation · Intermediate

  2. Using a model as a judgeComing soon

    Rubric-based grading by a model, checking the judge against human labels, and its known biases.

    Implementation · Advanced

  3. Human evaluationComing soon

    Clear rubrics, reviewer agreement and sampling, for the judgments neither code nor models make reliably.

    Operations · Advanced

Evaluation in practice

Running evaluations as part of shipping.

  1. Regression suites for prompts and modelsComing soon

    Re-running a fixed set on every prompt, model or retrieval change and comparing against the last good run.

    Implementation · Advanced

  2. Running evaluations in CIComing soon

    Fast evaluation subsets on pull requests, full runs before release, and handling cost and flakiness.

    Configuration · Advanced

  3. Evaluating live trafficComing soon

    Grading samples of production output continuously to catch drift that offline sets miss.

    Operations · Production

  4. A/B testing AI changesComing soon

    Comparing prompt or model variants on real users with sound metrics, sample sizes and guardrail metrics.

    Advanced engineering · Production