WK.
← Writing

Engineering essay · Applied AI

What passing regression tests does not tell you

What exactly have we proved when a test passes? That question matters more to me than the number of green checks.

In Ask Chicka, our established retrieval suite passed all 386 cases. A separate set of 40 unfamiliar questions told a different story: only 12 passed. That was a retrieval evaluation, not an evaluation of the accuracy of every answer the assistant could give.

Protect the old tests, but challenge the system

A regression test serves a purpose. It tells us whether something we already expect to work still works. But a system can perform well against the questions we know and still struggle with the ways real people ask for help. If I keep changing the questions until the system passes, what exactly am I measuring?

The decision was to preserve the failed result and keep the original questions unchanged. We could then investigate alternative retrieval approaches without pretending the original failure never occurred.

Look beyond the component that failed

The investigation also pushed us to distinguish finding relevant documents from having the right knowledge inside those documents. A model can retrieve the correct article and still give misleading guidance if an important business rule is missing. Better retrieval is not a substitute for better source material.

I think that is the more useful lesson here: identify what each test measures, what it does not measure, and what new evidence would make you change your mind. Passing a suite is not the same as finishing an investigation.

The research is still ongoing. I would rather be clear about what the system cannot yet do than present a result that I cannot defend.