跳到正文
arXiv (AI + Vision + Imaging)· Fei Ding·· 1 天前AI 评分20

编码智能体的编辑诱发依赖失配:传播遗漏、恢复与评测盲区

Edit-Induced Dependency Mismatch: Propagation Omissions, Recovery, and Evaluation Blind Spots in Coding Agents

AI 导读

研究基于DeepSWE与SWE-bench Verified上deepseek-v4-flash的执行轨迹(辅以FeatureBench上的Qwen3.8-Flash案例),对DeepSWE运行做全语料盲审,识别出编辑诱发的消费方依赖失配终端事件,且同一轨迹内的恢复可与终端遗漏并存。

正文 · 原文

arXiv:2611.29242v1 Announce Type: new Abstract: During iterative code modification, coding agents may continue to rely in subsequent reasoning on outdated dependency judgments whose text remains fixed in the context, leading to errors in subsequent reasoning and leaving consumer defects undetected by the original task evaluations, thereby exposing blind spots in the tested benchmarks. We study actual agent execution trajectories collected on benchmark tasks: deepseek-v4-flash runs on DeepSWE and SWE-bench Verified, supplemented by Qwen3.8-Flash cases on FeatureBench. Focusing on edit-induced consumer obligations, a full-corpus blinded human audit of the DeepSWE runs identifies terminal mismatches, including diagnoses whose task scope remains disputed. Following supplementary execution checks, all retained DeepSWE terminal events have execution support. The audit also shows that recovery within a trajectory can coexist with terminal omissions in the same run. The process analysis links the presentation of relevant consumer code to explicit dependency judgments and subsequent synchronization actions recorded in the trajectories. An explicit dependency-review prompt reduces terminal omissions under the tested conditions, supporting re-derivation of consumer obligations after edits. Local replays of selected DeepSWE cases show that synchronizing the diagnosed consumers restores the target behavior while the listed controls continue to pass. Cross-benchmark execution counterexamples show that the original task evaluations do not fully detect edit-induced dependency mismatches: patches pass those evaluations, yet additional execution checks confirm unintended defects along existing consumer paths. These findings support measuring task scores, terminal propagation states, and recovery separately.

来源:arXiv (AI + Vision + Imaging) · arxiv.org