SYNTHESIS NOTE
Topics›Agent Harness›this note

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.

Synthesis note · 2026-11-12 · sourced from Agent Harness

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.

Concept map
13 direct connections · 106 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

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