CorpusScore
One guard's confusion matrix on one corpus.
The two numbers that matter are caught and falseRejections, and neither means anything without the other. A guard that catches everything by rejecting everything has turned a cache into an expensive proxy; a guard that never falsely rejects because it never fires does nothing while looking like it does something. Read them as a pair, always.
Constructors
Properties
catchRate with the range the corpus supports.
Pairs where the guard's verdict depends on which prompt arrived first.
Share of paraphrases wrongly rejected, in [0.0, 1.0]. 0.0 when the corpus has none.
falseRejectionRate with the range the corpus supports.
Paraphrases this guard rejected: real hits it would have cost, one API call each.
Pairs whose answers must differ.
Pairs whose answers may be shared.