Evaluation metrics and analysis

Evaluation results in Cloudera Agent Studio combine evaluator scores, pass policies, verdicts, and coverage, and you analyze them at the level of a trace or a session.

An evaluator scores one of two scopes:

  • Trace: A single agent run.
  • Session: All traces in a single session.

Most platform evaluators support both scopes. The evaluator session_trace_count supports the session scope only. Custom deterministic evaluators declare the scopes they support.

Platform evaluators

Agent Studio provides 12 platform evaluators.

  • Deterministic: loop_detection, error_rate, tool_call_count, task_completion, and session_trace_count.
  • LLM judge: task_success, answer_relevancy, instruction_following, faithfulness, reasoning_quality, tool_calling_accuracy, and toxicity.

For the output range, default pass policy, and description of each metric, see Metrics reference glossary.

If you do not select evaluators when you start a run, Agent Studio applies loop_detection, error_rate, tool_call_count, and task_completion.

Scores and pass policies

An evaluator produces a score, and a pass policy turns the score into a verdict.

  • Most LLM judges grade on five steps: 0, 0.25, 0.5, 0.75, and 1.0. The judge tool_calling_accuracy grades 0.0 or 1.0.
  • Several deterministic evaluators produce a value between 0.0 and 1.0, and others produce a count.
  • A pass policy sets the passing condition, for example a score of at least 0.8. Evaluators that only count, such as tool_call_count, are informational and have no pass or fail condition by default.
  • You can change the pass policy of a custom LLM judge. Platform evaluators use their default policies.

Verdicts and coverage

Each item in a run receives a verdict: PASS, FAIL, UNSCORABLE, or SKIPPED. The scorecard of a run counts the verdicts and reports the coverage of the evaluators. Items with the verdict UNSCORABLE or SKIPPED reduce coverage because the evaluator did not produce a score for them.

Analyzing results

After an evaluation run finishes, review the results to check quality and find issues:

  1. Open the scorecard of a run to see the verdict counts and the results for each item. See Viewing a scorecard and setting a baseline.
  2. Set a baseline for the runs that you treat as the reference.
  3. Compare later runs with the baseline to find regressions and improvements. See Comparing evaluation runs.
  4. Open the trace of a failing item in MLflow to see the spans behind the score. See Viewing traces in MLflow.

Scores are also attached to traces. Each trace summary lists the scores that evaluations produced for it.