Skip to content

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

FieldPurposeGuidance
NameIdentifies the evaluator

Shown in rubrics and reports.

DescriptionWhat it measures

One or two sentences for your team.

CategoryGroups evaluators

Quality, Safety, Security, Reliability or Efficiency. The rubric editor shows weight by category.

ScopeWhat the judge looks at

Request/Response evaluates the conversation request and its final response. Agents evaluates each agent in the mesh separately.

Model complexityJudge model routing

Picks the judge's model through the monitor's or run's model set, the same way an agent's complexity does.

InstructionsThe 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 examplesCalibration

Rating, Scenario and Judgment triples that show the judge how to rate. Two or three well chosen examples improve consistency.

Input fieldsPer-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

FieldPurposeGuidance
KeyIdentifies 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

FieldPurposeGuidance
NameIdentifies the rubric

Meshes and runs reference rubrics by name.

DescriptionPurpose

Say what the rubric is for, for example "support quality gate".

Add metricsChoose evaluators

One searchable list of every computed and judge evaluator, ordered by category.

WeightShare of the rubric score

Blank or 0 excludes this metric from the final score. Weights are relative.

Score floor and Score ceilingNormalize 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 betterInvert a computed metric

Computed metrics only. For latency and error counts, a lower value scores higher.

Trial countRepeat a judge

Judge metrics only. Runs the judge this many times and averages. Raises cost and reduces noise.

Model complexityOverride per rubric

Judge metrics only. Overrides the evaluator's own complexity for this rubric.

Input valuesFill the evaluator's input fields

Judge metrics only. Values for the evaluator's Input fields.

Evaluation Monitor

FieldPurposeGuidance
WhereConfigured on the mesh

Mesh settings, Rubrics section. See Meshes.

Sample rateShare of requests scored

Evaluates N % of conversations. Scores completed requests run by the hosted cloud.

Evaluation Results Report

FieldPurposeGuidance
RubricWhich rubric to show

One rubric at a time.

Time rangeWindow

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 versionsSplit by mesh version

Draws one series per mesh version so you can see the effect of a change.

MetricsWhat to chart

Rubric score (the weighted request score) and each metric with its aggregation (Sum, Mean, Minimum, Maximum or Weighted mean).

Evaluation coverageHow much was scored

A heatmap by mesh version of the share of requests the rubric evaluated.

Whole-range comparisonTotals 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.

EvaluatorWhat it checks
instruction_followingChecks whether the agent followed its instructions
tool_call_goal_progressChecks whether tool calls moved the agent toward its goal
right_tool_usageChecks whether the agent used the right tools
tool_result_utilizationChecks whether the agent used the results of its tool calls
tool_error_recoveryChecks whether the agent recovered after a tool error
tool_argument_qualityChecks the quality of the arguments in tool calls
task_completionChecks whether the agent completed the task
response_relevanceChecks whether the response is relevant to the request
groundednessChecks whether the response is grounded in the available information
efficiencyChecks whether the agent did the work efficiently
case_outcome_matchChecks whether the outcome matches the expected outcome. It needs an expected_outcome input.
response_piiChecks whether the response contains personal data
user_prompt_injectionChecks whether the user input contains a prompt injection
user_code_injectionChecks whether the user input contains a code injection
response_biasChecks 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