一句话:提出 TaskKG4Q,利用 Stack Overflow 任务知识图谱交互帮助开发者将 how-to 问题表述得更具体。
开发者在搜索引擎、技术问答社区和交互式问答系统中常以 how-to 问题寻求编程任务帮助,但问题表述不够具体,系统难以返回最佳答案。本文提出 TaskKG4Q,利用从 Stack Overflow 问题中挖掘的编程任务知识图谱,以动作、对象和约束构成任务的层次化概念结构,交互式帮助开发者构建编程相关 how-to 问题。对任务知识图谱内在质量的评估显示,其中标注问题有 75.0% 是正确的;与两个基线比较表明,TaskKG4Q 能帮助开发者写出更具体的 how-to 问题。针对新手程序员的实证研究进一步显示,他们能为在 Stack Overflow 上寻找编程任务答案写出更有效的问题。
Developers often ask how-to questions using search engines, technical Q&A communities, and interactive Q&A systems to seek help for specific programming tasks. However, they often do not formulate the questions in a specific way, making it hard for the systems to return the best answers. We propose an approach (TaskKG4Q) that interactively helps developers formulate a programming related how-to question. TaskKG4Q is using a programming task knowledge graph (task KG in short) mined from Stack Overflow questions, which provides a hierarchical conceptual structure for tasks in terms of [actions], [objects], and [constraints]. An empirical evaluation of the intrinsic quality of the task KG revealed that 75.0% of the annotated questions in the task KG are correct. The comparison between TaskKG4Q and two baselines revealed that TaskKG4Q can help developers formulate more specific how-to questions. More so, an empirical study with novice programmers revealed that they write more effective questions for finding answers to their programming tasks on Stack Overflow.
DOI 原文 ·
@inproceedings{paperbot7058,
title = {How to formulate specific how-to questions in software development?},
author = {Mingwei Liu and Xin Peng and Andrian Marcus and Christoph Treude and Jiazhan Xie and Huanjun Xu and Yanjun Yang},
booktitle = {FSE},
year = {2022},
doi = {10.1145/3540250.3549160}
}