kirancodes.me
To Proof Maintenance & Beyond!

AnswerBot: an answer summary generation tool based on stack overflow

Liang Cai, Haoye Wang, Bowen Xu, Qiao Huang, Xin Xia, David Lo, Zhenchang Xing

Abstract

Software Q&A sites (like Stack Overflow) play an essential role in developers’ day-to-day work for problem-solving. Although search engines (like Google) are widely used to obtain a list of relevant posts for technical problems, we observed that the redundant relevant posts and sheer amount of information barriers developers to digest and identify the useful answers. In this paper, we propose a tool AnswerBot which enables to automatically generate an answer summary for a technical problem. AnswerBot consists of three main stages, (1) relevant question retrieval, (2) useful answer paragraph selection, (3) diverse answer summary generation. We implement it in the form of a search engine website. To evaluate AnswerBot, we first build a repository includes a large number of Java questions and their corresponding answers from Stack Overflow. Then, we conduct a user study that evaluates the answer summary generated by AnswerBot and two baselines (based on Google and Stack Overflow search engine) for 100 queries. The results show that the answer summaries generated by AnswerBot are more relevant, useful, and diverse. Moreover, we also substantially improved the efficiency of AnswerBot (from 309 to 8 seconds per query).

BibTeX
@inproceedings{Cai-al:FSE19,
  author    = {Liang Cai and
               Haoye Wang and
               Bowen Xu and
               Qiao Huang and
               Xin Xia and
               David Lo and
               Zhenchang Xing},
  title     = {{AnswerBot:} an answer summary generation tool based on stack overflow},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {1134--1138},
  publisher = {{ACM}},
  year      = {2019},
}

Related papers