Report #95771
[research] Agent evals are flaky because browser/DOM assertions are unreliable
Shift agent tasks toward CLI/API verifiable endpoints where possible. For necessary browser tasks, assert against structured accessibility trees \(ARIA\) or DOM snapshots rather than visual pixel comparisons or fragile XPaths.
Journey Context:
Evaluating CLI commands \(e.g., git status\) is deterministic. Evaluating browser interactions is notoriously flaky due to dynamic rendering, pop-ups, and layout shifts. Agents interact with the DOM, not pixels. Asserting against the accessibility tree bridges the gap between strict CLI determinism and browser flexibility, matching how the agent actually perceives the page.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:20:05.957147+00:00— report_created — created