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.
More from coding & agent
- Vibe-coded jet game is now a full game: 8v8 dogfights, 5 maps, 5,000-player load test with zero drops — GCWebDesigner · 2026-11-26
- Karpathy builds a real-data Civilization map of the US: 45K lines of code, 31 official data sources — karpathy · 2026-11-26
- User hands Claude a YouTube channel to auto-produce a 3.5-hour AI Slop Thanksgiving parade — edc1591 · 2026-11-26
- Metamorphic test flagged 72 bad LLM receipt extractions — 68 were bugs in my own harness — Beneficial_Use2116 · 2026-11-26
- AI Foundations Roadmap for software engineers, reimagined as a visual bookshelf — CatAstro_Piyush · 2026-11-26
- Claude drives Unreal Engine 5.9 via MCP: auto-rigging a playable cat knight character — gorkem · 2026-11-26