REVIEW 4 major objections 9 minor 66 references
Reviewed by Pith at T0; open to challenge.
T0 means a machine referee read the full paper against a public rubric. The mark states how deep the mechanical check went, never who wrote it. the ladder, T0–T4 →
T0 review · glm-5.2
Agentic Code Review Closes the Loop on AI Patch Generation
2026-07-08 17:30 UTC pith:SKQSRH34
load-bearing objection Solid system paper on agentic code review for AI-generated PRs. The main experimental design has one real gap — no blind-retry control at benchmark scale — but the paper provides enough partial controls to keep the central claim standing. the 4 major comments →
SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The paper's central discovery is that the value of code review for AI-generated patches comes not from having more context but from adaptively gathering the right evidence — tracing call chains, running reproducers, comparing implementations — before committing to a judgment. This adaptive exploration lets the reviewer catch symptom fixes that single-turn reviewers approve, and the structured diagnoses it produces carry actionable signal beyond a binary accept/reject: in a controlled ablation, providing the full diagnosis raised post-revision resolve rate to 21% compared to 8% for decision-only feedback and 3% for no feedback, recovering about two-thirds of the gap to an oracle reviewer with
What carries the argument
The generate-review-revise loop, the agentic reviewer with structured JSON output (decision + diagnosis), SWE-Review-Bench (1,384 candidate PRs from 500 SWE-bench Verified issues across three generators), SWE-Review-Traj (8,914 decision-correct review trajectories), three evaluation metrics (Completion Rate, Decision Accuracy, Resolve Rate after Revision), and the mixed-training regime where a single model serves as both patch generator and reviewer.
Load-bearing premise
The paper's Resolve Rate after Revision (RRR) metric assumes that improvements after revision come from the quality of the reviewer's diagnosis, but the revision agent and reviewer share the same scaffold and model family in several experiments, and the main benchmark results do not independently control for the number of revision attempts or the revision agent's own capability apart from the review feedback content.
What would settle it
If a control experiment showed that simply giving the revision agent an additional attempt with the original issue and patch — without any review feedback — produces comparable resolve-rate gains to the full review-guided revision, then the paper's claim that the structured diagnosis carries the improvement would be substantially weakened.
If this is right
- AI coding systems could shift from one-shot patch submission to iterative closed-loop pipelines where review is not a post-hoc gate but a core mechanism for improving patch quality before merge.
- The finding that review trajectories transfer to better issue-resolution models suggests that judging and fixing code share a common repository-reasoning skill, which could unify training pipelines for coding agents.
- Review-guided iterative revision being 6.5x more token-efficient than independent resampling implies that directed feedback is a more cost-effective test-time scaling strategy than brute-force sampling for software engineering tasks.
- The error analysis showing that false approvals concentrate on subtle logic bugs and insufficient reproducer coverage, while false rejections stem from code misreading, suggests concrete directions: stronger test-adequacy analysis to reduce false approvals and functional-equivalence checks to reduce false rejections.
- The observation that exploration efficiency rather than volume predicts review quality — with stronger models using fewer steps and tokens yet achieving higher accuracy — implies that reviewer training should focus on targeted evidence-gathering strategies rather than exhaustive search.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. This paper introduces SWE-Review, a framework for closing the issue-resolution loop via agentic code review. The reviewer agent explores a repository, decides whether to accept or request changes on an AI-generated PR, and produces structured diagnoses to guide revision. The authors construct SWE-Review-Bench (1,384 PRs from 500 SWE-bench Verified issues across three generators) and SWE-Review-Traj (8,914 decision-correct review trajectories). They propose three metrics—Completion Rate, Decision Accuracy, and Resolve Rate after Revision (RRR)—and demonstrate that agentic review outperforms single-turn fixed-context review, that review trajectories improve both reviewer distillation and issue-resolution training, and that review-guided iterative revision enables efficient test-time scaling. The work is well-motivated, the benchmark and trajectory dataset are valuable contributions, and the experimental design is generally thorough.
Significance. The paper makes several concrete contributions: (1) a reproducible benchmark (SWE-Review-Bench) with executable verification of both review decisions and downstream revision utility, (2) a publicly released trajectory dataset (SWE-Review-Traj) for open reviewer training, (3) a falsifiable metric (RRR) grounded in executable test outcomes rather than text overlap, and (4) a functional validation ablation (Table 1b) that partially isolates the value of diagnostic content from the binary decision signal. The test-time scaling comparison (Figure 5) and the mixed-training results (Table 3) are informative. The case study (Figure 2, Appendix D) effectively illustrates the agentic-vs-single-turn distinction. These are practical contributions to the SWE agent research community.
major comments (4)
- The RRR metric as used in the main benchmark results (Figure 1, Figure 3, Table 2) compares 'no review' (patches kept unchanged, zero revision attempts) against 'review + revision' (rejected patches get one revision with feedback). This conflates two factors: (a) the value of the review feedback content, and (b) the value of simply giving the agent another attempt. Table 1b provides a partial control on 100 correctly-rejected instances (no-review RRR=3%, decision-only=8%, teacher review=21%, oracle=32%), but this is a small sample conditioned on correct rejections (selection bias) and uses a single model configuration. The headline gains in Figure 1 (e.g., 27.5%→56.9% for Qwen3-30B-A3B) could be substantially attributable to the revision attempt itself rather than to the quality of the reviewer's diagnosis. A 'blind retry' control at scale—where rejected patches get a second attempt with
- without review feedback—would be needed to fully support the central claim that 'agentic review continually improves PRs through the generate-review-revise loop.' Figure 5 provides indirect evidence (review-guided iterative revision at 38.4% vs. reviewer-gated resampling at 32.3%), but reviewer-gated resampling still uses the reviewer as a gate, so it is not a pure no-feedback control. The paper should either add this control at scale or explicitly acknowledge this confound in the main results discussion and temper the headline claims accordingly.
- Section 3.2, Figure 4: The post-hoc difficulty stratification uses file-level divergence from the golden patch and the number of fail-to-pass tests. This criterion is defined post-hoc (i.e., using information not available at review time), and it is correlated with the outcome being measured. The paper should clarify whether the difficulty tertiles are defined over the full benchmark or per-generator split, and should acknowledge that this stratification is descriptive rather than predictive. The claim that 'the gap between agentic and single-turn review widens monotonically from easy to hard patches' is load-bearing for the argument that repository exploration matters most on non-local bugs, but the stratification criterion itself involves golden-patch information, which could introduce circularity.
- Table 2: The RRR metric for the 'No Review' baseline equals the original resolve rate (all patches kept unchanged), while the reviewed settings allow one revision for rejected patches. However, the revision agent and the reviewer share the same scaffold and model family in several experiments (e.g., GLM-5 as both reviewer and implicit revision agent in some configurations). The paper does not clearly state which model serves as the revision agent in each cell of Table 2. This information is critical for interpreting RRR, since a stronger revision agent could inflate RRR independently of review quality. The paper should specify the revision agent for each experiment.
minor comments (9)
- The abstract states 'continuously improves PRs' but Figure 1 shows results after one review-revision round for the main benchmark. The word 'continuously' is more precisely supported by Figure 5 (up to 4 revision rounds) and Table 4 (up to 5 samples). Consider clarifying which results support the 'continuous' claim.
- Section 3.1: The RRR definition says 'patches marked request-changes are returned to the original PR generator with the review feedback for one revision.' It would help to state the revision round cap explicitly in the main text (it appears only in Appendix references).
- Table 1a: The semantic validation scores are described as 'mean scores exceed 3.0 on a 5-point scale,' but the overall scores are 3.06 and 3.09. This is barely above 3.0; the phrasing 'exceed 3.0' is technically accurate but could be more precise about the magnitude.
- Figure 3: The y-axis label in panel (a) says 'Score (%)' but the metric is Decision Accuracy. Consider labeling it 'DA (%)' for consistency with the text.
- Section 4.1: The trajectory filtering retains 8,914 out of 14,156 trajectories based on decision correctness. The paper should report the decision accuracy of the teacher (GLM-5) on the 14,156 PRs to contextualize the filtering rate (63%).
- Table 3: The 'RR' column for 'Issue-resolution 1k' is 27.6, but the 'RRR' column is also 27.6. It would help to clarify that RR and RRR are identical when no review is applied (as in the issue-resolution-only rows), to avoid confusion.
- Appendix B: Table 5 reports 'Avg total tokens' for Opus 4.6 as 148K, but the text notes that API-billed counts omit reasoning tokens. This caveat should appear in the table caption or as a footnote, not only in the surrounding text, since the comparison with distilled models (2.09M–2.36M) could otherwise be misleading.
- The paper uses 'GLM-5' and 'GLM-5 3' (footnote 3) interchangeably. Consider standardizing.
- References: Several entries reference 2026 dates (e.g., [1], [4], [24], [35], [43]). If these are genuinely 2026 publications, this is fine; if these are forward-dated preprints, the authors should verify.
Simulated Author's Rebuttal
We thank the referee for a careful and constructive report. The four major comments all identify legitimate gaps in the manuscript that we will address in revision. Specifically: (1) we will add a large-scale blind-retry control to separate the value of review feedback from the value of a second attempt, and will temper headline claims where the confound remains; (2) we will clarify that the difficulty stratification is defined over the full benchmark (not per-generator), is descriptive rather than predictive, and uses golden-patch information unavailable at review time; (3) we will specify the revision agent for every cell of Table 2; and (4) we will add the blind-retry control at scale or explicitly acknowledge the confound. We agree with all four points and will revise accordingly.
read point-by-point responses
-
Referee: RRR metric conflates value of review feedback content with value of simply giving the agent another attempt; Table 1b is a small sample with selection bias; headline gains could be attributable to revision attempt itself rather than reviewer diagnosis quality; need blind retry control at scale or temper claims.
Authors: The referee is correct that the main RRR comparisons in Figures 1 and 3 and Table 2 conflate two factors: (a) the value of the reviewer's diagnostic feedback and (b) the value of granting a second revision attempt. Table 1b provides a partial control on 100 correctly-rejected instances (no-review RRR=3%, decision-only=8%, teacher review=21%, oracle=32%), but as the referee notes, this sample is small, conditioned on correct rejections (introducing selection bias), and uses a single model configuration. We agree that a large-scale blind-retry control—where rejected patches receive a second attempt without review feedback—is needed to fully isolate the contribution of the reviewer's diagnosis. We will add this control at scale across all three PR-generator splits in the revised manuscript. Specifically, we will run the revision agent on all rejected patches with only the information that the patch was rejected (matching our existing 'decision-only' condition E.2 but applied to the full benchmark), and report this as a baseline alongside the full-review RRR. This will allow readers to see precisely how much of the headline gain (e.g., 27.5% to 56.9% for Qwen3-30B-A3B) is attributable to the diagnostic content versus the retry itself. We note that Table 1b already provides suggestive evidence that the diagnosis carries substantial value beyond the retry signal (8% for decision-only vs. 21% for teacher review), but we agree this needs to be validated at scale. Regarding Figure 5, the referee correctly observes that reviewer-gated resampling still uses the reviewer as a gate and is therefore not a pure no-feedback control. We will clarify this distinction explicitly in the text and will frame Figure 5 as evidence about the relative efficiency of feedback-guided revision vs.独立 revision: no
-
Referee: Section 3.2, Figure 4: post-hoc difficulty stratification uses file-level divergence from golden patch and number of fail-to-pass tests; defined post-hoc using information not available at review time; correlated with outcome being measured; should clarify whether difficulty tertiles are defined over full benchmark or per-generator split; should acknowledge stratification is descriptive rather than predictive; claim that gap widens monotonically is load-bearing but could involve circularity from golden-patch information.
Authors: We agree with all three points raised here. First, the difficulty tertiles are defined over the full 1,384-instance benchmark, not per-generator split. We will state this explicitly in the revised text. Second, we agree that the stratification is descriptive rather than predictive: it uses golden-patch information (file-level divergence and number of fail-to-pass tests) that is not available at review time, and it is correlated with the outcome being measured. We will add a clear acknowledgment that this stratification is intended as a post-hoc descriptive analysis to characterize where agentic review provides the largest benefit, not as a tool that could be applied at inference time. Third, regarding the potential circularity concern: the difficulty criterion does not directly use the review outcome (approve/reject correctness or RRR); it uses properties of the golden patch and the issue's test suite. However, we agree that golden-patch file divergence could correlate with properties that also affect review difficulty, introducing indirect circularity. We will acknowledge this limitation explicitly. We will also temper the claim about monotonic widening: rather than stating it as a definitive finding, we will frame it as an observed trend consistent with our hypothesis that repository exploration matters most on non-local bugs, while noting the post-hoc nature of the stratification as a caveat. We do not believe the circularity is severe enough to invalidate the trend—the stratification is based on structural properties of the correct fix, not on review outcomes—but we agree it should be transparently disclosed. revision: yes
-
Referee: Table 2: revision agent and reviewer share same scaffold and model family in several experiments; paper does not clearly state which model serves as revision agent in each cell; this information is critical for interpreting RRR since stronger revision agent could inflate RRR independently of review quality; should specify revision agent for each experiment.
Authors: The referee is correct that the identity of the revision agent is critical for interpreting RRR and that the current manuscript does not specify it clearly for each cell of Table 2. We will add a clear specification of the revision agent for every experiment in the revised manuscript. To preview the setup: in Table 2, the revision agent is the same model that generated the original PR—that is, for the GLM-5 split, GLM-5 serves as both the PR generator and the revision agent; for the Qwen3-Coder-30B-A3B split, Qwen3-Coder-30B-A3B serves as both; and for the Qwen3-30B-A3B split, Qwen3-30B-A3B serves as both. The reviewer model varies by row (Claude Opus 4.6, GLM-5, SWE-Review-8B, SWE-Review-30B-A3B, etc.), but the revision agent is held constant within each generator split. This design ensures that RRR gains are attributable to the quality of the review feedback rather than to a stronger revision agent. We will make this explicit in the table caption and in the experimental setup text. We will also clarify the revision agent for Figures 1, 3, and 5 and for Tables 1b and 3. We agree that without this information, the reader cannot rule out the alternative explanation that a stronger revision agent inflates RRR. revision: yes
-
Referee: Figure 5 provides indirect evidence (review-guided iterative revision at 38.4% vs. reviewer-gated resampling at 32.3%), but reviewer-gated resampling still uses the reviewer as a gate, so it is not a pure no-feedback control.
Authors: The referee is correct that reviewer-gated resampling is not a pure no-feedback control because it still uses the reviewer's approval decision as a gate for early stopping. The comparison in Figure 5 therefore isolates the value of diagnostic feedback for guiding revision (versus using the reviewer only as a binary gate), but it does not isolate the value of review feedback from the value of a second attempt more broadly. We will clarify this in the revised text: Figure 5 addresses a different question—whether structured diagnostic feedback is more effective than binary gating for test-time scaling—rather than the question of whether review feedback adds value over a blind retry. The latter question is addressed by the blind-retry control we will add in response to the first major comment. We will also add cross-references between Figure 5 and the new blind-retry control to make the logical structure clear: the blind-retry control isolates feedback value vs. retry value, while Figure 5 isolates feedback value vs. gate-only value within a test-time scaling setting. We agree that the current text does not adequately distinguish these two questions. revision: yes
Circularity Check
No significant circularity found; one non-load-bearing self-citation.
full rationale
The paper's central claims are grounded in external benchmarks (SWE-bench Verified with executable test suites) and operational metrics defined against executable verification of patch correctness. Decision Accuracy (DA) compares the reviewer's approve/request-changes decision against the patch's true resolve status (external ground truth). Resolve Rate after Revision (RRR) measures final resolve rate after a standardized revision procedure, again verified by executable tests. The SWE-Review-Traj training dataset is filtered by decision correctness against executable patch outcomes (Section 4.1: 'retaining trajectories where the reviewer correctly approves a resolving patch or correctly requests changes on a non-resolving one'), which is external validation, not a self-referential loop. The main results (Figure 1, Figure 3, Table 2) compare against external baselines: no-review, single-turn review, and frontier models. The one self-citation is reference [35] (SWE-Lego-Verifier), which shares several authors with the present paper and is used as a verifier baseline in Figure 5. However, this citation is not load-bearing for any central claim — it serves as a comparison point that the paper's reviewer-based approach outperforms, and the results do not depend on its correctness. The reader's concern about RRR conflating review feedback value with revision-attempt value is a valid experimental design concern (correctness risk), but it is not circularity: the metric is defined operationally and measured against an external standard, and the paper provides a partial control (Table 1b) that isolates feedback content from the revision signal. No step in the derivation chain reduces to its own inputs by construction.
Axiom & Free-Parameter Ledger
free parameters (4)
- Difficulty stratification criterion =
file-level divergence + fail-to-pass test count tertiles
- Trajectory filtering threshold (decision correctness) =
8,914 of 14,156 trajectories retained
- Revision rounds cap =
4 revision rounds (5 total samples)
- Max patch size filter =
50 KB
axioms (4)
- domain assumption SWE-bench Verified issues with executable test suites are a representative sample of real-world software issues
- domain assumption A patch's resolve status (passing FAIL_TO_PASS and PASS_TO_PASS tests) is a valid ground truth for review correctness
- domain assumption The OpenHands-SDK scaffold provides a fair and consistent agent environment across all experiments
- domain assumption LLM-as-judge scores from Claude Opus 4.6 and GPT-5.4 are reliable for semantic validation of review diagnoses
read the original abstract
Coding agents increasingly generate pull requests (PRs) for real-world software issues, yet one-shot PR generation remains open-loop: the PR is proposed without systematic review, diagnosis, or revision. We introduce \textbf{SWE-Review}, a framework for closing this loop with agentic code review. Given an issue and an AI-generated PR, a reviewer agent explores the repository, decides whether the PR should be accepted, and provides structured feedback for revision. We evaluate this setting with our proposed \textbf{SWE-Review-Bench} to measure both review correctness and downstream revision usefulness. We further curate \textbf{SWE-Review-Traj} dataset to study broader applications of agentic review and fill the data-scarcity gap for open reviewer training. Experiments show that agentic review continuously improves PRs through a generate-review-revise loop, outperforms single-turn fixed-context review in both decision accuracy and resolve rate after revision, transfers beyond review to improve issue-resolution models, and enables effective and efficient test-time scaling. These results position agentic code review as a practical mechanism for moving AI coding agents from one-shot PR generation toward closed-loop issue resolution.
Figures
Reference graph
Works this paper leans on
-
[2]
URLhttps://arxiv.org/abs/2602.15763
work page internal anchor Pith review Pith/arXiv arXiv
-
[3]
Learning From Mistakes Makes LLM Better Reasoner
Shengnan An, Zexiong Ma, Zeqi Lin, Nanning Zheng, Jian-Guang Lou, and Weizhu Chen. Learning from mistakes makes llm better reasoner. arXiv preprint arXiv:2310.20689, 2023
work page internal anchor Pith review Pith/arXiv arXiv 2023
-
[4]
Claude code by anthropic.https://www.anthropic.com/product/ claude-code, 2026
Anthropic. Claude code by anthropic.https://www.anthropic.com/product/ claude-code, 2026
work page 2026
-
[5]
Introducing claude opus 4.6.https://www.anthropic.com/news/ claude-opus-4-6, 2026
Anthropic. Introducing claude opus 4.6.https://www.anthropic.com/news/ claude-opus-4-6, 2026
work page 2026
-
[6]
Cursor: The Best Way to Code with AI.https://cursor.com/, 2026
Anysphere, Inc. Cursor: The Best Way to Code with AI.https://cursor.com/, 2026. Accessed: 2026-05-07
work page 2026
-
[7]
Ibragim Badertdinov, Alexander Golubev, Maksim Nekrashevich, Anton Shevtsov, Simon Karasik, Andrei Andriushchenko, Maria Trofimova, Daria Litvintseva, and Boris Yangel. Swe- rebench: An automated pipeline for task collection and decontaminated evaluation of software engineering agents. arXiv preprint arXiv:2505.20411, 2025
-
[8]
Introducing devin, the first ai software engineer.https://cognition.ai/ blog/introducing-devin, 2024
Cognition AI. Introducing devin, the first ai software engineer.https://cognition.ai/ blog/introducing-devin, 2024
work page 2024
-
[9]
SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?
Xiang Deng, Jeff Da, Edwin Pan, Yannis Yiming He, Charles Ide, Kanak Garg, Niklas Lauffer, Andrew Park, Nitin Pasari, Chetan Rane, et al. Swe-bench pro: Can ai agents solve long- horizon software engineering tasks? arXiv preprint arXiv:2509.16941, 2025
work page internal anchor Pith review Pith/arXiv arXiv 2025
-
[10]
Re- solving code review comments with machine learning
Alexander Frömmgen, Jacob Austin, Peter Choy, Nimesh Ghelani, Lera Kharatyan, Gabriela Surita, Elena Khrapko, Pascal Lamblin, Pierre-Antoine Manzagol, Marcus Revaj, et al. Re- solving code review comments with machine learning. InProceedings of the 46th international conference on software engineering: software engineering in practice, pages 204–215, 2024
work page 2024
-
[11]
Aider: Ai pair programming in your terminal.https://github.com/ paul-gauthier/aider, 2023
Paul Gauthier. Aider: Ai pair programming in your terminal.https://github.com/ paul-gauthier/aider, 2023. GitHub repository
work page 2023
-
[12]
Hanyang Guo, Xunjin Zheng, Zihan Liao, Hang Yu, Peng Di, Ziyin Zhang, and Hong-Ning Dai. Codefuse-cr-bench: A comprehensiveness-aware benchmark for end-to-end code review evaluation in python projects. arXiv preprint arXiv:2509.14856, 2025
-
[13]
R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents
Naman Jain, Jaskirat Singh, Manish Shetty, Liang Zheng, Koushik Sen, and Ion Stoica. R2e- gym: Procedural environments and hybrid verifiers for scaling open-weights swe agents.arXiv preprint arXiv:2504.07164, 2025
work page internal anchor Pith review Pith/arXiv arXiv 2025
-
[14]
SWE-bench: Can Language Models Resolve Real-World GitHub Issues?
Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. Swe-bench: Can language models resolve real-world github issues? arXiv preprint arXiv:2310.06770, 2023
work page internal anchor Pith review Pith/arXiv arXiv 2023
-
[15]
Deepreview: automatic code review using deep multi-instance learning
Heng-Yi Li, Shu-Ting Shi, Ferdian Thung, Xuan Huo, Bowen Xu, Ming Li, and David Lo. Deepreview: automatic code review using deep multi-instance learning. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pages 318–330. Springer, 2019. 10
work page 2019
-
[16]
Auger: automatically generating review comments with pre-training models
Lingwei Li, Li Yang, Huaxi Jiang, Jun Yan, Tiejian Luo, Zihan Hua, Geng Liang, and Chun Zuo. Auger: automatically generating review comments with pre-training models. In Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pages 1009–1021, 2022
work page 2022
-
[17]
Automating Code Review Activities by Large-Scale Pre-training
Zhiyu Li, Shuai Lu, Daya Guo, Nan Duan, Shailesh Jannu, Grant Jenks, Deep Majumder, Jared Green, Alexey Svyatkovskiy, Shengyu Fu, et al. Codereviewer: Pre-training for automating code review activities. arXiv preprint arXiv:2203.09095, 2022
work page internal anchor Pith review Pith/arXiv arXiv 2022
-
[18]
Junyi Lu, Lei Yu, Xiaojia Li, Li Yang, and Chun Zuo. Llama-reviewer: Advancing code review automation with large language models through parameter-efficient fine-tuning. In2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE), pages 647–658. IEEE, 2023
work page 2023
-
[19]
Self-refine: Iterative re- finement with self-feedback
Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-refine: Iterative re- finement with self-feedback. Advances in neural information processing systems, 36:46534– 46594, 2023
work page 2023
-
[20]
Dakota Mahan, Duy Van Phung, Rafael Rafailov, Chase Blagden, Nathan Lile, Louis Castri- cato, Jan-Philipp Fränken, Chelsea Finn, and Alon Albalak. Generative reward models. arXiv preprint arXiv:2410.12832, 2024
work page internal anchor Pith review Pith/arXiv arXiv 2024
-
[21]
Crscore: Grounding auto- mated evaluation of code review comments in code claims and smells
Atharva Naik, Marcus Alenius, Daniel Fried, and Carolyn Rose. Crscore: Grounding auto- mated evaluation of code review comments in code claims and smells. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (V olume1: Long Papers), pages 9049–9076, 2025
work page 2025
-
[22]
Impact of LLM-based Review Comment Generation in Practice: A Mixed Open-/Closed-source User Study
Doriane Olewicki, Leuson Da Silva, Suhaib Mujahid, Arezou Amini, Benjamin Mah, Marco Castelluccio, Sarra Habchi, Foutse Khomh, and Bram Adams. Impact of llm-based review comment generation in practice: A mixed open-/closed-source user study. arXiv preprint arXiv:2411.07091, 2024
work page internal anchor Pith review Pith/arXiv arXiv 2024
-
[23]
OpenAI. Introducing swe-bench verified.https://openai.com/index/ introducing-swe-bench-verified/, August 2024. Blog post
work page 2024
-
[24]
Introducing codex.https://openai.com/zh-Hans-CN/index/ introducing-codex/, 2026
OpenAI. Introducing codex.https://openai.com/zh-Hans-CN/index/ introducing-codex/, 2026
work page 2026
-
[25]
Introducing gpt-5.4.https://openai.com/zh-Hans-CN/index/ introducing-gpt-5-4/, 2026
OpenAI. Introducing gpt-5.4.https://openai.com/zh-Hans-CN/index/ introducing-gpt-5-4/, 2026
work page 2026
-
[26]
Opencode.https://github.com/opencode-ai/opencode, 2025
OpenCode. Opencode.https://github.com/opencode-ai/opencode, 2025
work page 2025
-
[27]
Training Software Engineering Agents and Verifiers with SWE-Gym
Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly, Heng Ji, Alane Suhr, and Yizhe Zhang. Training software engineering agents and verifiers with swe-gym. arXiv preprint arXiv:2412.21139, 2024
work page internal anchor Pith review Pith/arXiv arXiv 2024
-
[28]
Cr-bench: Evaluating the real-world utility of ai code review agents, 2026
Kristen Pereira, Neelabh Sinha, Rajat Ghosh, and Debojyoti Dutta. Cr-bench: Evaluating the real-world utility of ai code review agents, 2026
work page 2026
-
[29]
Qodo. Pr-agent: Ai-powered pull request analysis and feedback.https://github.com/ The-PR-Agent/pr-agent, 2023. GitHub repository
work page 2023
-
[30]
Qwen3-coder: Agentic coding in the world.https://qwenlm.github.io/blog/ qwen3-coder/, 2025
Qwen. Qwen3-coder: Agentic coding in the world.https://qwenlm.github.io/blog/ qwen3-coder/, 2025
work page 2025
-
[31]
Automatic code review by learning the revision of source code, 2019
Shu-Ting Shi, Ming Li, David Lo, Ferdian Thung, and Xuan Huo. Automatic code review by learning the revision of source code, 2019. 11
work page 2019
-
[32]
Swe-rm: Execution-free feedback for software engineering agents
KaShun Shum, Binyuan Hui, Jiawei Chen, Lei Zhang, Jiaxi Yang, Yuzhen Huang, Junyang Lin, Junxian He, et al. Swe-rm: Execution-free feedback for software engineering agents. arXiv preprint arXiv:2512.21919, 2025
-
[33]
Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters
Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling llm test-time compute opti- mally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314, 2024
work page internal anchor Pith review Pith/arXiv arXiv 2024
-
[34]
Bitsai-cr: Automated code review via llm in practice
Tao Sun, Jian Xu, Yuanpeng Li, Zhao Yan, Ge Zhang, Lintao Xie, Lu Geng, Zheng Wang, Yueyan Chen, Qin Lin, et al. Bitsai-cr: Automated code review via llm in practice. In Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering, pages 274–285, 2025
work page 2025
-
[35]
Codeagent: Autonomous communicative agents for code review
Xunzhu Tang, Kisub Kim, Yewei Song, Cedric Lothritz, Bei Li, Saad Ezzini, Haoye Tian, Jacques Klein, and Tegawendé F Bissyandé. Codeagent: Autonomous communicative agents for code review. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 11279–11313, 2024
work page 2024
-
[36]
Swe-lego: Pushing the limits of supervised fine-tuning for software issue resolving
Chaofan Tao, Jierun Chen, Yuxin Jiang, Kaiqi Kou, Shaowei Wang, Ruoyu Wang, Xiaohui Li, Sidi Yang, Yiming Du, Jianbo Dai, et al. Swe-lego: Pushing the limits of supervised fine-tuning for software issue resolving. arXiv preprint arXiv:2601.01426, 2026
-
[37]
Towards automating code review activities, 2021
Rosalia Tufano, Luca Pascarella, Michele Tufano, Denys Poshyvanyk, and Gabriele Bavota. Towards automating code review activities, 2021
work page 2021
-
[38]
OpenHands: An Open Platform for AI Software Developers as Generalist Agents
Xingyao Wang, Boxuan Li, Yufan Song, Frank F Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, et al. Openhands: An open platform for ai software developers as generalist agents. arXiv preprint arXiv:2407.16741, 2024
work page internal anchor Pith review Pith/arXiv arXiv 2024
-
[39]
Xingyao Wang, Boxuan Li, Yufan Song, Frank F Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, et al. Learning to verify ai-generated code.https: //openhands.dev/blog/20260305-learning-to-verify-ai-generated-code, March 2026. Blog post
-
[40]
Critique Fine-Tuning: Learning to Critique is More Effective than Learning to Imitate
Yubo Wang, Xiang Yue, and Wenhu Chen. Critique fine-tuning: Learning to critique is more effective than learning to imitate. arXiv preprint arXiv:2501.17703, 2025
work page internal anchor Pith review Pith/arXiv arXiv 2025
-
[41]
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025
work page internal anchor Pith review Pith/arXiv arXiv 2025
-
[42]
Swe-agent: Agent-computer interfaces enable automated soft- ware engineering
John Yang, Carlos E Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. Swe-agent: Agent-computer interfaces enable automated soft- ware engineering. Advances in Neural Information Processing Systems, 37:50528–50652, 2024
work page 2024
-
[43]
SWE-smith: Scaling Data for Software Engineering Agents
John Yang, Kilian Lieret, Carlos E Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. Swe-smith: Scaling data for software engineering agents. arXiv preprint arXiv:2504.21798, 2025
work page internal anchor Pith review Pith/arXiv arXiv 2025
-
[44]
Aacr-bench: Evaluating automatic code review with holistic repository-level context
Lei Zhang, Yongda Yu, Minghui Yu, Xinxin Guo, Zhengqi Zhuang, Guoping Rong, Dong Shao, Haifeng Shen, Hongyu Kuang, Zhengfeng Li, et al. Aacr-bench: Evaluating automatic code review with holistic repository-level context. arXiv preprint arXiv:2601.19494, 2026
-
[45]
Linghao Zhang, Shilin He, Chaoyun Zhang, Yu Kang, Bowen Li, Chengxing Xie, Junhao Wang, Maoquan Wang, Yufan Huang, Shengyu Fu, Elsie Nallipogu, Qingwei Lin, Yingnong Dang, Saravan Rajmohan, and Dongmei Zhang. Swe-bench goes live! arXiv preprint arXiv:2505.23419, 2025
work page internal anchor Pith review Pith/arXiv arXiv 2025
-
[46]
Autocoderover: Au- tonomous program improvement
Yuntong Zhang, Haifeng Ruan, Zhiyu Fan, and Abhik Roychoudhury. Autocoderover: Au- tonomous program improvement. In Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, pages 1592–1604, 2024. 12
work page 2024
-
[47]
Code review agent benchmark, 2026
Yuntong Zhang, Zhiyuan Pan, Imam Nur Bani Yusuf, Haifeng Ruan, Ridwan Shariffdeen, and Abhik Roychoudhury. Code review agent benchmark, 2026
work page 2026
-
[48]
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. Advances in neural information processing systems, 36:46595– 46623, 2023. A Additional Test-Time Scaling Results Section 4.3 focuses on three test-time scaling stra...
work page 2023
-
[49]
Raw agent trajectories are cleaned and standardized. 2.tokenizer.apply_chat_template()renders each trajectory into the model’s native chat for- mat with correct special tokens
-
[50]
Rendered text is split by turn; error-preceding assistant turns are flagged for loss masking
-
[51]
Final output is ShareGPT JSON with per-turn mask annotations. The tokenizer must exactly match the target base model. D Case Study: sympy-13877 This appendix expands the case study referenced in Section 3.2 and Figure 2. Overview.The case compares the same candidate PR under two review settings: single-turn Opus with diff+context and agentic Opus. The can...
work page 2041
-
[52]
**What does the user expect?** (exact: no error, specific output, specific return value)
-
[53]
import json; open(’/tmp/p.diff’,’w’).write(json.load(open(’/review_data/predicted.json ’))[’patch’])
**What actually happens?** (exact: error type + message, wrong output, wrong value) Do NOT read ‘predicted.json‘ yet. ### Step 2: Find the Root Cause Go to ‘/testbed‘. Trace from the entry point down through the call stack: - Where is the bug triggered? (What does the user call?) - Follow the chain: entry -> function -> callee -> callee’s callee... 26 - *...
-
[54]
**Bug reproduction test**: the reported case now works
-
[55]
**Full output/behavior check** -- not just "no exception": - If expected: "no output" -> use ‘subprocess.run([...], capture_output=True)‘ and assert ‘ result.stdout == ""‘ - If expected: specific return value -> assert the exact value, not just that no error occurred - If expected: no crash -> verify the result is semantically correct too
-
[56]
**Regression test**: existing behavior still works If any test fails -> ‘request_changes‘. > **If a test fails: IMMEDIATELY go to Step 6 and write ‘request_changes‘. Do NOT investigate why the test failed or keep exploring. The failure itself is the defect.** 27 ### Step 6: Write Report > **Budget reminder**: You have 100 iterations total. By this step, S...
-
[57]
Tests pass including full output/behavior verification
-
[58]
The patch changes the ROOT CAUSE location identified in Step 2
-
[59]
No high-severity defects **Request changes** if ANY: - Any test fails (including output verification) - The patch is a symptom fix (Step 4 HARD RULE triggered) - The patch fixes only part of the affected code paths - A ‘high‘ severity defect exists - Empty patch ## Defect Severity Guide **High** (always -> ‘request_changes‘): - Incorrect result/output for...
-
[62]
PR metadata (title and description) Your task is to review the candidate patch and determine whether it correctly fixes the reported issue. You must output a JSON review report with the following schema: { "decision": { "recommendation": "approve" or "request_changes", "confidence": 0.0 to 1.0 }, "summary": { "problem": "1 sentence: root cause (file + fun...
-
[63]
A bug report (issue description)
-
[64]
A candidate patch (unified diff format)
-
[65]
PR metadata (title and description)
-
[66]
Full source files affected by the patch (pre-change versions) Use the file context to understand the surrounding code, existing patterns, and potential regressions. Your task is to review the candidate patch and determine whether it correctly fixes the reported issue. [Same JSON output schema as Setting 1] 29 E.4 Oracle Review Prompt The oracle review has...
-
[67]
**diagnosis_accuracy** -- Does the review correctly identify the root cause the candidate patch missed? - 5: Pinpoints exact missing/incorrect change; aligns with golden patch - 3: General area right, wrong depth - 1: Unrelated, hallucinated, or wrong target
-
[68]
**suggestion_correctness** -- Do suggestions point toward the change golden patch makes? - 5: Suggestion is semantically equivalent to golden patch - 3: Direction right but details insufficient - 1: Would not fix or introduces new issues
-
[69]
**grounding_quality** -- Are claims verifiable from candidate patch + problem_statement? - 5: Every major claim is grounded - 3: Mostly grounded, some unsupported - 1: Contains hallucinated code paths / invented symptoms ## Output (JSON only) { "reasoning": "<2-5 sentences analysis BEFORE scoring>", "diagnosis_accuracy": {"score": <1-5>, "justification": ...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.