Metraipolis › archive › dc_6640c1a5fac4

Do Stack Overflow Answer Edits Occur Beyond Java? A Replication on Python and JavaScript — arXiv:2608.08361

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.08361
License (as archived)
CC0-1.0
Archived
2026-10-19T09:00:55.444Z
SHA-256 of the archived text
5b2fd2004da01f6f43453999984ca356385322fa61d2594ab58a923a68d60dac
Stable URL of this page
https://metraipolis.com/documento/dc_6640c1a5fac4

How to cite

Do Stack Overflow Answer Edits Occur Beyond Java? A Replication on Python and JavaScript — arXiv:2608.08361 — arXiv (en), https://arxiv.org/abs/2608.08361 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6640c1a5fac4 (Metraipolis archive dc_6640c1a5fac4, sha256 5b2fd2004da01f6f43453999984ca356385322fa61d2594ab58a923a68d60dac)
BibTeX
@misc{dc6640c1a5fac4,
  title = {Do Stack Overflow Answer Edits Occur Beyond Java? A Replication on Python and JavaScript — arXiv:2608.08361},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.08361},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6640c1a5fac4; sha256 5b2fd2004da01f6f43453999984ca356385322fa61d2594ab58a923a68d60dac},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.08361. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Stack Overflow answers are continually revised by the community, and the edits made to their code snippets are a potential source of improvements for code that has been reused in open-source projects. A recent empirical study established this for Java, reporting that 16.11% of accepted Java answers are edited and that the resulting recommendations concentrate in highly popular GitHub projects. Whether that behaviour is a property of Stack Overflow or a property of the Java community has remained an open question. We replicate the study on Python and JavaScript, the two most widely used languages alongside Java, applying the same SOTorrent-based extraction pipeline, the same clone search tool, Siamese+, and the same project popularity criteria. Analysing 840,132 accepted Python answers and 1,144,185 accepted JavaScript answers, we find that 41.25% and 39.10% respectively have been edited at least once, roughly two and a half times the Java rate, while the number of revisions per edited answer is almost invariant across the three languages at 2.78, 2.68 and 2.82. Searching 100 GitHub projects per language, we find that the number of matched answer edits increases monotonically from low- to medium- to high-popularity projects in both languages, from 80 to 156 to 977 for Python and from 32 to 71 to 353 for JavaScript. The difference is statistically significant for Python but not for JavaScript. The central findings of the original study therefore generalise beyond Java, with the supply of candidate improvements considerably larger in both replication languages than in the original.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-11 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.08361 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T09:00:31.482Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).