arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.03281cs.SE
收藏

栈溢出中拒绝编辑的自动预测

Automatic Prediction of Rejected Edits in Stack Overflow

Saikat Mondal, Gias Uddin, Chanchal Roy

摘要:

堆栈溢出(SO)中共享知识的内容质量对于支持软件开发人员解决编程问题至关重要。因此,SO允许其用户建议编辑以提高帖子的质量(即,问题和答案)。然而,现有的研究表明,许多建议的编辑在SO被拒绝,由于不期望的内容/格式或违反编辑准则。这样的场景使想要进行高质量编辑的用户感到沮丧或失去动力。因此,我们的研究重点是帮助SO用户,为他们提供如何改善他们的帖子编辑的建议。首先,我们手动调查764(382个问题+ 382个答案)通过回滚拒绝的编辑,并产生19个拒绝原因的目录。其次,我们提取了15个文本和基于用户的特征来捕获这些拒绝原因。第三,我们开发了四个机器学习模型使用这些功能。我们性能最好的模型可以预测被拒绝的编辑,准确率为69.1%,召回率为71.2%,F1分数为70.1%,总体准确率为69.8%。第四,我们介绍了一个名为EditEx的在线工具,它与SO编辑系统一起工作。EditEx可以通过建议拒绝的潜在原因来帮助用户编辑帖子。我们招募了20名参与者来评估EditEx的有效性。一半的参与者(即,治疗组)使用EditEx和另一半(即,对照组)使用SO标准编辑系统编辑帖子。根据我们的实验,EditEx可以支持SO标准编辑系统,阻止49%的被拒绝编辑,包括常见的被拒绝编辑。然而,即使在自由格式的常规编辑中,它也可以防止12%的拒绝。治疗组发现EditEx确定的潜在排斥原因具有影响力。此外,建议使用EditEx进行编辑的工作量中位数是SO编辑系统的一半。

英文摘要:

The content quality of shared knowledge in Stack Overflow (SO) is crucial in supporting software developers with their programming problems. Thus, SO allows its users to suggest edits to improve the quality of a post (i.e., question and answer). However, existing research shows that many suggested edits in SO are rejected due to undesired contents/formats or violating edit guidelines. Such a scenario frustrates or demotivates users who would like to conduct good-quality edits. Therefore, our research focuses on assisting SO users by offering them suggestions on how to improve their editing of posts. First, we manually investigate 764 (382 questions + 382 answers) rejected edits by rollbacks and produce a catalog of 19 rejection reasons. Second, we extract 15 texts and user-based features to capture those rejection reasons. Third, we develop four machine learning models using those features. Our best-performing model can predict rejected edits with 69.1% precision, 71.2% recall, 70.1% F1-score, and 69.8% overall accuracy. Fourth, we introduce an online tool named EditEx that works with the SO edit system. EditEx can assist users while editing posts by suggesting the potential causes of rejections. We recruit 20 participants to assess the effectiveness of EditEx. Half of the participants (i.e., treatment group) use EditEx and another half (i.e., control group) use the SO standard edit system to edit posts. According to our experiment, EditEx can support SO standard edit system to prevent 49% of rejected edits, including the commonly rejected ones. However, it can prevent 12% rejections even in free-form regular edits. The treatment group finds the potential rejection reasons identified by EditEx influential. Furthermore, the median workload suggesting edits using EditEx is half compared to the SO edit system.

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

↑