Review and Re-Run Optimization EvaluationsBeta
Open the baseline's evaluation to see how it scored on training and held-out conversations, and check how each suggestion's quality compares with the baseline.
An evaluation scores the conversations of a run with the evaluators of the Service's Experiment. Re-run the evaluation of the baseline or of a suggestion when a metric came back not applicable or failed, or when you want every conversation judged again.
About This Task
An optimization run splits its conversations into two halves. The optimizer is shown the training half. The held-out half is kept back to measure the baseline and each suggestion. When you read an evaluation, knowing which half a conversation belongs to tells you whether a score comes from conversations the optimizer saw or from conversations it never saw.
The run scores the baseline and each suggestion (candidate) with the evaluators of the Service's Experiment. Some evaluators answer not applicable on conversations where their question doesn't apply, for example a verification metric on turns where the pipeline didn't verify anything.
A re-run doesn't replay any conversation, so it's cheaper than starting a new run. The baseline and the suggestions keep the answers they already produced. A re-run uses the evaluator versions the run was pinned to when it started, so the new scores stay comparable with the earlier ones.
To learn what an AI Operator is and how runs work, see AI Operator.
How Quality Is Compared
The platform compares a suggestion with the baseline on one composite quality score. The composite is the mean of the score Metrics that both sides scored, each normalized to a range of 0 to 1. Label Metrics never count. Because the composite covers only what both sides scored, a good suggestion isn't rejected because the baseline and the suggestion scored different conversations. A baseline with some failed evaluations is judged on the evaluations that succeeded. To learn more, see the fair quality comparisons in AI Operator.
How Quality Gates Work
Each suggestion is gated on its composite quality, against the baseline's composite and the allowed quality drop you set on the AI Operator goal. A suggestion fails when its composite falls below the baseline's composite reduced by that percentage. For example, with an allowed drop of 20%, a baseline composite of 0.80 can fall to 0.64. To learn how the gates work, see AI Operator Quality Gates. To set the allowed drop, see Set Up an AI Operator for a Service.
Check the composite quality and gate status of each suggestion
- Failed: the composite fell below the floor and the suggestion is blocked.
- Warning: an individual Metric scores below the baseline while the composite stays above the floor. The suggestion isn't blocked, so check that Metric before you use the suggestion.
- Not measured: the Metric has no score where the composite needs one, for example because the evaluator answered not applicable on every conversation.To get a score, re-run the evaluation.
If the baseline or a suggestion has no score at all, quality can't be measured and the suggestion fails the gate.
What Happens During a Baseline Re-Run
- The platform judges every conversation of the baseline again, on both the training and held-out halves. Test cases the run left out stay out.
- The baseline's quality returns to pending and is filled in the next time the run is read.
- Suggestions that were scored on a whole replay are compared again with the new baseline scores, and the run is reopened at the evaluating step.
- A suggestion with a finished evaluation keeps it.
- A suggestion whose evaluation failed while it was being scored, or that expired, is evaluated again.
- If the run has no suggestion to compare, for example because the baseline evaluation failed or timed out, the run stays as it ended. After the scores are in, you can ask the AI Operator to suggest again.
Prerequisites
To re-run an evaluation:
- The run has ended and is the newest run of the AI Operator goal.
- No suggestion of the run has been accepted.
- For the baseline: the baseline was evaluated.
Open the Baseline Evaluation by Split
To see how the baseline scored on each conversation, and which half each conversation belongs to, open the baseline's evaluation.
- Open the Service and go to its AI Operator page.
- In the baseline card (What it costs today), find the quality section.
- Click View full evaluation.
A conversation is named after its test case, or after its first query if it has no test case. If the run left a test case out, it has no half and shows its name alone. When the baseline was replayed on a test case, the replay carries the same label as the original conversation.
Re-Run the Evaluation of a Suggestion
Re-run a suggestion's evaluation when its scoring failed or expired, or when you want every conversation judged again. The AI Operator doesn't replay the suggestion. It judges the replays it already has.
On the AI Operator Page
Re-run evaluation is offered on a suggestion card when both of these are true:
- Every conversation of the suggestion was replayed.
- The suggestion was scored (tested or recommended), expired, or failed while scoring.
To re-run the evaluation:
- On the AI Operator page, open the run that contains the suggestion.
- On the suggestion's card, click Re-run evaluation.
- Wait for the scores to appear on the card, then check the suggestion's composite quality and gate status as described in How Quality Gates Work.
A suggestion that failed before its replay was complete doesn't offer the button, because there is nothing to judge yet.
Re-Run the Evaluation of the Baseline
Re-run the baseline's evaluation when you want the baseline scored again, for example after you change an evaluator in the Experiment. The baseline's configuration, conversations, and replays don't change. Only its scoring is repeated, and the run's suggestions are compared with the new baseline scores.
On the AI Operator Page
Re-run evaluation is offered next to View full evaluation when the Prerequisites are met and the baseline's scores are in.
To re-run the evaluation:
- Open the Service and go to its AI Operator page.
- In the baseline card, click Re-run evaluation next to View full evaluation.
- Keep the page open. The page keeps checking the run until the new scores are in, even though the run has ended.
Related Information
Was this page helpful?