Skip to content

Blog

Replay Ground Truth, Not Plausibility: Verifying a New AI-Facing Data Format

A new block schema for LLM-generated output sailed through spot-checks of fresh cases — but 'new output looks reasonable' was never an acceptance test. The bar that held: hand-encode six already-verified historical decisions in the new format and require exact, sign-correct reproduction across three scenarios, with the one known gap carved out in the open.

Keep the LLM Out of the Arithmetic: Let It Classify, Let Code Compute

When an LLM-backed feature needs both judgment and precise numbers, letting the model do the math produces subtle, silent errors. The fix that held: restrict the model to a closed set of about 11 structured categories, delegate every calculation to deterministic code, and treat unsupported inputs as an explicit, logged outcome rather than a fabricated fit.

The Judge That Couldn't Disagree

An LLM in the reviewer's seat rated 91% of items 'easy' — 56% agreement with humans, below a trivial always-easy baseline. The culprit wasn't the model — it was two fields in the judge's prompt. Blinding and calibration anchors recovered 22 points on the same frozen set.

A Suggestion With a Success Rate: Enforcing Provenance in LLM Drafting

A drafting assistant filled a subjective gap with a plausible guess and shipped it as fact. The prompt said 'never invent data' — and the safety bar still failed at 87.5%. The fix that took us to a verified 100% wasn't better wording; it was a code-level provenance check that treats every untraceable value as a question the user should answer.