Review test results
This section guides you through the business workflow for reviewing test results. This workflow is designed for business users who need to review evaluation results, understand failures, and determine the appropriate actions to take.
Starting reviews
Section titled âStarting reviewsâThere are two main ways to review test results:
- From an evaluation run
- From an assigned task
From an evaluation run
Section titled âFrom an evaluation runâWhen reviewing a failure directly from a test execution (not from a task), follow these steps:
- Review a fail after a test execution - After a test execution, review the failure details
- Determine the appropriate action - Based on your review, decide which of the following scenarios applies:
graph LR
A[Review Failure] --> B{Agent Answer<br/>Correct?}
B -->|No| C[<a href="/hub/ui/annotate/task-management" target="_self">Open Task<br/>Assign to Developer<br/>or KB Manager</a>]
B -->|Yes| F{Rewrite Now?}
B -->|Don't Know| E[<a href="/hub/ui/annotate/task-management" target="_self">Put in Draft<br/>Open Task<br/>Assign to Domain Expert</a>]
F -->|Yes| G{Can Answer<br/>Questions?}
F -->|No| H[<a href="/hub/ui/annotate/task-management" target="_self">Draft Scenario<br/>Create Task<br/>Assign to PO</a>]
G -->|Yes| I[<a href="/hub/ui/annotate/modify-scenarios" target="_self">Rewrite Test<br/>Retest<br/>Save</a>]
G -->|No| J{Has Value?}
J -->|No| K[Remove Test]
J -->|Yes| H
If the agent is incorrect, the test is well written
Section titled âIf the agent is incorrect, the test is well writtenâIf the agent is incorrect and the test is correctly identifying the issue:
- Open a task and assign the agent developer or the KB manager
- Navigate to the âDistribute tasksâ workflow Task management
- Create a task with a clear description of what needs to be fixed
If the agent is correct, the test should be rewritten
Section titled âIf the agent is correct, the test should be rewrittenâIf the agent is correct and the test was too strict, you need to rewrite the test. You have the following options:
Option 1: You want to do it later
- Draft the scenario - Mark the scenario as draft to prevent it from being used in evaluations
- Open a task where you can track that this scenario needs to be modified
- Assign the product owner to the task
- Navigate to the âDistribute tasksâ workflow Task management
Option 2: You are able to answer at least one of these questions:
- Is there any minimum information the agent must not omit (e.g., a number, a fact)?
- Is there any block of information the agent must not go beyond (a page of a website, a section of a document)?
- Is there any information you do not want to appear in the agentâs answer?
If you can answer at least one of these questions:
-
Go to the linked scenario in the dataset
-
Rewrite the test requirement:
- If question 1 is true: Enable correctness check by putting the minimum info as reference
- If question 2 is true: Enable groundedness check and put the block of info as context
- If question 3 is true: Write a negative rule (âthe agent should notâŚâ) in a conformity check
-
Retest various times until the result is always PASS (regenerate a agent answer, and retest)
-
Save the changes
-
If the scenario was in draft, undraft it
-
You can also set the task as closed (if applicable)
Option 3: The test does not have value
- Remove it from the dataset
If you donât know, there needs to be a discussion
Section titled âIf you donât know, there needs to be a discussionâIf you donât know if the agent answers correctly or not and there needs to be a discussion:
- Put in draft - Mark the scenario as draft to prevent it from being used in evaluations
- Open a task and assign the domain expert
- Navigate to the âDistribute tasksâ workflow Task management
- Create a task with your questions and concerns, then assign it to the domain expert who can make this determination
From an assigned task
Section titled âFrom an assigned taskâWhen reviewing a task that has been assigned to you, follow these steps:
- Open the task - Open the task that has been assigned to you
- Read the failure details - Review the description, result, and explanation for the failure
- Determine the appropriate action - Based on your review, decide which of the following scenarios applies:
graph LR
B[Review Failure] --> C{Agent Answer<br/>Correct?}
C -->|No| D[<a href="/hub/ui/annotate/task-management" target="_self">Assign to Developer</a>]
C -->|Yes| E[<a href="/hub/ui/annotate/task-management" target="_self">Update Task Description<br/>Assign to Product Owner</a>]
C -->|Don't Know| F[<a href="/hub/ui/annotate/task-management" target="_self">Update Task Description<br/>Assign to Expert or PO</a>]
If the agent is incorrect, the test is well written
Section titled âIf the agent is incorrect, the test is well writtenâ- Assign the task to the developer who should correct the test
- Navigate to the âDistribute tasksâ workflow Task management
- Reassign the task to the appropriate developer with a clear description of what needs to be fixed
If the agent is correct, the test should be rewritten
Section titled âIf the agent is correct, the test should be rewrittenâIf the agent answers correctly in reality and the test was too strict:
-
Provide the reason why the agent answer is ok, in the description of the task
-
Answer at least one of these questions to help guide the test rewrite:
- Is there any minimum information the agent must not omit (e.g., a number, a fact)?
- Is there any block of information the agent must not go beyond (a page of a website, a section of a document)?
- Is there any information you do not want to appear in the agentâs answer?
-
Assign the product owner so that he or she can rewrite the test based on your input
- Navigate to the âDistribute tasksâ workflow Task management
- Update the task description with your answer and reassign it to the product owner
If you donât know if the agent answers correctly or not. There needs to be a discussion
Section titled âIf you donât know if the agent answers correctly or not. There needs to be a discussionâIf you donât know if the agent answers correctly or not and there needs to be a discussion:
- Provide the reason why you donât know and why it needs to be discussed
- Assign the right person with the knowledge or re-assign the product owner
- Navigate to the âDistribute tasksâ workflow Task management
- Update the task with your questions and concerns, then reassign it to the appropriate person
Interpreting test results
Section titled âInterpreting test resultsâCheck pass/fail
Section titled âCheck pass/failâWhen reviewing a scenario, the first thing to check is whether the scenario passed or failed. By opening the scenario, you can see the metrics along with the failure category and tags on the right side of the screen.

