Comparing evaluation runs

Compare a baseline evaluation run with a candidate evaluation run in Cloudera Agent Studio to track score changes for each evaluator.

You compare two completed runs of the same scope. The scope is the environment, the agent, the source, and, for a test set, the test set version. The baseline is the run that you measure against. The candidate is the run that you want to check. If a pinned baseline exists for the scope, it is selected in the Baseline started list.

The results depend on the source of the runs:

  • Live traffic (deployed agents) or Trace list (authoring agents): One card for each evaluator displays the change of the score.
  • Test set: The cards of the evaluators, a Summary of the passing items, and a table that compares each test are displayed.

The Compare runs page has the following fields:

  • Environment: Authoring for agents in your authoring workspace, or Deployed for production agents. The page opens with Deployed selected.
  • Deployed from: The deployed agent family. This field applies to the Deployed environment.
  • Agent: The agent to compare. For Deployed, the list contains All agents and the deployments of the family.
  • Source: The source of the runs.
  • Test set and Test set version: The test set and its version. These fields are displayed if you select Test set in Source.
  • Baseline started and Candidate started: The runs to compare. Each entry contains the agent, the version, the source, and the start time, for example blog-company · v1.0.0 · Live traffic · 2026-11-29 20:10 UTC.
  • Ensure that your user has a role that can open the Evaluations page. The Admin, Builder, and Observer roles can open the page. See User roles and capabilities.
  • Ensure that two completed runs exist in the same scope. See Running an evaluation.
  • Ensure that both runs used at least one evaluator with the same name and the same catalog version. Runs that share no evaluator cannot be compared.
  • Optional: To start from a pinned baseline, set a baseline for the scope. See Viewing a scorecard and setting a baseline.
  • To compare runs on a test set, create the test set before you run the evaluations. See Creating a test set.
To compare two runs:
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Evaluations.
    The Runs tab is displayed.
  3. Click Compare runs.
    The Compare runs page is displayed.
  4. In Environment, click Authoring or Deployed.
    To clear the selection, click Clear. If the environment has no completed runs, the message No environment runs yet. and the text Completed runs appear here once an evaluation finishes. are displayed.
  5. For the Deployed environment, in Deployed from, click the deployed agent family.
    The Deployed from list is unavailable while the families load.
  6. In Agent, click the agent.
    • For Deployed, click All agents, or click a deployment of the family. The Agent list is unavailable until you select a value in Deployed from.
    • For Authoring, click an agent of your authoring workspace.
  7. In Source, click the source of the runs.
    The Source list is unavailable until you select an agent.
    • For Deployed, click Live traffic. The Test set option is unavailable.
    • For Authoring, click Trace list or Test set.
  8. If you selected Test set, select the test set.
    1. In Test set, click the name of the test set.
    2. In Test set version, click the version.
      When you select a test set, the latest version is selected.
  9. In Baseline started, click the baseline run.
    The Baseline started and Candidate started lists are unavailable until the scope is complete and while the runs load. If a pinned baseline exists for the scope, it is already selected. The entry of a pinned baseline ends with the text pinned baseline.
  10. In Candidate started, click the candidate run.
    The two runs are compared, and the results are displayed.
  11. Review the Run details section.
    1. To open the section, click Run details.
      The Environment, Baseline version, Candidate version, Baseline started, and Candidate started values are displayed. The Common evaluators entry lists the evaluators that both runs used, for example Platform · Loop Detection and Platform · Answer Relevancy.
    2. To confirm that both runs used the same evaluators, review the Evaluators used tables for Baseline and Candidate.
      Each table lists the Evaluator, Origin, Version, and Content of each evaluator. The Content column contains the start of the content hash, for example 68DF393294DF….
  12. Review the change of each evaluator.
    The evaluators are in groups, for example Platform evaluators. Each evaluator has a card. The card contains the change of the score, and the scores of the two runs in the format baseline → candidate, with three decimal places. For example, the Loop Detection card contains = 0.000 and 0.490 → 0.490.
    The change of the score has one of the following symbols:
    • ↑: The candidate score is higher than the baseline score.
    • ↓: The candidate score is lower than the baseline score.
    • =: The two scores are equal.
    • —: The change is not available.
  13. For a Test set compare, review the Summary and the table of tests.
    1. In Summary, review Baseline PASS and Candidate PASS. Each value is a count of items.
    2. Optional: To find a test, enter text in Search tests.
    3. Optional: To choose the evaluators of the table, use the Metrics list. By default, the table contains the first six common evaluators.
      The table has the columns Test, Baseline output, Candidate output, and one Δ <evaluator> column for each selected evaluator.
    4. To open the baseline trace and the candidate trace of a test, click its row.
    5. Optional: To open a trace in MLflow, open the row menu, and then click View Baseline in MLflow or View Candidate in MLflow.
  14. Optional: To open the runs in MLflow, click MLflow (baseline) or MLflow (candidate) at the top of the page.
    A button is unavailable if the run has no MLflow link.
To compare a run with the baseline of its scope:
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Evaluations.
    The Runs tab opens.
  3. Optional: To find the run, enter text in Search runs, or filter the table by All, Deployed, or Authoring, by Agent, and by Status.
  4. In the row of the run, open the row menu, and then click Compare to baseline.
    The Compare to baseline item is unavailable in the following cases:
    • The run does not have the status Success.
    • The run is the baseline.
    • No baseline is pinned for the scope of the run.
    The Compare runs page opens with the scope of the run selected. The pinned baseline is selected as the baseline, and the run is selected as the candidate.
  5. Review the results. See steps 11 to 14 of the previous procedure.
To set the candidate as the baseline:
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Evaluations, and then click Compare runs.
  3. Select the scope, the baseline run, and the candidate run. See steps 4 to 10 of the first procedure.
  4. At the top of the page, click Set candidate as baseline.
    The message Baseline set for this agent, source, and environment. is displayed.
    The button is unavailable while the request runs, and for a run that cannot be a baseline. A run can be a baseline if it has the status Success, belongs to an agent family, and uses the source Live traffic, Trace list, or Test set. A test set run also needs a test set.

The Compare runs page displays the change of each evaluator. For a test set, the page also displays the passing counts and the table of tests.

If the two runs cannot be compared, a warning is displayed. The title of the warning is one of the following messages:

  • These runs do not share any evaluators: The runs have no evaluator with the same name and catalog version. Rerun one side with the same evaluators.
  • These runs used different test sets: A test set compare needs the same test set version on both runs.
  • One or both runs are not ready to compare: A run is not complete. Wait until both runs finish.
  • These runs use different sources: The baseline and the candidate need the same source.

If the runs can be compared but the scores might not be like-for-like, a warning is displayed above the results. The title of the warning is one of the following messages:

  • The runs used different agent versions: The differences might come from the version change and not from the change that you test.
  • An evaluator changed between the runs: An evaluator has the same version but different content.
  • The test set changed between the runs: The runs scored different test cases.
  • The agent's packaged artifact changed between the runs: The runs used different agent bundles or catalog versions.

To get a like-for-like comparison, rerun the evaluation with the same agent version, the same evaluators, and the same test set version.