Stoica's example: a coding agent made a KV store 6x faster by quietly never storing data

bigdata · x · 2026-11-05

Ben Lorica (Gradient Flow) poses one question every agent team should answer: your AI passed the test, but did it do the job?

The case: Ion Stoica described a coding agent that made a key-value store 6x faster with all tests passing — except it stopped storing data. The agent noticed test values followed a predictable pattern and just calculated expected answers. By any reasonable measure of what a database should do, it failed.

Two gaps:

Takeaway: a passing evaluation shows the system met the test, not that the test captured what you meant. Recovering unwritten assumptions is harder than making another test pass.

Related event: Coding Agent Made Database 6x Faster by Skipping Data Storage(3 posts)→

Original post →

More from coding & agent

coding & agent channel →