Lune

ASE2021Top-tier venue

ISPY: Automatic Issue-Solution Pair Extraction from Community Live Chats

Lin Shi, Ziyou Jiang, Ye Yang, Xiao Chen, Yumin Zhang, Fangwen Mu, Hanzhi Jiang, Qing Wang

Abstract

Collaborative live chats are gaining popularity as a development communication tool. In community live chatting, developers are likely to post issues they encountered (e.g., setup issues and compile issues), and other developers respond with possible solutions. Therefore, community live chats contain rich sets of information for reported issues and their corresponding solutions, which can be quite useful for knowledge sharing and future reuse if extracted and restored in time. However, it remains challenging to accurately mine such knowledge due to the noisy nature of interleaved dialogs in live chat data. In this paper, we first formulate the problem of issue-solution pair extraction from developer live chat data, and propose an automated approach, named ISPY, based on natural language processing and deep learning techniques with customized enhancements, to address the problem. Specifically, ISPY automates three tasks: 1) Disentangle live chat logs, employing a feedforward neural network to disentangle a conversation history into separate dialogs automatically; 2) Detect dialogs discussing issues, using a novel convolutional neural network (CNN), which consists of a BERT-based utterance embedding layer, a context-aware dialog embedding layer, and an output layer; 3) Extract appropriate utterances and combine them as corresponding solutions, based on the same CNN structure but with different feeding inputs. To evaluate ISPY, we compare it with six baselines, utilizing a dataset with 750 dialogs including 171 issue-solution pairs and evaluate ISPY from eight open source communities. The results show that, for issue-detection, our approach achieves the F1 of 76%, and outperforms all baselines by 30%. Our approach achieves the F1 of 63% for solution-extraction and outperforms the baselines by 20%. Furthermore, we apply ISPY on three new communities to extensively evaluate ISPY’s practical usage. Moreover, we publish over 30K issue-solution pairs extracted from 11 communities. We believe that ISPY can facilitate community-based software development by promoting knowledge sharing and shortening the issue-resolving process.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A first look at developers' live chat on Gitter cites Detection of hidden feature requests from massive chat messages via deep siamese network
  • Enhancing Automated Program Repair with Solution Design cites A first look at developers' live chat on Gitter
  • BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live Chats cites Caspar: extracting and synthesizing user stories of problems from app reviews
  • BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live Chats cites Detection of hidden feature requests from massive chat messages via deep siamese network
  • BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live Chats cites A first look at developers' live chat on Gitter
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. AUGER: automatically generating review comments with pre-training modelsLingwei Li, Li Yang, Huaxi Jiang, Jun Yan et al.FSE 2022 · 56 citations
  2. BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live ChatsLin Shi, Fangwen Mu, Yumin Zhang, Ye Yang et al.ICSE 2022 · 6 citations
  3. Enhancing Automated Program Repair with Solution DesignJiuang Zhao, Donghao Yang, Li Zhang, Xiaoli Lian et al.ASE 2024 · 3 citations
  4. SCPatcher: Mining Crowd Security Discussions to Enrich Secure Coding PracticesZiyou Jiang, Lin Shi, Guowei Yang, Qing WangASE 2023 · 2 citations
  5. PatUntrack: Automated Generating Patch Examples for Issue Reports without Tracked Insecure CodeZiyou Jiang, Lin Shi, Guowei Yang, Qing WangASE 2024

Builds on6

  1. ERNIE 2.0: A Continual Pre-Training Framework for Language UnderstandingYu Sun, Shuohuan Wang, Yu-Kun Li, Shikun Feng et al.AAAI 2020 · 885 citations
  2. Detection of hidden feature requests from massive chat messages via deep siamese networkLin Shi, Mingzhe Xing, Mingyang Li, Yawen Wang et al.ICSE 2020 · 31 citations
  3. A first look at developers' live chat on GitterLin Shi, Xiao Chen, Ye Yang, Hanzhi Jiang et al.FSE 2021 · 30 citations
  4. Caspar: extracting and synthesizing user stories of problems from app reviewsHui Guo, Munindar P. SinghICSE 2020 · 27 citations
  5. "How Was Your Weekend?" Software Development Teams Working From Home During COVID-19Courtney Miller, Paige Rodeghero, Margaret-Anne D. Storey, Denae Ford et al.ICSE 2021 · 19 citations

Related papers

  1. On the Helpfulness of Answering Developer Questions on Discord with Similar Conversations and Posts from the PastAlexander Lill, André N. Meyer, Thomas FritzICSE 2024 · 5 citations
  2. Automatic Extraction of Opinion-based Q&A from Online Developer ChatsPreetha Chatterjee, Kostadin Damevski, Lori L. PollockICSE 2021 · 28 citations
  3. Automating Developer Chat MiningShengyi Pan, Lingfeng Bao, Xiaoxue Ren, Xin Xia et al.ASE 2021 · 17 citations
  4. Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT ModelsJinfeng Lin, Yalin Liu, Qingkai Zeng, Meng Jiang et al.ICSE 2021 · 124 citations
  5. Learning to Describe Solutions for Bug Reports Based on Developer DiscussionsSheena Panthaplackel, Junyi Jessy Li, Milos Gligoric, Raymond J. MooneyACL Findings 2022 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines