Ratel Docs
FeaturesMonitor

Scorers

What a good trace is: the checks that grade your traces, for charts, alerts and tasks.

Scorers answers: how many of my traces are good, by my own definition?

A scorer reads a trace and gives it a result: pass or fail, or a grade. Charts, alerts and tasks read those results.

The Finishes cleanly scorer of Site Copilot: Sample 100%, Kind Task preset, its task, and Pass rate by day and Latest results before its first reading

Where you find them

No page lists scorers. You pick one where you use it:

Each picker lists the scorers with where each one is used. New scorer creates one in place.

Create or edit a scorer

New scorer and Edit open the same panel, in three steps.

The Edit scorer panel: 1. What to check with Name and Kind, 2. Which traces with Scope, Filter and Sample rate, 3. Test

1. What to check. A Name and a Kind:

  • Check. Compare one field of the trace with a value. Read picks the field, such as Duration (ms), Cost (USD), Failed, Tools or an Attribute of the trace. Operator is one of is, is not, contains, is at least, is at most and the others. For example: Duration (ms) is at most 15000.
  • Judged. A model reads the trace's input and output and answers your Question. The Answer is Pass or fail or 1 to 5.
  • Task preset. A ready check of a task run: Finishes cleanly, Self-corrections, Cost per run or Run time.

2. Which traces. Scope is All traces or some Tasks. Filter narrows them further. Sample rate (%) scores only a share of them: 100 scores every matching trace.

3. Test. Runs the scorer on the 5 latest matching traces. Nothing is saved.

Save scorer keeps it. A trace gets its result after the next Agent health reading, which runs once a day.

Read a scorer

Open a scorer from where it is used. Its page shows:

  • Pass rate, 7 days and Traces scored, 7 days.
  • Sample, Kind and Tasks: what it reads.
  • Pass rate by day, and the Latest results, each with its trace.

Add to dashboard charts it on a dashboard. The switch turns it On or off. Delete… removes it.

Over MCP

On this page