Unit test benchmarks for OCR


Hey,

Joe Barrow and I talked through unit test benchmarks for document parsing and looked through many examples. Here's what we cover in the recording:

  • Why single ground-truth parses doesn't exist
  • How unit tests scale coverage across diverse pages instead of dense full-page annotation.
  • Where LLM-as-a-judge (and decision models like Jev) fit, how position bias and implicit prompt assumptions happen, and why narrowing a judge to specific failure categories works best.
  • What makes a good unit test suite, plus building quick custom data viewers with coding agents.
  • And much more!
video preview​

Isaac

P.S. We're considering another cohort of PDF to Production. If you are interested please let me know so can can take that into account.

Isaac Flath

Every post comes from something I've done on a real project. AI tools, development approaches, how I actually build things. You're getting a curation of my taste, not takes on stuff I don't use. Subscribers also get extras: things that went wrong, how my thinking about AI is changing, hacky workflows I use every day, and the occasional personal update. Stuff I share with subscribers because it's a little too personal or unpolished to blast across the internet.

Read more from Isaac Flath

Three things to share: Free unit testing for document benchmarks talk soon, last weekend’s course, speculative decoding video. Here we go. Joe and I will be talking about Unit Testing for document benchmarks on Wednesday. Studying benchmarks is a great way to understand the limits of current models, and a great way to learn how to evaluate your own models better. A benchmark is just someone else’s evals, and so you can learn a lot by studying them. Join us live here.ast weekend's course went...

Hey, Registration for PDF to Production closes tomorrow, November 13. Joe Barrow and I teach this Saturday, November 14, from 10 a.m. to 6 p.m. Eastern. It’s $500, including recordings, notebooks, $1200 of vendor credits, and 30 days of follow-up support. See the curriculum and register: https://isaacflath.com/pdf2production If you'd rather stick to free resources and piece things together yourself, check out the Document Roadmap. It goes through an overview of key misconceptions and key...

Hey, There's been a ton of valid skepticism around benchmarks recently, but there's a lot of good reason for optimism too! Joe and I are going to discuss one of those in the document space, which is how unit tests are being used in benchmarks. And all of this is applicable to your own product's evals. After all, a benchmark is just another person's evals 😅. This Wednesday, Joe and I are discussing why unit tests make strong OCR benchmarks and how to design them. We’ll work through examples...