Skip to main content

Test a prompt against cases

The Test tab is a scratchpad for the inner loop: a handful of cases you run while editing, with a verdict on each. It is deliberately not an evaluation. The cases live in your browser, keyed to this prompt, and no run is written to the platform's evaluation index.

Who can use it: the Builder role or higher. Because the cases are local, a colleague opening the same prompt sees their own set.

VideoTest a prompt against cases2:51Watch on YouTube

Recorded on .

  1. Add cases

    On the prompt's Test tab, select + Add first case or + Add case, and fill in the case's input in the field under the list. Select Run case to run that case on its own.

  2. Run the set and read the results

    Select Run all. Each case gets a verdict with its latency, tokens and cost; Table and JSON change the layout. A case's row shows the answer, the expected answer and the judge's reasoning, and Accept as known limitation marks a failure as understood.

  3. Carry the failures onward

    Read the rail's score and pass rate, then select Send all fails to Optimizer to save the failing cases as a dataset and open the Optimizer's Setup with it selected.

Add cases and run them​

The Test tab empty state reading No iteration cases yet, explaining that cases are local and do not appear in the global Evaluations index, with an Add first case button.The Test tab empty state reading No iteration cases yet, explaining that cases are local and do not appear in the global Evaluations index, with an Add first case button.
The Test tab before any case exists: a scratchpad for quick checks while you edit, separate from Evaluations.

An empty tab explains what the scratchpad is for and offers + Add first case. A case has a title, the values for the prompt's variables, and optionally the answer you expect.

The Test tab with its cases: two rows passing and a third failing, the failing case expanded to show its inputs, the model's answer, a warning and the judge's reasoning, with the fourth case below the fold.The Test tab with its cases: two rows passing and a third failing, the failing case expanded to show its inputs, the model's answer, a warning and the judge's reasoning, with the fourth case below the fold.
The Test tab with cases run: each row carries its verdict, latency, tokens and cost, and opens to show the inputs sent, the answer returned and the judge's reasoning.

Run all runs every case, a few at a time; a single row runs on its own from Run case. Each run sends the prompt to its model and then scores the answer with the LLM judge.

Two things stop a run before it starts, and both are reported on the case rather than silently:

  • No model is set on the prompt.
  • The case supplies inputs that no message block references, so the model would never see them. The message names the inputs and tells you to add the placeholder to a user message.

The header counts the cases, the passes and the failures, and when the set last ran. Collapse passing hides the rows that passed. Transcript, Table and JSON change how results are laid out.

Reading a result​

A row carries a verdict: pass, warn, fail, or Judge error when the answer came back but scoring did not. A case that has not run is untested. Once run, the row also gives the latency, the tokens and the cost.

Opening a row shows the inputs that were sent, the answer that came back, any warnings, the score from each evaluator against the answer you expected, and the judge's reasoning. Accept as known limitation marks a failure as understood: it stays visible but stops counting against the pass rate, and the mark is reversible.

The Iteration summary rail beside the case list: the weighted score, cards for pass rate, average latency, average cost and average tokens, a By eval breakdown, the failing case, and the controls Send all fails to Optimizer and Optimize against this set.The Iteration summary rail beside the case list: the weighted score, cards for pass rate, average latency, average cost and average tokens, a By eval breakdown, the failing case, and the controls Send all fails to Optimizer and Optimize against this set.
The iteration summary: the weighted score, pass rate and averages, each with the number of cases behind it, the failing cases, and the two ways to carry them into the Optimizer.

The rail sums the set up: a weighted score, the pass rate, and the average latency, cost and tokens, each with the number of cases behind it. Under thirty cases it says plainly that the figures are directional and not a service level, and that a real evaluation is the way to get confidence. By eval breaks the score down per evaluator, and Edit changes the weights.

Carrying cases onward​

The rail lists the failing cases and offers two ways out, and the banner at the top offers a third.

ControlWhat it does
Send all fails to OptimizerSaves only the failing cases as a new dataset and opens the Optimizer's Setup with it selected
Optimize against this setDoes the same with every case in the set
Open in EvaluationsSaves the whole set as a dataset and opens Evaluations on it

All three upload the cases before they navigate, so the cases really do arrive; the Optimizer confirms with a banner counting them. A failure is reported with the reason, and the Evaluations hand-off retries once by itself before showing you an error with Retry and Dismiss.

Limits and behaviour​

  • The cases, their results, the weights and the preferences are stored in your browser. Clearing site data clears them.
  • The set carries forward as the prompt is versioned. Pin fixes it to the current version and Fork makes it independent, with Reset to undo either.
  • The preset selector above the run strip remembers your choice but does not yet switch case sets.
  • The model and temperature shown on the run strip are the prompt's own. The panel that describes them has no controls; change them on the Model tab.
  • Compare to the previous version compares with the last saved version, not with what is deployed. It names that version, so at v3 it reads Compare to v2. On a prompt at its first version there is nothing to compare with, and the control is disabled reading No earlier version rather than offering v1 against itself.

Describes the platform as of .

Was this page helpful?