LangChain
Read post

Evaluating code review agents with ReviewBench

LangChain built ReviewBench, an internal benchmark for evaluating code review agents using real PR feedback from their LangSmith mono-repo. Rather than synthetic bugs, it uses curated comments from trusted reviewers, filtered through an LLM gate and manual review to isolate substantive, verifiable defects. Tasks are written in Harbor format and scored on F1 combining coverage (did the agent find the real issue?) and precision (were its findings valid?). Current models with a basic harness recover only ~30% of baseline issues. A key finding: prompting strategy matters significantly — adding a structured review prompt to one model (Luna) substantially improved its score without changing tools or the model itself, suggesting that how an agent approaches review is as important as which model powers it.

    #ai-agents#code-review#langchain
Jul 31•6m read time•From langchain.com
Post cover image
Table of contents
Start from real reviewsTurning review comments into eval tasksWhat a benchmark issue looks likeRunning ReviewBench with HarborHow scoring worksResultsWhat comes next
203 Impressions
LangChain's image
LangChain

Langchain is a publication focusing on programming languages, language design, and compiler developm...

633 Followers

•

2.4K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard