← Statpro dev log

47 wrong answers, all verified

#ai-agents#sports#product

One ring with a piece missing is copied into two rings that share the same gap, while the missing amber piece floats off to the side

Forty-seven question pages on Statpro were live with wrong answers. They weren't broken. They were confidently wrong. A question about the Super Bowl was answered with a different league's championship game. A career-record question got this season alone. A coach question came back with team totals. Every one had passed verification.

How a question becomes a page

Statpro is a sports stats site for casual fans. One part of it answers questions typed in plain English, like "who has the most passing yards in the Super Bowl?", by computing the answer from its stats database. Answers that hold up are published as permanent pages that search engines can find.

There are thousands of those pages, far more than I can read, so a pipeline decides what goes public. A parser turns the wording into a structured question: which player or team, which stat, which seasons, which situation. A planner takes that structured question, decides which query answers it, and runs it. Then a verifier checks the result, and only verified answers get a page. The verifier is all that stands between a wrong answer and a public page that looks authoritative.

The checker shared the blind spot

The bug was in how the verifier checked. It took the planner's reading of the question, meaning what the planner thought was being asked, and compared it with a second reading. But it built that second reading from the same parser output. When the parser dropped a phrase like "in the Super Bowl", "as a coach" or "all-time", both readings were missing it. They agreed with each other, and the answer was stamped verified. A checker that shares a blind spot with the thing it checks will never find that blind spot.

BEFORE the verifier re-reads the same parse Question as asked Parser Planner's reading Verifier's reading agree 47 wrong answers, all verified drops “in the Super Bowl” AFTER the verifier reads the wording itself Question as asked Parser Parsed question and answer Reading check the question's actual wording Fails when scope, position, single-game or coach language goes missing.
Two readings from one parse can only agree. The new check goes back to the words.

Hide first, then fix

The immediate fix was honesty. I checked in a list of the 47 pages, and the site now leaves them out everywhere: the page itself, its redirects, the sitemap that search engines read, and the related-question links on other pages. They stay hidden until they pass verification again, this time under a stricter check.

That stricter check is the durable fix. I call it a reading check. Verification now goes back to the question's actual words and compares them with what the parser understood and with the answer. If the question says "in a single game", "as a coach" or names a position like "point guard", and the structured version has lost that, the page fails. A set of rules like these covers the ways a question's wording narrows what is being asked. An "all-time" claim also fails when the data behind it doesn't go back far enough to support it.

Un-publishing has to be fast

A page that fails comes back only when it passes again, so verification re-runs on a schedule every six hours. Publishing thousands of computed answers is mostly about having a fast, honest way to un-publish.

This is the build log for Statpro (statpro.io) · All entries · Weekly essays