当前位置: X-MOL 学术arXiv.cs.AI › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Editable AI: Mixed Human-AI Authoring of Code Patterns
arXiv - CS - Artificial Intelligence Pub Date : 2020-07-12 , DOI: arxiv-2007.05902
Kartik Chugh, Andrea Y. Solis, Thomas D. LaToza

Developers authoring HTML documents define elements following patterns which establish and reflect the visual structure of a document, such as making all images in a footer the same height by applying a class to each. To surface these patterns to developers and support developers in authoring consistent with these patterns, we propose a mixed human-AI technique for creating code patterns. Patterns are first learned from individual HTML documents through a decision tree, generating a representation which developers may view and edit. Code patterns are used to offer developers autocomplete suggestions, list examples, and flag violations. To evaluate our technique, we conducted a user study in which 24 participants wrote, edited, and corrected HTML documents. We found that our technique enabled developers to edit and correct documents more quickly and create, edit, and correct documents more successfully.

中文翻译:

可编辑的人工智能:代码模式的混合人工人工智能创作

创作 HTML 文档的开发人员定义遵循模式的元素,这些模式建立和反映文档的视觉结构,例如通过对每个图像应用类来使页脚中的所有图像具有相同的高度。为了向开发人员展示这些模式并支持开发人员根据这些模式进行创作,我们提出了一种用于创建代码模式的混合人工人工智能技术。模式首先通过决策树从单个 HTML 文档中学习,生成开发人员可以查看和编辑的表示。代码模式用于为开发人员提供自动完成建议、列出示例和标记违规行为。为了评估我们的技术,我们进行了一项用户研究,其中 24 名参与者编写、编辑和更正了 HTML 文档。
更新日期:2020-07-14
down
wechat
bug