SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review

· Source: cs.SE updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

SWE-Review is a framework for agentic code review that closes the loop on AI-generated pull requests (PRs). It enables a reviewer agent to explore a repository, decide on PR acceptance, and provide structured feedback for revision. The framework introduces SWE-Review-Bench, a benchmark of 1,384 PRs derived from 500 SWE-bench Verified issues, and SWE-Review-Traj, a dataset of 8,914 agentic review trajectories for training. Experiments demonstrate that agentic review continuously improves PRs through a generate-review-revise loop, raising resolve rates (e.g., Qwen3-30B-A3B from 27.5% to 56.9%). It outperforms single-turn fixed-context review in decision accuracy and resolve rate after revision, transfers to improve issue-resolution models, and enables effective and efficient test-time scaling.

Key takeaway

For machine learning engineers developing AI coding agents, integrating agentic code review is critical for moving beyond one-shot PR generation. Your teams should adopt a generate-review-revise loop, leveraging structured feedback to iteratively improve AI-generated patches. This approach significantly boosts resolve rates and enables more efficient test-time scaling compared to single-turn or verifier-based methods, making your AI agents more robust and reliable.

Key insights

Agentic code review closes the AI-generated PR loop by enabling adaptive, repository-grounded diagnosis and iterative revision.

Principles

Method

A reviewer agent explores the repository, makes a binary accept/request-changes decision, and provides a structured diagnosis to guide revision, forming a generate-review-revise loop.

In practice

Topics

Code references

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.