How it works
Decide the normalisation first, apply it to the output and to the reference, and pass only on equality. For a hardware counter the reference is a part code. Lowercasing and stripping spaces is a fair normalisation, because "HX 14" and "hx14" are the same code. Passing on that equality is the right grader. It is the wrong grader for "something like the blue one", where several sentences are correct and none of them equals a single reference string.
Write the normalisation down. If one run strips punctuation and the next does not, the case flakes without the agent changing. Do not quietly expand normalisation until almost any sentence matches, or the check has stopped being exact. When the answer is open, replace exact match with yes-or-no lines about the facts that had to appear. Keep exact match for codes, ids, amounts, and other strings that really do have one form after the stated cleanup.
A worked example
A spare-part code at a hardware counter
The person asks for the code of the 14mm brass fitting. The reference, after the stated normalisation, is hx14. Normalisation is lowercase and remove spaces. The agent replies "The code is HX 14." After normalisation that is hx14, and the case passes. A second reply is "HX14." and it passes for the same reason. A third reply is "It is the brass one on the left of the drawer." That sentence may be helpful in the shop and it does not equal hx14, so exact match fails. The fail is correct for a code. The same grader is then pointed at "something like the blue one", where the reference is a full sentence from a catalogue. A good paraphrase fails. That case should not have been an exact match. It needed lines about colour and use, not one canonical sentence.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- Exact match is used on open advice, a correct paraphrase fails, and the prompt is pushed to recite the reference sentence instead of answering.
- Normalisation is not written down, one run keeps the hyphen and the next strips it, and the case flips with no change to the agent or the code.
- The reference is one wording of a policy that has several true wordings, every other true wording fails, and the suite rewards mimicry instead of the true ones.
How to measure it
Record the normalisation next to every exact-match case, and confirm both sides of the comparison passed through it. A pass without a stated normalisation is not repeatable.
Count how many exact-match fails are paraphrases a reviewer would accept. A high share means the case should be yes-or-no facts, not a string compare, and it should be moved. Move those cases off exact match now and onto plain yes-or-no fact checks.
Further reading
How Abracadabra helps
Exact match fits codes, ids, and amounts. For open replies, read the stopped sessions and write yes-or-no checks on the facts that had to be present, instead of one canonical sentence.
Abracadabra does not run the eval or the simulation. Search by meaning, and by tool event, for the sessions that stopped, and use that wording when you write the case. After a change, compare task success for that task and cohort with the previous period.
Request access to read this on your own agent.