Repository-aware review loops for AI-generated pull requests
Teams accepting AI-generated pull requests can add an automated review pass that has the same minimum evidence requirements as a human reviewer: inspect the repository, run commands, decide approve or request changes, and return concrete repair guidance. SWE-Review gives a workable shape for this workflow. Its reviewer takes a repository checkout, an issue, and an AI-generated PR, then produces a merge decision plus a diagnosis for revision.
The practical target is the PR that looks plausible in the diff while leaving the issue unresolved elsewhere in the codebase. In SWE-Review, iterative generate-review-revise raised SWE-bench Verified resolve rate from 27.5% to 56.9% for Qwen3-30B-A3B PRs and from 50.9% to 68.8% for Qwen3-Coder-30B-A3B PRs. A cheap internal test would run the loop on the last 50 AI PRs that required human rework, then compare three numbers: correct reject rate, accepted bad PRs, and fixed-after-review rate.
Sources
- Document 1788