My audit printed 0 of 0 and called it a pass
Three of the phases in my audit printed this: clusters=0 files=0 judged=0/0 open=0 claim=AHEAD verdict_file=absent Nothing had been examined. No verdict file existed. The audit concluded the phase was ahead of everything it was supposed to be compared against. It is not a bug in the comparison. Every number is correct. judged=0/0 is a true statement about zero things, open=0 follows from it, and…
During my audit, all three phases indicated "ahead" with zero output, claiming a successful pass. No items were examined, no verdict file was created, and the phase was declared ahead of the comparison it was supposed to measure against. The verdict of "ahead" was correct based on the zero numbers, but it was still an empty run.
The audit appears as completely green, but it's wrong because the phases had never been examined. The fix is to add a third value for "void," meaning the phase was not measured at all. This third state is distinct from "pass" or "failure," and it's crucial for accurate reporting.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.