arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.02440cs.SEcs.AI
收藏

从野生氛围编码会话中收集SWE基准

Harvesting SWE Benchmarks from Wild Vibe Coding Sessions

ShanghaiTech University(上海科技大学);Shanghai AI Laboratory(上海人工智能实验室)

Ao Lu, Yuanhao Zeng, Shaocheng Lan, Sijie Xu, Jiacheng Bao, Kuang Yan, Heng Lin, Kan Ren

AI总结:

研究人员提出SessionFarmer框架,将氛围编码会话转化为软件工程任务,构建CropChat等基准,测试优化提升准确率,揭示模型-harness配置对编码智能体性能的影响。

摘要:

开发团队需要来自自身仓库和工作流的可复现任务来评估编码智能体。对话式开发者-智能体协作(“氛围编码”)会产生大量编码会话和仓库检查点,但需求会随轮次演变、不相关对话会与提交共存,且工程工作可能跨越多个会话。我们提出SessionFarmer,一个自动框架,可将这些记录转化为自包含、可执行的软件工程任务。它分析对话和提交历史以过滤不相关会话,并将多轮、可能多会话的交互分组为围绕单一工程目标的工作片段。对于每个片段,它重建一个封闭执行容器,从完整上下文合成任务陈述,并编写基于仓库的工程质量 rubrics 和单元测试。闭环测试优化使用破坏需求的突变体和盲求解器,以减少对有效替代方案的错误拒绝和对不完整解决方案的错误接受。我们构建CropChat,一个包含61个公共仓库、14种编程语言的242个任务的开放基准,以及来自专有企业日志的CropEnterprise。在CropEnterprise审计中,原始开发者认可绝大多数重构的片段边界、任务陈述和质量 rubrics。全片段上下文比单轮或单会话输入覆盖多得多的用户需求。测试优化降低了错误拒绝率,并使跨求解器的平衡准确率相对于参考补丁标签提高了7-9个百分点。在CropChat上的12种模型- harness配置中,最强设置达到39.3%的Pass@1,而对于同一模型,harness选择使Pass@1变化高达8.4个百分点。

英文摘要:

Development teams need reproducible tasks from their own repositories and workflows to evaluate coding agents. Conversational developer-agent collaboration ("vibe coding") produces abundant coding sessions and repository checkpoints, but requirements evolve across turns, unrelated conversations co-occur with commits, and engineering efforts can span multiple sessions. We present SessionFarmer, an automated framework that turns these records into self-contained, executable software engineering tasks. It analyzes dialogue and commit history to filter unrelated sessions and group multi-turn, potentially multi-session interactions into work episodes centered on one engineering goal. For each episode, it reconstructs a hermetic execution container, synthesizes a task statement from the full context, and authors repository-grounded engineering-quality rubrics and unit tests. Closed-loop test refinement uses requirement-breaking mutants and a blind solver to reduce false rejections of valid alternatives and false acceptances of incomplete solutions. We construct CropChat, an open benchmark of 242 tasks across 61 public repositories and 14 programming languages, and CropEnterprise from proprietary enterprise logs. In a CropEnterprise audit, the original developers endorse the vast majority of reconstructed episode boundaries, task statements, and quality rubrics. Full-episode context covers substantially more user requirements than single-turn or single-session inputs. Test refinement cuts false-rejection rates and raises balanced accuracy against reference patch labels by 7-9 percentage points across solvers. Across 12 model-harness configurations on CropChat, the strongest setup achieves 39.3% Pass@1, while harness choice shifts Pass@1 by up to 8.4 percentage points for the same model.

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

↑