Can AI metrics drive real improvements in bug detection systems?
Cursor replaced subjective judgment with an AI-judged resolution-rate metric to systematically improve Bugbot. The question explores whether this metric-driven approach actually produces better bug detection, or if it merely creates an illusion of progress.
Cursor's engineering team built Bugbot, an agent that reviews pull requests for "logic bugs, performance issues, and security vulnerabilities," saying they "found ourselves spending more time on review" as coding agents got more capable. By the vendor's own account, early iteration was mostly qualitative — "began with qualitative assessments" — until the team introduced "a metric called the resolution rate," which "uses AI to determine, at PR merge time, which bugs were actually resolved by the author in the final code." Cursor says this "changed how we built Bugbot. For the first time, we could hill-climb on the basis of real signal, rather than just feel." Across 40 major experiments since launch, the vendor's own figures report resolution rate rising "from 52% to over 70%," bugs flagged per run rising "from 0.4 to 0.7," and resolved bugs per PR "more than doubled, from roughly 0.2 to about 0.5."
The metric itself is AI-judged: an LLM classifies, at merge time, whether a flagged bug was actually fixed. Cursor says it checked this by spot-checking: "we spot-checked every example internally with the PR author and we found that the LLM correctly classified nearly all of them as resolved or not." Evaluation then ran both online, using "actual resolution rates," and offline against "BugBench, a curated benchmark of real code diffs with human annotated bugs." The excerpt also notes that many later changes "regressed" the metrics and that "a lot of our initial judgments from the early qualitative analyses were correct" — feel wasn't always wrong, it just couldn't be checked systematically before the metric existed. The largest single gain came "this fall," when Cursor "switched Bugbot to a fully agentic design" that could "reason over the diff, call tools, and decide where to dig deeper" instead of following a fixed sequence of passes.
This sits in tension with Do test pass rates accurately measure agent code quality?, which found an automated pass-rate metric overstated real mergeability — Cursor's resolution-rate metric is an attempt to close exactly that kind of gap by checking against whether a human author actually fixed the flagged issue, though the excerpt offers no outside audit of whether resolution rate itself overstates quality. It also gives a vendor-side counterpart to Why do developers keep using AI tools they don't trust?: rising AI-written code volume is exactly the review burden ("spending more time on review") that Stack Overflow's respondents report losing trust over. It parallels What problems did AIDE2's rewrites actually solve? in treating "building a better agent" as itself an engineering problem solved through iterative, metric-driven experiments rather than one-shot design.
The excerpt gives no independent audit of the resolution-rate metric or of Bugbot's output quality: the internal spot-check reports no sample size or disagreement rate, and "over 70%" and "about 0.5" resolved bugs per PR are stated without confidence intervals or an external baseline. Because these are the vendor's own figures from its engineering blog, they describe what Cursor optimized for and measured, not an outside verification that reviewing more than two million PRs a month at this resolution rate is reliable for the customers using it.
Inquiring lines that read this note 1
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
How reliably do benchmark metrics reflect actual model capability?Related concepts in this collection 4
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Do test pass rates accurately measure agent code quality?
Automated test scoring shows AI agents succeeding 38% of the time on real GitHub issues, but human review finds none of their pull requests actually mergeable. This explores whether benchmarks that rely on algorithmic scoring systematically overstate real-world agent performance.
resolution rate checks against human-fixed-or-not, aiming to close the gap METR's finding exposes in automated pass-rate metrics
-
Why do developers keep using AI tools they don't trust?
Explores the paradox where AI adoption rises to 80% among developers even as trust in accuracy drops sharply to 29%. Why does usefulness persist despite frustration with unreliable output?
gives the vendor-side counterpart: more AI-written code is exactly the review burden respondents report losing trust over
-
What problems did AIDE2's rewrites actually solve?
AIDE2 autonomously improved its own code over eight days. Did the seven accepted changes target real practitioner challenges in building agentic systems, or did they reflect artifacts of the system's own optimization process?
parallels treating agent-building as an iterative engineering problem solved through metric-driven experiments
-
Does agreement across multiple bug passes increase detection accuracy?
Cursor's Bugbot used parallel bug-finding passes with different diff orderings and required agreement to filter false positives. The question explores whether this multi-pass consensus approach reliably distinguishes real bugs from model artifacts.
sibling note on this source's majority-voting mechanism, one of the experiments behind this gain
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Building a better Bugbot
- Expenditure Horizon: Measuring Optimization Ability, with an Application to NanoGPT
- PostTrainBench: Can LLM Agents Automate LLM Post-Training?
- Research Update: Towards Reconciling Slowdown with Time Horizons (algorithmic vs holistic evaluation)
- Human-AI Synergy in Agentic Code Review
- What Does It Take to Be a Good AI Research Agent? Studying the Role of Ideation Diversity
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- Large Language Model Turnover Undermines Screening for Artificial Intelligence-Assisted Scientific Writing
Original note title
Cursor's resolution-rate metric let Bugbot hill-climb on real signal, lifting its resolution rate from 52 to over 70 percent