跳到正文
arXiv (AI + Vision + Imaging)· William Franz Lamberti·· 8 天前AI 评分15

FileMark代码锚定评审反馈:提升大型R文件编辑正确率并降低托管编辑成本

Code-Anchored Review Feedback Improves Correctness and Lowers Hosted Editing Cost on Large R Files

AI 导读

在36个合成基础R任务、7个模型上的配对实验显示,将评审意见以FileMark导出形式锚定到对应代码后,Claude Opus与Claude Sonnet的输出token分别下降14.7%和50.5%,100行以上文件的托管编辑成本分别降低20.0%和46.3%。

正文 · 原文

arXiv:2607.12713v2 Announce Type: replace-cross Abstract: Tokens drive the cost and latency of generative AI (GAI) code editing, and correctness decides whether an edit is useful. We study how the format of a reviewer's feedback, a human-AI collaboration (HAIC) channel, impacts both. In a paired experiment on 36 synthetic base-R tasks with seven models, the same requested changes were delivered as a holistic list (control) or as the export of FileMark (treatment). That code-review extension anchors each comment to the code it concerns and quotes it. For the typical task, total tokens changed by -4.2% to +14.7% across models, while output tokens fell by 14.7% (Claude Opus) and 50.5\% (Claude Sonnet). Since an output token costs five times as much as an input token, the hosted cost of an edit on files over 100 lines fell by 20.0% (Opus) and 46.3% (Sonnet). The treatment raised the correct-run share of four of five local models by 24% to 46%. A decomposition experiment places these gains in the format, not the wording, and mostly in the quoted code. Misplaced anchors cut correctness sharply. Code-anchored feedback thus lowers hosted editing cost on large R files and makes weaker models more correct, provided the anchors are accurate.

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