arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2007.05902cs.HCcs.AIcs.LGcs.SE
收藏

Editable AI: Mixed Human-AI Authoring of Code Patterns

University of Virginia(弗吉尼亚大学);George Mason University(乔治梅森大学)

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.

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

↑