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

选择你的冒险:非线性AI辅助编程与EvoGraph

Choose Your Own Adventure: Non-Linear AI-Assisted Programming with EvoGraph

McGill University(麦吉尔大学)

Vassilios Exarhakos, Jinghui Cheng, Jin L. C. Guo

AI总结:

本文提出EvoGraph,一种集成AI交互和代码变更的轻量级开发图插件,帮助开发者更高效地探索、迭代和反思AI生成的代码变化,降低认知负担。

摘要:

当前AI辅助编程工具多为线性且基于聊天的交互方式,这与编程本身的迭代和分支特性相悖。我们的初步研究发现,开发者在探索替代方案、管理提示序列和追踪变化时面临挑战。基于这些见解,我们开发了EvoGraph,一种IDE插件,将AI交互和代码变更整合为轻量级的交互式开发图。EvoGraph自动记录分支状的AI辅助编程历史,并允许开发者通过图来比较、合并和重新访问之前的协作AI编程状态。我们的20名参与者研究显示,EvoGraph解决了我们初步研究中发现的开发者挑战,同时减少了认知负荷。参与者还发现基于图的表示支持安全的探索、高效的迭代和对AI生成变化的反思。我们的工作强调了在新兴的AI介导编程环境中,工具如何帮助开发者理解和应对问题解决进展的设计机会。

英文摘要:

Current AI-assisted programming tools are predominantly linear and chat-based, which deviates from the iterative and branching nature of programming itself. Our preliminary study with developers using AI assistants suggested that they often struggle to explore alternatives, manage prompting sequences, and trace changes. Informed by these insights, we created EvoGraph, an IDE plugin that integrates AI interactions and code changes as a lightweight and interactive development graph. EvoGraph automatically records a branching AI-assisted coding history and allows developers to manipulate the graph to compare, merge, and revisit prior collaborative AI programming states. Our user study with 20 participants revealed that EvoGraph addressed developers' challenges identified in our preliminary study while imposing lower cognitive load. Participants also found the graph-based representation supported safe exploration, efficient iteration, and reflection on AI-generated changes. Our work highlights design opportunities for tools to help developers make sense of and act on their problem-solving progress in the emerging AI-mediated programming context.

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

↑