Essential Sentences for Navigating Stack Overflow Answers

12/31/2019
by   Sarah Nadi, et al.
0

Stack Overflow (SO) has become an essential resource for software development. Despite its success and prevalence, navigating SO remains a challenge. Ideally, SO users could benefit from highlighted navigational cues that help them decide if an answer is relevant to their task and context. Such navigational cues could be in the form of essential sentences that help the searcher decide whether they want to read the answer or skip over it. In this paper, we compare four potential approaches for identifying essential sentences. We adopt two existing approaches and develop two new approaches based on the idea that contextual information in a sentence (e.g., "if using windows") could help identify essential sentences. We compare the four techniques using a survey of 43 participants. Our participants indicate that it is not always easy to figure out what the best solution for their specific problem is, given the options, and that they would indeed like to easily spot contextual information that may narrow down the search. Our quantitative comparison of the techniques shows that there is no single technique sufficient for identifying essential sentences that can serve as navigational cues, while our qualitative analysis shows that participants valued explanations and specific conditions, and did not value filler sentences or speculations. Our work sheds light on the importance of navigational cues, and our findings can be used to guide future research to find the best combination of techniques to identify such cues.

READ FULL TEXT
research
11/27/2020

Connecting Context-specific Adaptation in Humans to Meta-learning

Cognitive control, the ability of a system to adapt to the demands of a ...
research
03/31/2022

Does This Apply to Me? An Empirical Study of Technical Context in Stack Overflow

Stack Overflow has become an essential technical resource for developers...
research
04/18/2021

On the Use of Context for Predicting Citation Worthiness of Sentences in Scholarly Articles

In this paper, we study the importance of context in predicting the cita...
research
10/07/2021

Contextual Sentence Classification: Detecting Sustainability Initiatives in Company Reports

We introduce the novel task of detecting sustainability initiatives in c...
research
03/22/2019

An empirical assessment of best-answer prediction models in technical Q&A sites

Technical Q&A sites have become essential for software engineers as they...
research
05/16/2019

MSRBot: Using Bots to Answer Questions from Software Repositories

Software repositories contain a plethora of useful information that can ...
research
09/21/2018

Opacity, Obscurity, and the Geometry of Question-Asking

Asking questions is a pervasive human activity, but little is understood...

Please sign up or login with your details

Forgot password? Click here to reset