arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.13455cs.SEcs.CLcs.IR
收藏

浏览堆栈溢出答案的基本句子

Essential Sentences for Navigating Stack Overflow Answers

University of Alberta(阿尔伯塔大学);University of Adelaide(阿德莱德大学)

Sarah Nadi, Christoph Treude

摘要:

堆栈溢出(SO)已经成为软件开发的重要资源。尽管它的成功和流行,导航SO仍然是一个挑战。理想情况下,SO用户可以受益于突出显示的导航提示,帮助他们决定答案是否与他们的任务和上下文相关。这样的导航线索可以在基本的句子,帮助学生决定他们是否要阅读答案或跳过它的形式。在本文中,我们比较了四种潜在的方法来识别基本的句子。我们采用了两种现有的方法,并开发了两种新的方法,基于这样的想法,即句子中的上下文信息(例如,“如果使用Windows”)可以帮助识别基本句子。我们使用43名参与者的调查比较四种技术。我们的参与者表示,在给定选项的情况下,并不总是很容易找出他们特定问题的最佳解决方案,他们确实希望轻松地发现可能缩小搜索范围的上下文信息。我们的技术的定量比较表明,没有一种技术足以识别基本的句子,可以作为导航线索,而我们的定性分析表明,参与者重视解释和具体条件,并没有价值的填充句子或猜测。我们的工作揭示了导航线索的重要性,我们的研究结果可用于指导未来的研究,以找到识别此类线索的最佳技术组合。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