代码塑形:基于自由形式AI解释性草图的迭代代码编辑
Code Shaping: Iterative Code Editing with Free-form AI-Interpreted Sketching
AI总结:
本文提出代码塑形交互范式,允许程序员在代码上绘制自由草图以传达编辑意图,并通过18人设计研究总结草图使用策略与交互设计原则,验证了该方法的实用性。
摘要:
我们引入了代码塑形(code shaping)的概念,这是一种直接在代码和控制台输出之上使用自由形式草图注释来编辑代码的交互范式。为了评估这一概念,我们开展了一项包含18名不同程序员的三阶段设计研究,以探究草图如何将预期的代码编辑意图传达给AI模型进行解释和执行。研究结果展示了不同草图的使用方式、程序员在与AI解释进行迭代交互过程中所采用的策略,以及支持代码编辑器与草图之间协调一致的交互设计原则。最后,我们通过两个用例场景展示了代码塑形概念的实际应用,阐明了该研究带来的设计启示。
英文摘要:
We introduce the concept of code shaping, an interaction paradigm for editing code using free-form sketch annotations directly on top of the code and console output. To evaluate this concept, we conducted a three-stage design study with 18 different programmers to investigate how sketches can communicate intended code edits to an AI model for interpretation and execution. The results show how different sketches are used, the strategies programmers employ during iterative interactions with AI interpretations, and interaction design principles that support the reconciliation between the code editor and sketches. Finally, we demonstrate the practical application of the code shaping concept with two use case scenarios, illustrating design implications from the study.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。