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

Evaluation GoalsBeta

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 goal states what good enough looks like for a pipeline: which metric to read, what a single session must reach to pass, and how many sessions must pass.


A metric gives you a value for every session. A goal turns that value into a pass or fail rule, so you can tell whether the pipeline meets your bar. A goal reads one metric from one Evaluator in your workspace. You define goals per pipeline, so two pipelines can hold different goals on the same Evaluator. Use goals to check whether a pipeline meets your quality bar before you rely on it, and to see which pipelines fall short.

The Pass Rule​

The pass rule decides whether a single session passes. It follows how the metric is declared:

  • Score metric: A session passes when the mean of its values is at or above the goal's threshold if the score declares that higher is better, or at or below it if the score declares that lower is better.
  • Label metric: A session passes when every one of its rows has one of the goal's passing values.

The goal reads the direction from the metric. If a later version of the metric flips it, the goal flips with it.

Minimum Pass Rate​

The minimum pass rate is the share of sessions that must pass for the goal to be met, from 0 to 1. The default is 1, which means every session must pass. The goal is met when the number of passing sessions divided by the number of sessions with a value is at least the minimum pass rate. Sessions where the metric was not applicable, ended in error, or hasn't finished don't count either way.

Managing Goals​

You find all the Evaluation goals of a pipeline on its Evaluation tab. The list puts Missed goals first, then Met goals, then the rest, so what needs attention is at the top. If the pipeline has no goals yet, the tab shows only two ways to start, Get started with AI and Import from another pipeline, and a list of ready-made goals. New Evaluation goal and Resources appear after you add the first goal, and Evaluate now stays disabled until then. To start with the AI Assistant, see Start with Suggested Evaluation Goals. To copy goals from another pipeline, see Import Evaluation Goals from Another Pipeline. To define a goal yourself, see Define Evaluation Goals on a Pipeline.

To judge the goals, click Evaluate now. While a run is going, the button shows its stage and the elapsed time:

  • Queued: The run is waiting to start.
  • Preparing N Sessions: The platform is getting the Sessions ready for judging. The button doesn't fill yet.
  • Judging done/total: The platform is judging. A judgment is one Session judged by one Evaluator, so the total is the number of Sessions times the number of Evaluators. Judgments reused from earlier runs count as done right away, so the bar can jump at the start.

Hover over the button to see how many judgments have errored, are running, and are waiting for a free slot. For where a run takes its Sessions from, see Evaluation Run Sources. To browse past runs, Experiments, and Datasets, see Evaluation Run History.

Statuses​

When you evaluate a pipeline's goals, each goal gets one of these statuses. By default, the evaluation uses the sessions from the last 7 days:

  • Met: The share of passing sessions reaches the minimum pass rate.
  • Missed: The share is below the minimum pass rate.
  • Not enough traffic: Fewer than 10 sessions had a value the goal could judge, so the goal can be neither met nor missed. Send more traffic to the pipeline and evaluate again.
  • Not evaluated yet: The goal hasn't been evaluated.
  • Evaluating…: An evaluation is running. A goal that already has a result keeps it until the run finishes. To follow the run, watch the progress on the Evaluate now button.
  • Couldn't evaluate: The last evaluation failed. Click Evaluate now to try again.

A goal can also carry a Stale tag. It means the selected evaluation can't answer the goal as it is now, for example after you changed its rule or saved a new version of its Evaluator. Saving a new Evaluator version doesn't start an evaluation, so its goals stay Stale until you evaluate again. Click Evaluate now beside the tag to update the goal, also when its card is folded.

Trend Across Runs​

To see whether a pipeline is getting better or worse against a goal, unfold the goal's card. Beside the passing rule, the card shows how the goal's value changed over its past runs:

  • One run: The card shows the result as a number with its date, for example "92% of Sessions passed on 1 Nov."
  • Two or more runs: The card shows a line chart with one point per run. A dashed line marks the goal's target, which is the minimum pass rate. Each point is marked Met or Missed, so you can see which runs reached the target. Hover over a point to see its date and value.

Percentages are rounded down, so a run that falls short of the target never appears on or above the target line.

A run needs at least 10 Sessions with a value to count. Runs with fewer appear as gaps in the line instead of as a point, and a note under the chart says how many were left out. If only one run has enough Sessions, the card shows it as a number, not a chart. If no run has enough Sessions, no trend appears.

A past run opens its scoring matrix in a page that slides in, so you can see how each session was scored.

Goals in Deployment Gates​

A Deployment Gate can hold a service revision until the pipeline's goals are met. See Evaluation Goal Checks in Deployment Gates.