Evaluation Run SourcesBeta
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 the Evaluation goals you pickevery 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.
Pick the Evaluation Goals an Experiment Judges
An Experiment is often about a few goals. To compare two prompts on Quality without waiting on your Cost and Latency goals, pick which of the pipeline's Evaluation goals the Experiment judges. In the Run an Experiment dialog, the Evaluation goals panel lists the goals by category, and every goal is picked by default. Expand a category to change which of its goals run.
You can pick any subset, Safety goals included, because an Experiment gates nothing. Pick at least one goal, or you can't start the Experiment. To see the results of the run, pick the Experiment in the run select (see Choose Which Run You See). The size check counts only the goals you pick, so a smaller selection also makes a smaller run. Goals that you delete while the dialog is open are dropped from the selection.
The picker appears only for Experiments: in the Run an Experiment mode of the Evaluate now dialog and in the New Experiment dialog of the Experiments list, and only when the platform can preview runs. Evaluate goals mode always judges every goal.
Related Information
Was this page helpful?