arrow
返回

Generating Question Titles for Stack Overflow from Mined Code Snippets

delete2020-09-26
delete40
delete
OA
AI
G
Gao, Zhipeng
X
Xin Xia *
J
John Grundy
D
David Lo
Y
Yuan-Fang Li
DOI:10.1145/3401026delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Stack Overflow has been heavily used by software developers as a popular way to seek programming-related information from peers via the internet. The Stack Overflow community recommends users to provide the related code snippet when they are creating a question to help others better understand it and offer their help. Previous studies have shown that a significant number of these questions are of low-quality and not attractive to other potential experts in Stack Overflow. These poorly asked questions are less likely to receive useful answers and hinder the overall knowledge generation and sharing process. Considering one of the reasons for introducing low-quality questions in SO is that many developers may not be able to clarify and summarize the key problems behind their presented code snippets due to their lack of knowledge and terminology related to the problem, and/or their poor writing skills, in this study we propose an approach to assist developers in writing high-quality questions by automatically generating question titles for a code snippet using a deep sequence-to-sequence learning approach. Our approach is fully data-driven and uses an attention mechanism to perform better content selection, a copy mechanism to handle the rare-words problem and a coverage mechanism to eliminate word repetition problem. We evaluate our approach on Stack Overflow datasets over a variety of programming languages (e.g., Python, Java, Javascript, C# and SQL) and our experimental results show that our approach significantly outperforms several state-of-the-art baselines in both automatic and human evaluation. We have released our code and datasets to facilitate other researchers to verify their ideas and inspire the follow up work.
Keyword:
Stack overflow
question generation
question quality
sequence-to-sequence
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

M
Monash University
学者数:
5.4W
论文数: 5.4W
被引数: 79
S
Singapore Management University
学者数:
1.5K
论文数: 2.5K
被引数: 3.5K
引用论文

引用论文

err分享
err收藏
err
IF0
err
err0
errOAAI
err
err分享
err收藏
err
IF0
err
err0
errOAAI
err
err分享
err收藏
Dual Hole Transport Layers Heterojunction and Band Alignment Engineered Mo:BiVO4 Photoanodes for Efficient Water Splitting (Small 37/2024)
err2024-09-13
err0
PREAI
errGuilin Wang; Tongxin Tang; Kai‐Hang Ye; Xin Ding; Junwei Chen; WenHao Zou; Yushen Xiao; JieYu Li; Long Zhao; Chaojie Chen; Sitong Ge; Lei Li; Xiujuan Wei; Chao Chen; Yang Cao; Zhan Lin; Shanqing Zhang
err分享
err收藏
EnTagRec++: An enhanced tag recommendation system for software information sites
err2017-07-21
err60
errOAAI
errWang, Shaowei; Lo, David; Vasilescu, Bogdan; Serebrenik, Alexander
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容