Codetations:面向程序及其他文档的智能、持久化笔记与用户界面
Codetations: Intelligent, Persistent Notes and UIs for Programs and Other Documents
AI总结:
提出Codetations系统,通过混合编辑追踪和LLM方法将动态交互笔记附加在文档外部,有效补充代码上下文信息,显著提升LLM代码修复性能并获开发者认可。
摘要:
软件开发者会维护关于其编写的代码及其上下文的广泛心智模型,通常依赖记忆来检索或重构设计决策、边界情况和调试经验。这些缺失的链接和数据不仅阻碍了开发者,也阻碍了近期处理不熟悉代码的大型语言模型(LLMs)。我们提出了Codetations,这是一个帮助开发者利用丰富的笔记和工具为文档添加上下文的系统。与以往的方法不同,Codetations中的笔记保留在文档外部以防止代码混乱,并使用一种混合的编辑追踪/基于LLM的方法将其附加到文档的跨度上。其内容是动态的、交互式的,并与代码更改同步。一个工作示例表明,带有交互式收集数据的相关笔记改善了LLM在代码修复期间的性能。在我们的用户评估中,开发者赞扬了这些属性,并认为我们在短短几分钟内用LLM生成的注释类型具有巨大潜力。
英文摘要:
Software developers maintain extensive mental models of code they produce and its context, often relying on memory to retrieve or reconstruct design decisions, edge cases, and debugging experiences. These missing links and data obstruct both developers and, more recently, large language models (LLMs) working with unfamiliar code. We present Codetations, a system that helps developers contextualize documents with rich notes and tools. Unlike previous approaches, notes in Codetations stay outside the document to prevent code clutter, attaching to spans in the document using a hybrid edit-tracking/LLM-based method. Their content is dynamic, interactive, and synchronized with code changes. A worked example shows that relevant notes with interactively-collected data improve LLM performance during code repair. In our user evaluation, developers praised these properties and saw significant potential in annotation types that we generated with an LLM in just a few minutes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。