GuardPair

constructor(a: String, b: String, shouldMatch: Boolean, category: String = "uncategorised")

Parameters

a

one prompt.

b

the other.

shouldMatch

true for a paraphrase (the two need the same answer, so a guard that rejects the pair costs a hit), false for a near miss (they need different answers, so a guard that abstains lets a wrong answer through).

category

free-form label for grouping a report, such as numeric or dosage.