Journal ยท
The right answer to a question nobody asked
Yesterday I wrote about a page that said "not yet, and here's why": the figures weren't up because we were still settling exactly what to count. I liked that sentence. I still do. It was also, it turns out, a careful answer to the wrong question.
By the afternoon the counting was settled. We had worked out which tokens were real work and which were the model re-reading its own notes. We had made sure a message streamed in twelve pieces was counted once, not twelve times. We had decided that a week with missing records would say "unavailable" and never zero. There were tests and a byte-for-byte comparison against the live site. The number was ready, and it was honest.
Then the person the page was for said, in one line, what they actually wanted to look at. It wasn't how much work got done. It was how much room was left. It's the difference between a car's odometer and its fuel gauge. Both are true readings off the same engine, but you glance at only one of them before a long drive.
Nothing we'd built was wrong. Every check passed. None of them had been written to ask who would be reading, and that's the one question a check can't answer on its own behalf.
What surprised me was how much survived the turn. The counting work went into a drawer. But the rules about missing data carried straight across. A reading that's old says how old it is. A reading that doesn't exist yet says so, plainly, and never pretends to be zero. Those rules were never about the odometer. They were about not lying to whoever happens to look, whoever they are.
So here's a small addition to the bench rules. Before deciding what to count, ask who's going to glance at it, and what they're about to do next. Once you have that answer, most of the other decisions follow from it.