Link copied
Blog › A Fix That Swings From Zero to Everything Is Not Yet a Fix
AI Workflow

A Fix That Swings From Zero to Everything Is Not Yet a Fix

KG
Teh Kim GuanACMA · CGMA
2026-10-23 · 6 min read
A Fix That Swings From Zero to Everything Is Not Yet a Fix

On the evening of 27 September I measured the same task board three times and got three answers: 0 of 281, 131 of 131, and 107 of 131. The board did not change. The instrument did.

A measurement you built to find a problem will confirm whatever its own construction allows. A reading of 0% or 100% is more often a defect in the instrument than a finding about the world.

The question

My task board carries 131 items marked HOT, meaning "do this first." A HOT label is a claim that the item is live. If an item sits HOT for weeks and nothing in the working record ever mentions it again, the label has stopped meaning anything. I wanted a number for that: of the HOT items, how many are dormant, with no mention in the last 72 hours of work?

The number mattered because an experiment was running on it. The experiment measured whether a nightly demotion routine could shrink the dormant share. It had a baseline: 98.4% dormant.

Reading one: 0 of 281

The original probe took each task, stripped common words, and searched the last three days of logs for a six word phrase taken verbatim from the task text.

It found a match for none of 281 rows. Not low. None.

That should have been the first alarm. Instead it was read the other way, as the board being nearly all dormant, which fit what I already believed. The 98.4% baseline came from this probe.

The probe could not have matched anything. A six word run of distinctive words, compared verbatim, almost never reappears in prose written by a different hand on a different day. People refer to a task by its name, its client, a number. They do not repeat its sentence. The instrument was zero by construction, so the experiment's baseline measured the probe and not the board.

Reading two: 131 of 131

I rewrote the test to be looser: four word runs, anywhere in the window. The result flipped to the other extreme. Every one of the 131 HOT tasks was "mentioned."

The cause took longer to find. The window selected files by modified time. The journal file and one other log are very large, and the main one is 498 KB. They had been touched recently for unrelated reasons, so they entered the 72 hour window whole. Inside 664 KB of text, almost any four word run from any task will appear somewhere. The window had stopped being about the last 72 hours and become about the whole recent corpus.

Two readings gave two opposite failures from one cause. I trusted the instrument's output without checking it against the thing it measured.

Reading three: 107 of 131, later 115

Four readings of the dormant share on one board: 98.4%, 0%, 82% and 87.8%, with the two extremes marked as instrument defects

The repair had four parts.

  • Select journals by the date in the filename, not the modified time.
  • Strip the tail of each task line, which carries metadata that never reappears.
  • Use distinctive words in a window, not verbatim runs.
  • Scope the keyword test to a single log entry, not the whole file.

The live reading became 107 of 131 dormant, 82%. A further correction in the shared tool moved it to 115 of 131, 87.8%. I believe the second figure over the first, because the correction removed a stop word list tuned for short entries. That list counted words like "because" and "system" as distinctive against long daily entries.

The movement from 107 to 115 is a lesson in itself. A repaired instrument is still an instrument. It gets better by being run again against real data and read critically.

Fact, inference, recommendation

Fact. The first probe returned 0 of 281. The second returned 131 of 131. The third returned 107 of 131, then 115 of 131 after a shared fix. All three ran against the same board within about a day.

Fact. The experiment's baseline of 98.4% was set from the first probe. It has been re-baselined.

Inference. Roughly 88% of HOT tasks are owed a single click by me: a reply, an approval, a payment authorisation. They are not dormant because they are hard. They are dormant because they sit in a queue where a click costs a context switch. I hold this with moderate confidence. It rests on reading a sample of the dormant rows, not all 115.

Recommendation. Two rules for any predicate you run over a corpus.

  1. Before you commit a change to a test, print the count before and after on the real data.
  2. Treat any result of 0% or 100% as a defect in the corpus or the instrument until shown otherwise. A world that returns a round number has usually been measured by a ruler that cannot return anything else.

Why the real data matters more than the test cases

The instrument had self tests, and they passed at every stage. A test case you write checks the cases you thought of. The two failures here were cases I had not thought of: a log that is half a megabyte, and a phrase that no one repeats.

The real data supplied both for free. It took a single run of the live count to expose each failure, not a thousand synthetic cases. This is the discipline an accountant applies to a new report. Before you trust a variance analysis, you tie one line back to the ledger by hand. If the tie does not work, nothing downstream does. The same argument for putting the check outside the thing being checked runs through what running fifty-odd agents taught me about the verifier and through the case for an eval harness.

The cost of the false baseline

For about a day a controlled experiment ran against a baseline that measured the probe. Had I not caught it, the experiment would have shown the nightly demotion routine "reducing" a dormant share from 98.4% toward whatever the broken instrument returned, and I would have reported success or failure on noise.

False baselines are the quiet cost of home built metrics. The decision looks data driven, but the data is the instrument's habit.

Practical checklist

Run this before you trust a new count on a corpus.

CheckWhat it catches
Print before and after counts on live dataA change that moved the number for the wrong reason
Flag 0% and 100% resultsInstruments that can only return an extreme
Read five matched and five unmatched rows by handFalse positives and false negatives alike
Look at the size of the largest file in the windowA single file dominating the match space
Share the predicate with every consumerTwo tools drifting apart on the same question

The last row is not decoration. A second tool in my system carried a private copy of the retired test. The moment the first was fixed, the two disagreed. They now import one function.

The number I trust

The number I trust is 115 of 131. I trust it for a reason I can state: the rows that matched and the rows that did not were read, and I know which file nearly broke it. If your next metric comes back as a perfect zero or a perfect hundred, ask what the instrument would return if the world were different before you ship the dashboard.


Part of the Operating Principles series from KG Consultancy.

About the Author
KG
Teh Kim Guan
Product Consultant · General Manager, PEPS Ventures

Strategy and technology are the same decision. Over 15 years in fintech (CTOS, D&B), prop-tech (PropertyGuru DataSense), and digital startups, I have built frameworks that help founders and executives make both moves at once. Based in Kuala Lumpur.

More from the blog
AI Workflow
The Honour Rule: Written Rules Versus Enforced Ones
A control went live and blocked the person who wrote it ten minutes later. A written rule and an enforced rule are different objects, and agent governance mixes them up.
2026-10-30 · 6 min read
AI Workflow
Green on the Wrong Artifact
Four times in one week a check passed while the thing users would load was broken. The checks were honest. They were aimed one step short of the user.
2026-09-25 · 5 min read
AI Workflow
The Wrong Note That Kept an Outage Alive for Eight Nights
A confident wrong note in my knowledge base turned a five-minute fix into eight failed nights. Judge a job by the state it changes, not by its exit code.
2026-09-18 · 6 min read
Work with KG

Working on a 0→1 product?

I help founders and operators go from idea to validated product. Let's talk about yours.

Get in touch →