---
schema_version: "1"
id: ca3e701a94e50d35b21cb0f32292bbd83c0526e4b3dad88ebf3b6d0af4c1a9d0
title: Use Test Results
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_testing_center_use_test_results.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_use_test_results.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 21567c0ef6b6eeb0b1f5407da56638d4bc39d50d19af30b0010c8833823857ce
description: After a test run completes, review evaluation scores to identify where your agent or prompt template is falling short. Understand what each scorer measures, how scores are calculated, and what to do when results are low .
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Use Test Results

After a test run completes, review evaluation scores to identify where your agent or prompt template is falling short. Understand what each scorer measures, how scores are calculated, and what to do when results are low .

When a test run completes, results appear as scores in the test suite grid as one row per test case and one column per scorer. Pay close attention to recurring failures: they often point to underlying issues like unclear instructions, missing context, or configuration problems. To investigate a specific result, select a cell to open the detail panel and view the full JSON output and the reasoning behind the score.

For agent testing, manually retest failed utterances in Agentforce Builder and refine subagent instructions, agent actions, and knowledge until results improve. For prompt template testing, use the scores to identify where the template’s output falls short, then go to Prompt Builder to adjust your template instructions accordingly.

**Agent Default Evaluations**

Agent testing includes a set of default evaluations that run automatically on every test, plus optional quality evaluations you can add. Default evaluations are given a score of 1, pass, or 0, fail.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:27.472527472527474%">
        <col style="width:38.46153846153847%">
        <col style="width:34.065934065934066%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d158883e51">Evaluation</th>
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d158883e54">Testing Significance</th>
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d158883e57">Recommendation</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Evaluation" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e51 ">Response Evaluation</td>

          <td data-label="Testing Significance" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e54 ">
            <p dir="ltr">Scores of 3 to 5 indicates that the agent generally succeeds in achieving
              its goal. A score of 5 reflects a precise, complete, and brand-aligned response with
              no irrelevant content. </p>
            <p dir="ltr">Scores of 3 to 4 show decreasing levels of clarity and completeness.
              There may be minor omissions or partial understanding which introduces some
              ambiguity while the core intent is still addressed.</p>
            <p dir="ltr">Scores of 1 to 2 suggest the agent struggled to meet the goal. The
              response may be unclear, missing key elements, or include irrelevant information. It
              might also ask the user for information that should have been retrieved from the
              CRM.</p>
            <p style="margin-bottom:0;" dir="ltr">A score of 0 represents a complete failure to resolve the user’s query.
              The response is generic and doesn’t address the user’s intent.</p>
          </td>

          <td data-label="Recommendation" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e57 ">Check your agent configuration for issues related to subagent
            selection, instructions, or actions. Consider whether there are knowledge gaps, like
            outdated articles, or other issues preventing the agent from responding
            appropriately.</td>

        </tr>
        <tr class="">
          <td data-label="Evaluation" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e51 ">Subagent Assertion</td>

          <td data-label="Testing Significance" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e54 ">
            <p dir="ltr">A score of 1 indicates that the agent correctly identified the
              appropriate subagent to address an utterance.</p>
            <p style="margin-bottom:0;" dir="ltr">A score of 0 indicates that the agent selected an unexpected subagent to
              address an utterance.</p>
          </td>

          <td data-label="Recommendation" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e57 ">Manually retest any failed utterance in Agentforce Builder and review the agent's
            reasoning in the plan canvas. Refine the instructions for both the expected action and
            the subagent itself to clearly guide the agent toward the correct choice and restrict the
            use of the incorrect action.</td>

        </tr>
        <tr class="">
          <td data-label="Evaluation" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e51 ">Action Assertion</td>

          <td data-label="Testing Significance" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e54 ">
            <p dir="ltr">A score of 1 indicates that the agent correctly identified all of the
              appropriate actions within a subagent to address an utterance.</p>
            <p style="margin-bottom:0;" dir="ltr">A score of 0 indicates that the agent either chose the wrong actions or
              failed to select all necessary actions within a subagent to address an utterance.</p>
          </td>

          <td data-label="Recommendation" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e57 ">Manually retest any failed utterance in Agentforce Builder and review the agent's
            reasoning in the plan canvas. Refine the instructions for both the expected action and
            the subagent itself to clearly guide the agent toward the correct choice and restrict the
            use of the incorrect action.</td>

        </tr>
      </tbody>
    </table>

In conversation-level testing, the expected action evaluation checks that your agent performed every action you specified for the conversation. The test passes if all expected actions occurred, even if the agent also performed additional actions.

  
| Expected Actions | Agent Did | Result |
| --- | --- | --- |
| Look up account, send email | Look up account, send email, create case | Pass |
| Look up account, send email | Look up account, create case | Fail — send email missing |

If a test fails, the reasoning field shows which expected actions didn't occur.

**Response Quality Evaluations**

Response quality evaluations use an LLM judge to score responses on a 0–5 scale, with 3 or higher signifying a pass. The reasoning behind each score is available in the detail panel when you select a result.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_important.png)

Important

The pass/fail threshold is set at 3. If the default threshold doesn't meet your needs, add a custom scorer with a prompt to evaluate responses based on your own criteria.

**What is an LLM-as-judge?**

