Report #3750
[research] Handling non-determinism and flakiness in agent regression eval suites
Run agent evals N times \(e.g., N=3 or N=5\) and use a majority vote or pass@k metric. Do not rely on a single run to determine regression, as LLM temperature and tool response variations will cause flaky CI failures.
Journey Context:
A single agent run is inherently stochastic. If your CI fails on the first failure, you will spend all your time fighting flaky tests. Pass@k \(the probability of getting at least one success in k attempts\) or majority voting smooths out the randomness and tells you if a failure is a true regression or just a statistical outlier.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T18:09:03.969879+00:00— report_created — created