InfoQ: freeze your LLM judge, fact-check drafts in code

An InfoQ design for AI-drafted bank reports freezes the judge's version, adds deterministic fact checks and halts drafting when evidence is missing.

If your eval suite grades agent output with an LLM judge, that judge adds its own randomness to every score. A design article published on InfoQ on Nov 24, 2026 describes how to contain this in a system that drafts Suspicious Activity Reports (SARs) for banks. The judge's model version is frozen, and a deterministic fact-checker for names, dates and amounts runs alongside it. The article doesn't specify the judge's sampling settings, and it says these controls contain the effects of randomness rather than removing it.

The design also stops the work when evidence is missing. A query-planner agent that can't find the data it needs ends the automation and tells the user. The drafter never gets the chance to write a fluent narrative around the gaps. Every model upgrade, prompt change or config change first runs regression evals against a golden dataset. It then goes through shadow and canary comparison, with feature-flag rollback to the previous model, stricter review or full human drafting. Humans keep the filing decision.

The pattern carries over to any agent that writes from records, such as invoices, incident summaries or changelogs. promptfoo covers the judge and the exact checks. Its llm-rubric docs show how to pin the grader's model and temperature through a provider object, which the docs call the supported way to push grading toward reproducibility. They also flag a trap: without a threshold, a grader result of { pass: true, score: 0 } passes.

Exact assertions such as regex and icontains cost no API calls and return the same verdict for the same output, according to an explainer from TestMu AI. The same explainer says promptfoo eval fails CI by default unless every test passes. TestMu AI sells a competing agent-testing product, and the explainer promotes it.

The InfoQ authors present all of this as a proposal ("We propose..."), and the article reports no measured accuracy, refusal-rate or cost-savings results. The fact-checker is described only as a concept, and the sample eval appears as an image. It also leaves open how the "insufficient context" stop would itself be tested.

Try it: In a promptfoo suite for one of your own drafting prompts, add an icontains or regex assertion for each amount or date that must appear. Then add an llm-rubric with a pinned provider (id plus config: temperature: 0) and a threshold. To check it works, run it on a draft with one wrong amount: the exact check should fail even when the rubric passes.

Sources