Skip to main content
Test Runs are the execution results of your evaluations through the evaluation pipeline. Each run provides a point-in-time snapshot of your AI system’s performance—showing exactly which test cases passed, which failed, and why. Use them to track quality over time, catch regressions, and debug issues.

Why Test Runs Matter

Test Runs transform raw evaluation data into actionable insights:

Triggering a Test Run

There are two ways to trigger a test run.

From the SDK

You provide an evaluation, a task function that processes each input, and a name for the run.
The task function receives the input field from each evaluation item. The output is compared against expectedOutput by the evaluators attached to the evaluation. See the SDK reference for Python and TypeScript for the full API.

From the Dashboard

1

Register an Agent

Connect your AI application under Evaluation → Agents so Netra can call it. See Agents.
2

Open Run Test Suite

Open your evaluation, go to the Test Runs tab, and click Run Test Suite.
3

Select Agent and Name the Run

Pick the registered agent, give the run a name, and start. Netra calls your agent for every test case and evaluates each response.
Run test suite from dashboard

Test Runs Dashboard

Navigate to Evaluate → Test Runs from the left navigation panel. Test Runs dashboard showing list of evaluations
  • Date Range: Filter runs by time period to compare performance over time
  • Search: Find specific test runs by name or evaluation
  • Filters: Narrow by run status or evaluation

Viewing Test Run Details

Click on any test run to access detailed results and diagnostics. Test run detail view

Summary Metrics

The top of the detail view shows aggregated performance data:

Per-Test-Case Results

The items table lists every test case with dynamically generated columns—one per configured evaluator—alongside: Click any row to open the item detail panel with two tabs:
Click View Trace on any failed test case to see the complete execution timeline, including LLM calls, tool invocations, and latency breakdowns.

Comparing Test Runs

Compare multiple runs of the same evaluation to spot regressions and improvements:
1

Select Runs

On the Test Runs dashboard, select at least two completed runs of the same evaluation using the checkboxes.
2

Open Compare

Click Compare. The comparison view aligns test cases across runs.
3

Analyze Deltas

  • Summary metrics show pass rate, average score, total cost, duration, and average latency with percent deltas against a base run
  • Each evaluator gets a verdict cell per test case so you can see exactly which cases flipped from pass to fail
Comparing test runs

Managing the Underlying Evaluation

Evaluation configuration lives on the evaluation page, not inside individual runs:
  • Add or edit test cases — open the evaluation’s Details tab. See Evaluations.
  • Add evaluators or adjust thresholds — use the evaluation’s default evaluator settings; overrides can be set per item
  • Trigger a new run — use the Test Runs tab on the evaluation page

Analyzing Results

Identifying Patterns

When reviewing test runs, look for:
  • Consistent failures: Same test cases failing across multiple runs may indicate a systematic issue
  • New failures: Test cases that previously passed but now fail signal a regression
  • Score trends: Declining evaluator scores over time suggest gradual quality degradation

Debugging Failures

For each failed test case:
  1. Compare Expected Output vs Task Output to understand the discrepancy
  2. Check Evaluator Scores to see which criteria failed
  3. Click View Trace to inspect the full execution flow
  4. Review LLM inputs, tool calls, and intermediate steps in the trace view

Comparing Across Runs

To track regression or improvement:
  1. Run evaluations after each significant change (model update, prompt revision, code release)
  2. Use the built-in Compare view for side-by-side deltas
  3. Investigate any test cases that changed from pass to fail

Use Cases

CI/CD Integration

Run evaluations as part of your deployment pipeline:
  1. Trigger evaluation when code is pushed
  2. Block deployment if pass rate drops below threshold
  3. Review failed cases before merging

Model Comparison

Evaluate different models objectively:
  1. Run the same evaluation with different model configurations
  2. Compare test runs side-by-side
  3. Make data-driven decisions about which model to deploy

Prompt Iteration

Measure the impact of prompt changes:
  1. Create a baseline test run with your current prompt
  2. Update your prompt and run again
  3. Compare results to validate improvement

Image Quality Testing

Evaluate AI-generated or edited images for visual quality and accuracy:
  1. Create an image evaluation with input prompts and expected image characteristics
  2. Run evaluations after each model or prompt change
  3. Compare visual quality scores across test runs
Last modified on August 28, 2026