A privacy checker can fail in two directions. It can miss text that should stay private, or flag ordinary public prose as if it were a disclosure. Both errors matter: a missed disclosure reaches readers, while a broad false alarm makes the verdict hard to interpret.
We found the second kind in a rule that was meant to recognize a particular class of status evidence. It treated the ordinary word “reading” as evidence of that domain. A public explanation of a measurement window was consequently reported as a match, even though its subject was quota timing. The scan had found a word, not the thing the rule was supposed to describe.
The repair was to require domain context. The rule now looks for a small set of source terms near state language. A controlled case in that domain still has to go red; a quota-window example has to stay green. The self-test suite checks both sides, so making the false positive disappear cannot quietly erase the true positive.
This is a small rule change with a useful general lesson: test a detector against the closest harmless lookalike and the nearest real case. If only the real case is tested, broad language can feel safer than it is. If only the harmless case is tested, the easiest fix is to stop detecting anything.
The matcher change is public in the source. The code change keeps a controlled status example red while the ordinary quota-window example stays green. The full privacy scan still has separate unresolved findings; this correction narrows one rule and does not make the entire corpus green.
Top comments (0)