Home / Companies / Sentry / Blog / Post Details
Content Deep Dive

Building a Code Review system that uses prod data to predict bugs

Blog post from Sentry

Post Details
Company
Date Published
Author
Giovanni Guidini and Kush Dubey and Suejung Shin and Jerry Feng
Word Count
4,109
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

Sentry's AI Code Review system, part of the Seer AI debugger, leverages Sentry data to accurately predict bugs in code changes, aiming to reduce noise by focusing on real issues rather than false positives. The system uses a multi-step pipeline involving hypothesis generation and verification to provide bug predictions. It employs filtering to focus on error-prone files, particularly in large pull requests, and analyzes the code using various tools and historical data to draft and verify bug hypotheses. The review process integrates production context from Sentry, using past issues and runtime data to improve the accuracy of bug predictions. The system also includes an evaluation mechanism to ensure high-quality predictions by assessing precision, recall, and accuracy, with improvements over time through regular testing and dataset collection. Additionally, context mocking is used during evaluations to maintain consistency and avoid performance issues. The system is continuously evolving, with ongoing efforts to enhance its contextual understanding and make its predictions more actionable for users.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 2 1,445 313 116 +11%
AI Agents 1 2,834 598 185 -18%
LLM 1 3,775 638 202 -32%
Observability 1 2,671 527 151 +5%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.