LLM as Judge is when one large language model (LLM) evaluates the outputs of another LLM, serving as a scalable, automated, and objective evaluation tool for tasks like scoring summaries or ranking responses. A "judge" LLM receives a prompt that includes the task and evaluation criteria like, factual accuracy, relevance, coherence, and faithfulness to source. With these resources and guidelines, the LLM judge determines the expected response and compares it to the agent response then generates scores, rankings, or textual feedback. We’ve carefully designed our LLM-as-judge prompts to give you the most accurate and useful test results.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:25%">
        <col style="width:37.5%">
        <col style="width:37.5%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d158883e223">Scorer</th>
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d158883e226">Agent Testing</th>
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d158883e229">Prompt Template Testing</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Completeness</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. A score of 5 indicates a fully complete and accurate
              answer with no important omissions. Scores of 4 and 3 reflect decreasing levels
              of completeness, with minor to moderate gaps. Scores of 1 or 2 indicate a
              significantly incomplete answer. A score of 0 means the answer missed all
              important information.</p>
          </td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Same scale as agent testing. Pass or fail is returned
              based on whether the response fully addresses the query.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Coherence</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Scores of 3–5 indicate the response transforms underlying
              information into clear, conversational language. Scores of 0–2 indicate the
              response delivered raw data, such as JSON structures or direct field content,
              rather than natural language.</p>
          </td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Same scale as agent testing. Pass or fail based on whether
              the response is logically structured and free of grammatical errors.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Conciseness</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Scores of 3–5 indicate the response is appropriately brief
              and accurate. Scores of 0–2 indicate the response is lengthy, repetitive, or
              contains irrelevant content.</p>
          </td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Same scale as agent testing. Pass or fail based on whether
              the response avoids unnecessary length.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Factuality</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">—</td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Scores of 3–5 indicate the response contains accurate,
              well-supported information. Scores of 1–2 indicate errors or unsupported claims.
              A score of 0 indicates significantly inaccurate or fabricated content.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Latency</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">
            <p style="margin-bottom:0;" dir="ltr">Not scored. A high or unusual latency suggests a problem with the
              utterance or underlying infrastructure. If agent adjustments don’t resolve the
              issue, contact Salesforce support.</p>
          </td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">—</td>

        </tr>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Instruction Adherence / Instruction Following</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">
            <p dir="ltr">Scored as High, Low, or Uncertain.</p>
            <p dir="ltr"><strong>High:</strong> The agent fully follows the subagent instructions,
              addressing key points and providing required information.</p>
            <p dir="ltr"><strong>Low:</strong> The agent fails to follow at least one instruction,
              leading to an incorrect response. Refine instructions and set clearer
              constraints.</p>
            <p style="margin-bottom:0;" dir="ltr"><strong>Uncertain:</strong> Adherence can’t be conclusively determined due
              to an ambiguous response, incomplete response, or conflicting interpretations
              of the subagent instructions.</p>
          </td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">
            <p dir="ltr">Scored 1, 3, or 5.</p>
            <p dir="ltr"><strong>5 (High):</strong> The response fully followed the prompt template
              instructions.</p>
            <p dir="ltr"><strong>3 (Uncertain):</strong> Adherence can’t be conclusively
              determined.</p>
            <p style="margin-bottom:0;" dir="ltr"><strong>1 (Low):</strong> The response deviated from the instructions.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Scorer" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e223 ">Response Match</td>

          <td data-label="Agent Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e226 ">—</td>

          <td data-label="Prompt Template Testing" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d158883e229 ">
            <p style="margin-bottom:0;" dir="ltr">Scored 0–5. Measures how closely the response matches the expected
              output you provided in your CSV. A higher score indicates a closer match.
              Requires an <strong class="uicontrol">Expected Output</strong> column in your test case
              CSV.</p>
          </td>

        </tr>
      </tbody>
    </table>

Quality evaluations are assessed by the LLM judge based on fixed criteria. If a response receives a low score, review it carefully to see whether it truly falls short of your expectations. For example, the LLM judge may assign a low conciseness score, but you might feel that additional context better serves your customers or aligns with your brand voice. You can add extra instructions to better tailor the agent or prompt template to your goals. Always consider your specific goals and use case when interpreting scores. Quality evaluations provide guidance, but they are not absolute measures of success or failure.

## Customize Your Results Grid

While the grid shows a top-level score, the full JSON payload includes more information like the LLM judge's reasoning for that score. Surface any field from the JSON as a column in the grid to get a richer view of your results.

1. Select any cell in the grid. A panel opens on the right with **JSON** and **Preview** tabs.
2. In the **JSON** tab, hover over the field you want to add and click **\+ Column**. The field appears as a new column in the grid.
    
    ![The JSON tab with the add column highlighted.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/testing_center/testing_center_grid_add_column.png)

To include evaluation score details or judge reasoning in a CSV export, add those fields as columns first, then click **Download Results**.

#### See Also

- [Monitor Your Agent](https://help.salesforce.com/s/articleView?id=ai.agent_parent_monitor.htm&release=264.0.0&type=5 "When you review and update your agentic solution, it has a higher chance of success. Review Agentforce analytics to report on key indicators such as performance, usage, quality, trust, cost, and ROI.")
- [_Trailhead_: Agentforce Testing Center](https://trailhead.salesforce.com/en/content/learn/modules/agentforce-agent-testing)
- _Trailhead_: Introduction to Agentforce Builder