Back to section lessons
Free overview · easy · Lesson 2 of 6

Scorers

Write checks that look at the assistant's response and name the specific reason for a failure.

The assistant's response can be wrong in different ways: broken JSON, the wrong status, the wrong number, an extra ticket. If a check only says "failed", you have to look for the reason by hand. A separate function for each property shows right away what exactly broke.

A small example

The document says: "timeout 40 seconds, retry delay 19 seconds". The assistant answered "40". The format is fine, and so is the status. The only error is that the model took the wrong number from the document. Four checks give three green results and one red one with the reason "the document says 19, the response says 40".

Why tickets are checked by calls

The assistant can write "ticket created" and create nothing. So the check looks at which actions it actually called, not at the text of the response.

Done reading?

Mark the lesson as read to move your track progress forward.

Now build your own version

Fix a local lab. The agent checks your work and gives hints if you get stuck.

What practice includes and how much it costs

MCP includes the full lesson and a local project with starter files. Work through the task with your agent, ask for a hint and run the checks on your computer.

$134 $67.00 for one year −50%

One payment, no auto-renewal · Terms

Buy for $67.00