Metamorphic test flagged 72 bad LLM receipt extractions — 68 were bugs in my own harness

Beneficial_Use2116 · reddit · 2026-11-26

A developer built an open-source (MIT) library for label-free LLM output checking via metamorphic testing: transform inputs in ways that shouldn't change the answer and flag mismatches. On 535 scanned receipts (ICDAR-SROIE), the first run flagged 72 — but 68 were artifacts of shuffling every line. After permuting whole blocks instead: flagged receipts were 2.7x more likely wrong, 75% of flags were real errors, recall only 8%. Transform design mattered more than the model.

Related event: Metamorphic Testing Flags 72 Suspicious Invoices, But 68 Turn Out to Be Developer's Own Bugs(2 posts)→

Original post →

More from coding & agent

coding & agent channel →