Skip to content
BACK TO FIELD NOTES
AI GOVERNANCE

Build an evaluation set from the jobs your AI agent will face

Turn ordinary tasks, awkward exceptions and past failures into repeatable checks before the next model or tool update.

Write expected results before you run the agent

Imagine an intake agent that looks up a request and prepares a response. One test should give it a complete record. Another should omit the account identifier. A third should present two similar accounts with different policies. Each case needs an expected outcome in language a reviewer can check.

Mark which tests involve actions that change a record or send a message. If the agent should only draft a response, inspect the outgoing queue to confirm that nothing was sent. A polished final message cannot tell you on its own what tools ran or which record actually changed.

Use different checks for different errors

Use deterministic checks for fields, permissions and stored outcomes. Ask a person to grade usefulness on a sample with a short rubric. If a model helps review language at scale, compare its judgments against human-reviewed examples and revisit the cases where they disagree.

Reset test data between runs so that the second attempt starts from the same state as the first. Repeat cases where model behavior varies and review the failures. A pilot with a modest set of cases can still tell you which errors are persistent enough to block the next rollout.

Keep old failures in the test set

When an incident exposes a gap, save a minimized version of the scenario with synthetic or redacted data. Give it the expected behavior that would have prevented the incident. Run the resulting tests when a model, prompt, permission or connected system changes.

Keep the release decision visible. Put the critical cases first and agree on what blocks deployment. A chart of average scores is useful for tracking progress, while the failures tell you whether the agent is ready to do the work.