paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How to formulate specific how-to questions in software development?

如何在软件开发中表述具体的 how-to 问题?
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 1/10 · 该论文研究如何利用 Stack Overflow 任务知识图谱帮助开发者更具体地表述 how-to 问题,属于开发者工具与问答系统方向;与用户关注的静态分析、Agentic/LLM 程序分析、浮点程序分析、贝叶斯程序分析等核心方向没有直接关系。引用 11 inbox
Mingwei Liu, Xin Peng, Andrian Marcus, Christoph Treude, Jiazhan Xie, Huanjun Xu, Yanjun Yang
crossref: 2026-09-12

AI 速览

一句话:提出 TaskKG4Q,利用 Stack Overflow 任务知识图谱交互帮助开发者将 how-to 问题表述得更具体。

开发者在搜索引擎、技术问答社区和交互式问答系统中常以 how-to 问题寻求编程任务帮助,但问题表述不够具体,系统难以返回最佳答案。本文提出 TaskKG4Q,利用从 Stack Overflow 问题中挖掘的编程任务知识图谱,以动作、对象和约束构成任务的层次化概念结构,交互式帮助开发者构建编程相关 how-to 问题。对任务知识图谱内在质量的评估显示,其中标注问题有 75.0% 是正确的;与两个基线比较表明,TaskKG4Q 能帮助开发者写出更具体的 how-to 问题。针对新手程序员的实证研究进一步显示,他们能为在 Stack Overflow 上寻找编程任务答案写出更有效的问题。

问题
开发者的 how-to 问题常不够具体,导致搜索引擎和问答系统难以返回最佳答案。
方法
提出 TaskKG4Q,基于从 Stack Overflow 挖掘的任务知识图谱(动作、对象、约束的层次结构)交互式辅助问题表述。
评估
评估任务知识图谱质量(75.0% 标注问题正确),与两个基线比较,并开展新手程序员实证研究,考察问题具体性与寻答效果。
原文摘要(Abstract)

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 原文 ·

BibTeX
@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}
}