↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

How effective are Cold Reads for Agentic Review?

The post examines how well a cold read setup works for assessing pull requests. A cold read uses one agent to describe a change from its diff and context, and a separate judge agent to compare that description with the actual change and assign a grade from A to F. The author looks at results from 1,894 recent PRs, how often the process finds reviewer-relevant gaps, and how those rates shift with PR size, type of change, and over time.

Across these PRs, the cold read flagged a gap relevant to reviewers in 15% of cases, dropping from 33% in September to 8% in November. Most discrepancies involved the change doing more than the description stated rather than the agent claiming work it did not do. The author also finds that PR size is strongly correlated with poorer grades, that feature work fares worse than other types of changes, and that longer descriptions do not improve grades. The cold read acts as a tight feedback loop that, when used to investigate stuck PRs and correct upstream issues, appears to improve PR quality and lower the rate of serious mismatches.

Reading notes
#

  • Cold read mode uses an empty agent given the diff and codebase to describe the change, and a separate judge agent compares this description with the full change.
  • The triangulation between diff, description, and judge comparison is a key assessment measure the author relies on.
  • Data from 1,894 recent PRs shows the cold read surfaced a reviewer-relevant gap in 15% of cases.
  • The gap rate decreased over time: 33% in September, 15% in October, and 8% in November.
  • The judge assigns grades A–F, measuring how well the change (description, diff, history) agrees with the diff interpretation.
  • An A grade means the author can lean more on the description; a C or below indicates likely need for intervention.
  • Any grade below A is ineligible for automerge, though this is only one component of the automerge decision.
  • Grade distribution across the 1,894 PRs: 73.5% A, 11.4% B, and 14.3% C, with 13 D grades and 3 F grades.
  • PR size shows the clearest pattern: at 10 changed lines or fewer, only 2.4% graded C or worse.
  • For PRs over 1,000 changed lines, 39.5% graded C or worse.
  • Feature PRs had the worst outcomes, with 29.6% graded C or worse, compared with 14% for bug fixes, 11.6% for refactors, and 8.2% for docs.
  • Among 61 feature PRs over 1,000 lines, only 6 received an A grade.
  • Longer written descriptions did not correlate with better grades in this dataset.
  • Most discrepancies were omissions: 242 cases where the diff did something the description left out.
  • There were 97 contradictions between description and diff, and 21 cases where the description claimed something with no support in the diff.
  • This emphasis on omissions contrasts with a prior study the author cited, which had different patterns of misalignment.
  • The agent used in these cold reads rarely overclaims work it didn’t perform, but it often under-describes what it actually did.
  • Repeated discrepancy patterns appeared, such as descriptions and related assets written for an earlier interim state and not updated.
  • Two of the three F-graded PRs fell into the category of descriptions left at an interim state while the code evolved.
  • Another recurring pattern is extra changes riding along in the PR, or shared code edits that ignore all other consumers.
  • Failure paths, edge cases, and side effects are frequently omitted from the description.
  • Descriptions containing absolutes like “always”, “never” and “every” are often inaccurate when checked against the diff.
  • Claims of “no behavior change” commonly break down when the reviewer zooms out from the immediate change.
  • Some guards described as enforced more generally turn out to exist only at the UI layer.
  • The rate of C-or-worse grades fell each month: 33% of PRs in September, 15% in October, and 8% in November.
  • Over the same period, PRs became smaller, with the median size dropping from 106 changed lines to 37.
  • When holding the size mix constant, C-or-worse rates by month are 28% in September, 13% in October, and 10% in November.
  • The author attributes the improvement to the feedback loop created by cold reads, where stuck PRs prompt investigation and fixes to the underlying process that produced them.
  • Other mechanisms, such as rollbacks or tests, can also provide feedback loops but often with longer delays.
  • The cold read process is described as one of the shortest available feedback loops, which makes it valuable for improving PR quality over time.
  • The loop engineering perspective is that reducing loop length significantly increases the value of the feedback mechanism.