PASS:
- The scenario met all the evaluation criteria (checks)
- All checks that were enabled on the scenario passed
- The agentâs response was acceptable according to the validation rules
FAIL:
- The scenario did not meet one or more evaluation criteria
- At least one check that was enabled on the scenario failed
To understand why a scenario failed, you need to review the specific checks that were applied.
Check failure reason
Section titled âCheck failure reasonâTo understand why a test passed or failed, you need to review the explanation for each check and understand the failure categories.
Read the explanation for each check
Section titled âRead the explanation for each checkâEach check provides an explanation of why it passed or failed. This explanation helps you understand:
- What the check was evaluating
- What criteria were applied
- Why the scenario passed or failed
- What specific aspects of the agentâs response caused the result
Review the check settings
Section titled âReview the check settingsâEach check also has a Settings section, collapsed by default. Expand it to see the parameters the check was configured with, for example a custom checkâs pattern or rule, and the target key it read from the trace. Reviewing these settings alongside the failure reason often makes it clear why a check passed or failed.

Check failure category
Section titled âCheck failure categoryâWhen a test fails, it is categorized based on the type of failure. Understanding these categories helps you:
- Identify patterns in failures
- Prioritize which issues to address first
- Assign tasks to the right team members
Common failure categories:
- Hallucination - The agent generated information not present in the context
- Omission - The agent failed to include required information
- Conformity violation - The agent did not follow business rules or constraints
- Groundedness issue - The agentâs answer contains information not grounded in the provided context
- Metadata mismatch - The agentâs metadata does not match expected values
- String matching failure - Required keywords or phrases are missing
Review the flow of the scenario
Section titled âReview the flow of the scenarioâUnderstanding the flow of a scenario helps you assess whether its structure is appropriate and whether the agentâs response makes sense in context.
When reviewing the flow, consider:
- Whether the interaction structure makes sense
- Whether the input at each interaction is clear and unambiguous
- Whether earlier interactions provide the necessary context
- Whether the scenario accurately represents the behavior you want to test
Scenario structure
Section titled âScenario structureâA scenario is composed of one or more interactions. Each interaction represents a single turn, and checks can be attached to any interaction to evaluate the agentâs response at that point. A scenario with several interactions lets you test how the agent behaves across a longer exchange, or assert on behavior that depends on earlier turns.
What an interaction looks like depends on the agent type:
- Chat agents â the legacy mode. Each interaction shows a User message and the Assistantâs response.
- Structured agents â each interaction shows an Input and an Output JSON object instead of message bubbles.
For a chat agent, you author the User message at each interaction; for a structured agent, you author the Input. In both cases, the agentâs response, the Assistant message or the Output, is generated and evaluated at scenario time, and the agent can rely on the history of earlier interactions in the same scenario when producing that response.


Evaluation stops on the first failed check
Section titled âEvaluation stops on the first failed checkâChecks are evaluated interaction by interaction, in order. As soon as a check fails, the evaluation stops: any interactions after that point are skipped and not executed.

Metadata
Section titled âMetadataâThe metadata provides additional information about the agentâs response, which a developer decided to pass along with the answer. Where you find it depends on the agent type:
- Chat agents â metadata is available on the turn itself, alongside the assistant message.
- Structured agents â metadata may be included as part of the output response.
Metadata can include things like:
- Tool calls that were made
- System flags or status indicators
- Additional context or structured data
- Any other information the agent includes in its response
Reviewing metadata helps you understand:
- What actions the agent took
- Whether the agent followed expected workflows
- Whether system-level requirements were met
- Whether the response structure matches expectations
For more information about metadata checks and other check types, see Overview.
Best practices
Section titled âBest practicesâ- Review thoroughly - Take time to understand all aspects of the test result before making a decision
- Document your findings - Add comments to tasks to help others understand your review
- Use appropriate actions - Close tasks when results are correct, assign modification work when changes are needed
- Collaborate effectively - Work with product owners and other team members to ensure scenarios are accurate
- Maintain quality - Only close tasks when youâre confident the test results are correct
Next steps
Section titled âNext stepsâNow that you understand how to review test results, you can:
- Modify scenarios - Learn how to refine scenarios and checks Modify scenarios
- Distribute tasks - Create and manage tasks to organize review work Task management