Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

Evaluation Run SourcesBeta

Beta
This is coming — this page describes a feature that's still being rolled out and may not be available to you yet.

An evaluation run judges Sessions against a pipeline's Evaluation goals. This page explains where those Sessions come from, how big a run can be, and how an Experiment compares two versions of the pipeline.

Sources of an Evaluation Run​

Click Evaluate now to open a dialog that asks first what to run:

  • Evaluate Evaluation goals: Judge every goal on the Sessions you pick.
  • Run an Experiment: Run every goal on two versions of the pipeline over the same Sessions and compare them.

In both modes, you then choose where the Sessions come from. This lets you check a draft under the same rules as live traffic, or on a fixed set of Sessions:

  • A time window: Today, Last 7 days, Last 30 days, or a Custom range. The dialog shows the Session count of the window, and you can sample the window to fewer Sessions. An untouched Last 7 days is the default run.
  • A Dataset: Pick an existing Dataset, or build a new one. To build a new one, search the pipeline's Sessions, select the ones you want, and give the Dataset a name. The Dataset keeps those Sessions, so you can evaluate the same ones again later. The search covers the newest 200 Sessions of the pipeline.

If the Dataset has test cases with no Session recorded for this pipeline, for example test cases from another pipeline, the run replays them on the draft, and the dialog says so. The run then needs a draft.

The Session count, sampling, and replay options appear only when the platform can preview runs.

Size a Run Before You Start It​

A run is limited in how many judgments it can make, so it helps to know the size before you start. A preview counts, for a source, without starting anything or locking the pipeline:

  • How many Sessions a time window holds, counted up to the window ceiling of 500, or how many usable test cases a Dataset has.
  • How many of them the run would judge, after any sampling (spread across the window, not the newest) and the per-run limits.
  • How many judgments that makes, which is the Sessions judged times the number of distinct Evaluators across the goals, and the limit that applies.
  • For a Dataset, whether some test cases have no Session recorded on this pipeline, so they are replayed on the draft.
  • For an Experiment, how many replays each side that runs a version would start.

The preview and the run use the same limits, so the count you see is the count the run judges. A preview doesn't refuse an over-limit run. The run itself does, and a window or a new Dataset is trimmed to stay within the limit.

To judge fewer Sessions of a time window, set a maximum number of Sessions. When the window holds more Sessions than that number, the run judges a sample spread across the window, still within the per-run limits. To judge only recent Sessions, pick a shorter window. A window run with a maximum counts as a custom run, even over the default 7 days, so it doesn't feed the default verdicts or the trend.

Experiments​

An Experiment compares two sides:

  • Baseline: The version you compare from. It starts as the draft, which is the pipeline's draft version. If the pipeline has no draft, pick the Baseline yourself.
  • Candidate: The version you compare with the Baseline. You pick it from the pipeline's versions.

In the dialog, each side has a label you edit in place and a version select. Labels tell the sides apart in the cards and in the run select, for example "Shorter prompt". Labels are at most 64 characters. The two sides can't use the same version.

An Experiment also sets how it replays the Sessions. The replay mode decides what each replay sends. It defaults to the first user message of each Session. Replays per test case sets how many Sessions are scored for each test case and side, from 1, the default, up to the maximum the platform allows. Replaying each test case more than once shows how much a result varies. Because every extra replay adds judgments and replays, a time window keeps that many times fewer test cases, so each side stays within the replay and scoring limits.