Read the original at Lenny’s Newsletter ↗lennysnewsletter.com · subscriber post
By Lenny Rachitsky · lennysnewsletter.com · @lennysan on X · YouTube · LinkedIn
Hamel Husain and Shreya Shankar argue that most teams skip error discovery and jump straight to writing eval metrics, which leads to measuring the wrong things. The post presents error discovery as the eval equivalent of product discovery, walks through a three-step workflow using a coding agent and a free eval skills plugin, and cautions about criteria drift and the limits of automated detection.
Subscriber post — summary only01Key takeaways
- Error discovery should come before writing metrics, since early metrics often rest on unexamined assumptions about what matters.
- Reviewing examples shifts your definition of good, so define success criteria after reviewing failures rather than before.
- Agents catch obvious in-trace failures but miss product-judgment issues and produce false positives, so keep a human in the loop.
- Use diverse samples, follow up on each failure type, and annotate roughly 100 traces before trusting automated suggestions.
- Render outputs the way users see them and expose metadata like channel so reviewers can filter and spot patterns.
“This is why error discovery is the eval equivalent of product discovery.”Hamel Husain and Shreya Shankar · Lenny’s Newsletter
“Good error discovery identifies which failures are worth measuring and tracking over time.”Hamel Husain and Shreya Shankar · Lenny’s Newsletter
02Frameworks mentioned
Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.