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

使用澄清问题来改进软件开发人员的Web搜索

Using clarification questions to improve software developers' Web search

Mia Mohammad Imran, Kostadin Damevski

摘要:

内容:最近的研究表明,由软件开发人员编写的Web查询在检索相关结果方面不是很成功,与通用Web查询相比,其表现要差得多。到目前为止,大多数方法都使用特定于软件工程的自动化查询重构技术来解决这个问题,这些技术在没有开发人员参与的情况下工作,但受到原始查询内容的限制。换句话说,这些技术自动地改进了现有的查询,但不能贡献新的、以前未提及的概念。目的:在本文中,我们提出了一种技术来指导软件开发人员手动改善自己的Web搜索查询。我们研究了一个会话的方法,以下不成功的查询与澄清的问题,旨在引起额外的查询条件,从而为开发人员提供了一个明确的维度,查询可以改善。研究方法:我们描述了一组澄清问题,来自语料库的软件开发人员的查询和神经的方法来推荐他们的一个新发布的查询。结果如下:我们的评估表明,推荐技术是准确的,预测一个有效的澄清问题的80%的时间,并优于简单的基线,以及最先进的学习排序(LTR)基线。结论:如实验结果所示,所描述的方法是能够推荐适当的澄清问题,软件开发人员和开发人员的样本,从新手到有经验的专业人士认为是有用的。

英文摘要:

Context: Recent research indicates that Web queries written by software developers are not very successful in retrieving relevant results, performing measurably worse compared to general purpose Web queries. Most approaches up to this point have addressed this problem with software engineering-specific automated query reformulation techniques, which work without developer involvement but are limited by the content of the original query. In other words, these techniques automatically improve the existing query but can not contribute new, previously unmentioned, concepts. Objective: In this paper, we propose a technique to guide software developers in manually improving their own Web search queries. We examine a conversational approach that follows unsuccessful queries with a clarification question aimed at eliciting additional query terms, thus providing to the developer a clear dimension along which the query could be improved. Methods: We describe a set of clarification questions derived from a corpus of software developer queries and a neural approach to recommending them for a newly issued query. Results: Our evaluation indicates that the recommendation technique is accurate, predicting a valid clarification question 80% of the time and outperforms simple baselines, as well as, state-of-the-art Learning To Rank (LTR) baselines. Conclusion: As shown in the experimental results, the described approach is capable at recommending appropriate clarification questions to software developers and considered useful by a sample of developers ranging from novices to experienced professionals.

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

↑