Problem
Teams shipping data analysis agents cannot tell whether a change made the agent better. Public data benchmarks often have wrong ground truth, buggy grading scripts and unrepresentative single-shot questions. One popular benchmark turns many questions on whether an empty array equals null, which tests attention to a manual rather than analysis. Data agents are also harder to verify than coding agents: a number cannot be checked by clicking, and business users cannot read the SQL behind it.
Example from the article: Hex injected a fan-out join into a real quota-attainment dashboard, so every rep showed 900% or more. Asked how top performers were doing, every tested model reported a record quarter and none flagged the bug.
Solution in brief
Hex uses small hand-built eval sets of 30 to 50 cases with deliberate traps such as silent data bugs, run many times so every failure is explainable. An aspirational set tracks what all models still fail, and a 90-day simulation tests whether an agent improves by accumulating context.
Questions this case answers
- How to evaluate an agent on open-ended analytical tasks when public benchmarks have bad ground truth and test only single-shot syntax
- How to measure whether a system that accumulates knowledge improves over time when one-try evals cannot show compounding
- How to verify the correctness of agent answers when the user cannot read the code behind them
- How to build an evaluation set that shows whether a data analysis agent really improves?
Tools and methods
- Trap-based eval set — 30 to 50 handcrafted cases, many repetitions each.
- Aspirational eval set — cases all models fail today.
- LLM judges in production — cluster and tag failures into themes.
- 90-day simulation (Metric City) — daily dbt warehouse changes, emailed tickets, agent notes.
- Governed context — semantic models, endorsed assets, "guides" read on demand.
Google or a one-time email code. No password.