I'm building AnalyzeIt in public. This week I learned how easy it is to fool yourself with a benchmark.

The setup

I built a hook that cuts the tokens an AI assistant spends on data questions. I tested it on questions I had written while building it. Result: -49% tokens.

The reality check

I wrote a fresh set of questions and ran the same hook without touching it. The saving was -10%. Four answers were wrong.

Why

I had tuned the hook to the shape of my own questions, so the first number measured how well I knew my test set.

What I do now

  • I fix classes of questions, not individual ones.
  • I rotate in a new held-out set after every change.
  • I report the held-out number, not the tuned one.

Takeaway

If you write both the code and the test, assume the first number is inflated. Ask what a stranger's questions would show.

What do you do to keep your own evals honest?