计算机科学 > 软件工程
[提交于 2026年11月30日]
标题:Information Needs in Code Review: What Can an Agent's Trajectory Answer?
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Coding agents open pull requests (PRs) at scale, and many are merged with minimal human review, yet people remain accountable for what gets merged. When review is skipped or left to agents, teams lose what PRs provide beyond defect detection: understanding, rationale, and knowledge transfer. Behind each agent-authored PR lies an execution trajectory recording what the agent read, changed, ran, and abandoned. Conventional review surfaces only the diff and the agent's own description. While raw trajectories are often too long for practical use during code review, they should be converted into context to support human readability and engagement. By mapping reviewer information needs from prior code-review literature to identify what information a trajectory can supply and a diff alone cannot. Using this mapping, we propose a method to create short, extracted summaries in which each item is traceable to its corresponding trajectory steps. We adapt CAFE(S), a framework for assessing the context provided to coding agents (i.e., clarity, actionability, fidelity, efficiency, and security), to the summaries extracted for reviewers, human or not. We argue that such evidence must distinguish between what the agent claims and what its recorded tool outputs show, including whether each check was part of the project's own tests or a script the agent wrote, since passing checks alone does not establish correctness. Lastly, a research agenda is presented to test this context with human reviewers and agentic reviewers.
提交历史
来自:Saba Khanmohammadi[v1] 2026年11月30日 星期一 07:50:49 UTC (17 KB)