arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.35992cs.SE
收藏

首次编辑前?衡量编码智能体的指导实际何时到达

Before the First Edit? Measuring When Coding-Agent Guidance Actually Arrives

Thupakula Sai Varun

AI总结:

该研究审计编码智能体在首次源代码编辑前的指导拦截事件,通过76臂研究发现指导先于首次变更但未达覆盖目标,未证明规划可提升修复正确性。

摘要:

当编码智能体工具承诺在首次源代码编辑前提供指导时,它实际拦截的是哪个事件?我们审计了五个独立事件:策略分配、请求资格、触发、计划交付以及观察到的源代码内容变更。规定动作比较揭示了三个门规则的覆盖范围,但无法告知我们智能体在接收计划后会如何继续。因此,我们在公开软件问题上运行本地智能体,并对每个执行操作前后的Python文件进行哈希处理。在使用Qwen2.5-Coder 14B的试点引导、76臂研究中,15个臂在7个任务和3个代码库中更改了Python源代码。指导先于每个观察到的首次变更出现,但每个变更都使用结构化编辑器,且该研究未达到其预先指定的20臂覆盖目标。事后本地测试发现7个变更臂通过了测试目标和回归选择器;这7个中有4个使用不完整的回归列表。公开的PAUSE和SI2CA轨迹添加了由相邻读取括起来的源代码文本变更,但缺乏同步的文件系统状态,无法识别确切的首次突变。该审计使时间断言在规定的源代码范围内可测试。这些数据未表明规划能提高修复正确性,或覆盖实时智能体运行中的先写shell操作。

英文摘要:

When a coding-agent harness promises guidance before the first source edit, what event does it actually intercept? We audit five separate events: policy assignment, request eligibility, trigger, plan delivery, and observed source-content change. A prescribed-action comparison exposes the coverage of three gate rules but cannot tell us how an agent would continue after receiving a plan. We therefore run local agents on public software issues and hash Python files before and after each executed action. In a pilot-guided, 76-arm study using Qwen2.5-Coder 14B, 15 arms change Python source across seven tasks and three repositories. Guidance precedes every observed first change, but every change uses a structured editor and the study misses its prespecified 20-arm coverage target. Post hoc local tests find seven changed arms that pass the tested target and regression selectors; four of those seven use incomplete regression lists. Public PAUSE and SI2CA trajectories add source-text changes bracketed by adjacent reads, but lack synchronized filesystem states and cannot identify exact first mutations. The audit makes the timing claim testable within a stated source scope. These data do not show that planning improves repair correctness or covers shell-first writes in live agent runs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