Stack Overflow 遇见复制:代码片段不断演变下的安全研究(扩展版)
Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets (Extended Version)
AI总结:
研究 Stack Overflow 代码演变对先前安全研究结论稳定性的影响,通过复制六项研究证明使用新数据集会导致四篇论文结论显著改变,建议将其视为时间序列数据源以解释横截面研究。
摘要:
我们研究了 Stack Overflow 代码演变对基于 Stack Overflow 数据得出的先前研究结论稳定性的影响,并为未来研究提供建议。我们系统回顾了 2005--2023 年间发表的论文,以识别可能影响研究结果的 Stack Overflow 关键方面,例如代码片段的语言或上下文。我们的分析表明,某些方面随时间呈现非平稳性,如果在不同时间重复实验,可能会导致不同结论。我们使用更新的数据集复制了六项研究以证明这一风险。结果显示,四篇论文产生了与原始结论显著不同的结果,使得无法使用更新的数据集版本得出相同结论。因此,我们建议将 Stack Overflow 视为时间序列数据源,为解释横截面研究结论提供上下文。
英文摘要:
We study the impact of Stack Overflow code evolution on the stability of prior research findings derived from Stack Overflow data and provide recommendations for future studies. We systematically reviewed papers published between 2005--2023 to identify key aspects of Stack Overflow that can affect study results, such as the language or context of code snippets. Our analysis reveals that certain aspects are non-stationary over time, which could lead to different conclusions if experiments are repeated at different times. We replicated six studies using a more recent dataset to demonstrate this risk. Our findings show that four papers produced significantly different results than the original findings, preventing the same conclusions from being drawn with a newer dataset version. Consequently, we recommend treating Stack Overflow as a time series data source to provide context for interpreting cross-sectional research conclusions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。