Engineering

·

6 min read

Why your evals should come from real traffic

Why your evals should come from real traffic

Why your evals should come from real traffic

Synthetic test sets miss the weird stuff. Here is how to build an eval suite from the tasks your agents really see.

HS

Hana Sato

Head of Research

Monitor showing charts on a dark workstation

Hand-written test cases are a fine place to start, but they reflect what you imagine users will ask. Real traffic reflects what they actually ask, typos, edge cases and all.

Sample, label, replay

  • Sample a week of production runs, weighted toward failures and escalations.

  • Label the right outcome for each, ideally with the person who handled it.

  • Replay the set against every change to prompts, tools or models.

The result is a suite that gets harder exactly where your agent is weakest, which is the only place a test suite earns its keep.

An eval you did not get from production is a guess about production.

Keep reading

More from the blog

Put these ideas to work

Build your first agent free for 14 days, with guardrails and evals included.

Create a free website with Framer, the website builder loved by startups, designers and agencies.