Evaluations
Evaluations measure how well a Mesh performs. This guide explains how evaluators and rubrics score, and how to read the results. For the full list of fields, see the Evaluations reference.
Two kinds of evaluator
A computed evaluator measures what happened. For example, it measures latency, call counts or error rates.
A judge evaluator asks a model to rate quality and safety from 1 to 5.
How a judge scores
A judge reads the request and the response. When the scope is Agents, the judge also reads the hops of each agent.
A judge returns four things.
- A rating.
- A confidence.
- Reasoning.
- Findings. Each finding is a strength or a failure. Each finding has evidence. A failure has a severity of Minor, Moderate or Major.
The trial count sets how many times the judge runs. The result is the average of the trials.
The scoring examples in the evaluator calibrate the judge.
How a rubric scores
A rubric turns metric values into one score.
- For a computed value, the rubric normalizes the value to 0 to 1 between the Score floor and the Score ceiling. If Lower is better is on, the rubric inverts the result.
- For a judge rating, the rubric maps 1 to 5 onto 0 to 1.
- The rubric score is the weighted mean of the metric scores.
If a metric has a blank weight or a weight of 0, the rubric measures the metric but does not use it in the score.
Monitors versus runs
A monitor is set on a Mesh. A monitor scores a percentage of live requests as they complete. A model set that you choose judges the requests.
A run scores one trace or one request on demand. Start a run from the trace viewer, or send POST /evals/run.
A run works for any completed request. This includes traces that a self-hosted engine sends to the cloud. A monitor scores only requests that the hosted cloud ran.
Reading the report
Open Evaluation results to see the report for each Mesh.
- Pick a rubric.
- Pick a range of up to 90 days.
Compare versions draws one series for each Mesh version.
The coverage heatmap shows how much of the traffic the evaluators scored. Trust a high score less when coverage is low. A high score on 2 % coverage deserves less trust than the same score on 50 % coverage.
The whole-range table gives totals for each version. Use it for release decisions.
A workflow
- Start a monitor at 5 %. Use the built-in judges instruction_following, groundedness and tool_error_recovery. Add the latency evaluator.
- After a change, label a new version. Compare it with the previous version.
- To investigate a Mesh, raise the sampling.
- To see the findings for a bad trace, run a rubric on that trace.