Cargando…
Automatic prediction of rejected edits in Stack Overflow
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 e...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9686274/ https://www.ncbi.nlm.nih.gov/pubmed/36465999 http://dx.doi.org/10.1007/s10664-022-10242-2 |
_version_ | 1784835707483717632 |
---|---|
author | Mondal, Saikat Uddin, Gias Roy, Chanchal |
author_facet | Mondal, Saikat Uddin, Gias Roy, Chanchal |
author_sort | Mondal, Saikat |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-9686274 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-96862742022-11-28 Automatic prediction of rejected edits in Stack Overflow Mondal, Saikat Uddin, Gias Roy, Chanchal Empir Softw Eng Article 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. Springer US 2022-11-24 2023 /pmc/articles/PMC9686274/ /pubmed/36465999 http://dx.doi.org/10.1007/s10664-022-10242-2 Text en © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2022, Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law. This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Article Mondal, Saikat Uddin, Gias Roy, Chanchal Automatic prediction of rejected edits in Stack Overflow |
title | Automatic prediction of rejected edits in Stack Overflow |
title_full | Automatic prediction of rejected edits in Stack Overflow |
title_fullStr | Automatic prediction of rejected edits in Stack Overflow |
title_full_unstemmed | Automatic prediction of rejected edits in Stack Overflow |
title_short | Automatic prediction of rejected edits in Stack Overflow |
title_sort | automatic prediction of rejected edits in stack overflow |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9686274/ https://www.ncbi.nlm.nih.gov/pubmed/36465999 http://dx.doi.org/10.1007/s10664-022-10242-2 |
work_keys_str_mv | AT mondalsaikat automaticpredictionofrejectededitsinstackoverflow AT uddingias automaticpredictionofrejectededitsinstackoverflow AT roychanchal automaticpredictionofrejectededitsinstackoverflow |