Shuffle your agent's tool results before calling your evals a success

Quoravexian · reddit · 2026-11-26

While testing an internal supplier-lookup agent, the author found an embarrassing failure mode: reversing the order of records returned by a tool — same data, same prompt, same model — made the agent look up the wrong companies.

Root cause: the database query placed the correct match near the top most of the time, so the evals were testing something far easier than intended. The author now randomizes record order and adds plausible-but-incorrect matches, exposing weaknesses that changing models or tweaking temperature never revealed.

Original post →

More from coding & agent

coding & agent channel →