# CodeReviewBench: An Automated Benchmark for Evaluating the Software Factory

> CodeReviewBench scores review tools by matching bot suggestions to later developer actions in public GitHub PRs, with daily refreshes. Across 11 shared tools, online and offline precision rankings correlate (ρ=0.69); F₁ rankings do not.

- arXiv: https://arxiv.org/abs/2611.26942
- Authors: Ashley Zhang, Narmeen Fatimah Oozeer, Aleksandr Zverianskii, Daniel Ng, Tasana Pejovic, Antía García, Jacob Clyne, Ravpreet Setia, Akshay Utture, Etan Jacob Ginsberg, Shriyash Kaustubh Upadhyay, Fazl Barez
- Published: 2026-11-24
- Topic: Language
- Visual carousel: https://instaxiv.com/p/2611.26942
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can developer actions measure code-review quality?

**ρ = 0.69** Spearman ρ: online/offline precision (n=11)

## Who decides whether a review helped?

**Expert gold sets:** Third-party reviewers label issues on small, fixed benchmark sets; the PR author decides what to fix.

**Revealed behavior:** CodeReviewBench mines public GitHub events daily, using a later matching developer action as a usefulness signal.

A 50-PR expert set remains as an independent check.

## A daily stream becomes a benchmark

![Figure 1](https://cdn.instaxiv.com/figures/2611.26942/figure1.webp)

Daily: discover PRs with bot reviews, fetch GitHub API context, assemble timelines, judge suggestion/action matches, then label for stratification. The pipeline has judged 500K+ PRs across 18 tools. (Figure 1)

## How an event becomes a score

1. **Split the timeline**: Only merged PRs count: pre-review commits are context; post-review diffs, comments and decisions may reveal developer actions.
2. **Extract both sides**: An LLM separately extracts actionable suggestions and developer actions.
3. **Match within the PR**: Within that PR, match substantially the same concern; partial overlap counts. No cross-PR tracing.
4. **Score each PR**: Precision: share of suggestions matched; recall: share of developer-addressed issues matched. Each PR counts equally.

## Silence cannot score a review

**The noisy stream:** Among 518K merged bot-reviewed PRs, over half showed no human activity after review; silence can mean an ignored suggestion or one never seen.

**Default filters:** In Feb-Apr 2026, exclude bot-authored PRs, cap each author–repo–bot at 50, and require a post-review human comment or commit; 41.3% of base remains.

A response is a signal, not proof of causation.

## No tool leads in both precision and recall

![Figure 9](https://cdn.instaxiv.com/figures/2611.26942/figure9.webp)

Across 15 tools (default filters, Feb 16-Apr 20, 2026), none reaches the high-precision/high-recall corner. CodeRabbit ranks #1 in recall (48.9%) but #14 in precision (51.2%); Graphite ranks #2 in precision, #14 in recall. (Figure 9)

## Precision aligns; F₁ does not

**Cross-benchmark:** For 11 shared tools, online precision ranks correlate with 50-PR expert-set precision ranks (Spearman ρ=0.69, p=0.019); F₁ ranks do not (ρ=−0.05), because recall uses different issue sets.

**Human validation:** On 150 comments, expert-rated accuracy correlates with online precision across 11 tools (ρ=0.688, p=0.019).

Together, these checks support a useful proxy, not ground truth.

## What the score cannot settle

- **Action is a proxy**: A useful but deferred suggestion scores like an ignored one; later-PR fixes and issues missed by both remain invisible.
- **Teams self-select**: Teams choose tools; rankings remain similar after controlling for nine observed factors, but unmeasured repository differences may remain.
- **Public GitHub only**: Enterprise review policies, security needs and codebases may differ; private use was not validated.

## Key takeaways

- Developer actions scale a signal of developer-aligned usefulness, but are not objective review truth.
- Set filters and precision–recall weights around the team's tolerance for missed issues versus low-value comments.
- Let daily scores flag shifts, then check them offline; transfer to private enterprise workflows remains untested.

## Links

- arXiv: https://arxiv.org/abs/2611.26942
- PDF: https://arxiv.org/pdf/2611.26942

## Citation

```bibtex
@article{zhang2026codereviewbench,
  title   = {CodeReviewBench: An Automated Benchmark for Evaluating the Software Factory},
  author  = {Zhang, Ashley and Oozeer, Narmeen Fatimah and Zverianskii, Aleksandr and Ng, Daniel and Pejovic, Tasana and García, Antía and Clyne, Jacob and Setia, Ravpreet and Utture, Akshay and Ginsberg, Etan Jacob and Upadhyay, Shriyash Kaustubh and Barez, Fazl},
  journal = {arXiv preprint arXiv:2611.26942},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.26942}
}
```
