Evaluations
Evaluations score requests. Computed evaluators measure performance. Judge evaluators use a model to assess quality and safety.
A rubric combines evaluators with weights. A monitor on a mesh scores a sample of live requests. An evaluation run scores a trace on demand.
Quick Reference
Judge Evaluator
| Field | Purpose | Guidance |
|---|---|---|
| Name | Identifies the evaluator | Shown in rubrics and reports. |
| Description | What it measures | One or two sentences for your team. |
| Category | Groups evaluators | Quality, Safety, Security, Reliability or Efficiency. The rubric editor shows weight by category. |
| Scope | What the judge looks at | Request/Response evaluates the conversation request and its final response. Agents evaluates each agent in the mesh separately. |
| Model complexity | Judge model routing | Picks the judge's model through the monitor's or run's model set, the same way an agent's complexity does. |
| Instructions | The judging prompt | Tell the judge what to look for and how to rate from 1 to 5. Be concrete about what a 1 and a 5 look like. |
| Scoring examples | Calibration | Rating, Scenario and Judgment triples that show the judge how to rate. Two or three well chosen examples improve consistency. |
| Input fields | Per-run inputs | Name, Label, Field instructions, Type (String, Number, Boolean, String list or JSON object) and Required. Values are set in the rubric. The built-in case_outcome_match evaluator uses an expected_outcome input. |
Computed Evaluator
| Field | Purpose | Guidance |
|---|---|---|
| Key | Identifies the metric | Built in and not editable. latency (milliseconds), llm_call_count, agent_turn_count, tool_usage_count, tool_error_count, tool_error_rate (ratio) and duplicate_tool_call_count. |
Rubric
| Field | Purpose | Guidance |
|---|---|---|
| Name | Identifies the rubric | Meshes and runs reference rubrics by name. |
| Description | Purpose | Say what the rubric is for, for example "support quality gate". |
| Add metrics | Choose evaluators | One searchable list of every computed and judge evaluator, ordered by category. |
| Weight | Share of the rubric score | Blank or 0 excludes this metric from the final score. Weights are relative. |
| Score floor and Score ceiling | Normalize a computed metric | Computed metrics only. Values at or below the floor score 0 and at or above the ceiling score 1, scaled between. |
| Lower is better | Invert a computed metric | Computed metrics only. For latency and error counts, a lower value scores higher. |
| Trial count | Repeat a judge | Judge metrics only. Runs the judge this many times and averages. Raises cost and reduces noise. |
| Model complexity | Override per rubric | Judge metrics only. Overrides the evaluator's own complexity for this rubric. |
| Input values | Fill the evaluator's input fields | Judge metrics only. Values for the evaluator's Input fields. |
Evaluation Monitor
| Field | Purpose | Guidance |
|---|---|---|
| Where | Configured on the mesh | Mesh settings, Rubrics section. See Meshes. |
| Sample rate | Share of requests scored | Evaluates N % of conversations. Scores completed requests run by the hosted cloud. |
Evaluation Results Report
| Field | Purpose | Guidance |
|---|---|---|
| Rubric | Which rubric to show | One rubric at a time. |
| Time range | Window | Choose a preset, or Custom with absolute dates or a relative duration. Includes the full start and end days in UTC. Maximum 90 days. |
| Compare versions | Split by mesh version | Draws one series per mesh version so you can see the effect of a change. |
| Metrics | What to chart | Rubric score (the weighted request score) and each metric with its aggregation (Sum, Mean, Minimum, Maximum or Weighted mean). |
| Evaluation coverage | How much was scored | A heatmap by mesh version of the share of requests the rubric evaluated. |
| Whole-range comparison | Totals per version | A table of each metric per version over the whole window. |
Built-in judge evaluators
Every organization starts with these judge evaluators. You can edit all of them.
| Evaluator | What it checks |
|---|---|
instruction_following | Checks whether the agent followed its instructions |
tool_call_goal_progress | Checks whether tool calls moved the agent toward its goal |
right_tool_usage | Checks whether the agent used the right tools |
tool_result_utilization | Checks whether the agent used the results of its tool calls |
tool_error_recovery | Checks whether the agent recovered after a tool error |
tool_argument_quality | Checks the quality of the arguments in tool calls |
task_completion | Checks whether the agent completed the task |
response_relevance | Checks whether the response is relevant to the request |
groundedness | Checks whether the response is grounded in the available information |
efficiency | Checks whether the agent did the work efficiently |
case_outcome_match | Checks whether the outcome matches the expected outcome. It needs an expected_outcome input. |
response_pii | Checks whether the response contains personal data |
user_prompt_injection | Checks whether the user input contains a prompt injection |
user_code_injection | Checks whether the user input contains a code injection |
response_bias | Checks whether the response shows bias |
Running an evaluation on a trace
To run an evaluation in the UI, open the trace viewer, select the Evaluation runs tab, and select Add run.
You can also use the REST endpoint POST /evals/run. Use an API key with the Converse scope.
curl -H "Authorization: Bearer <API_KEY_TOKEN>" -X POST https://api.partite.ai/evals/run -H "Content-Type: application/json" -d '{"rubric_id": "<RUBRIC_ID>", "conversation_id": "<CONVERSATION_ID>"}'Send one of trace_id, trace_request_id, conversation_id or request_id. Send model_set_id only if the rubric has judge metrics.
Only completed requests are evaluated. This works for traces sent from a self-hosted engine also.
Reading results
A judge returns a rating from 1 to 5, a confidence, reasoning, and findings. Findings are strengths and failures. Each failure has a severity: Minor, Moderate or Major.
For the scoring math, see the Evaluations guide.
Related
- Traces – run an evaluation from the trace viewer.
- Meshes – add a monitor to a mesh.
- Evaluations guide – scoring math and workflow.
- Model Sets – choose the models that judges use.