Background: Hackathons have become popular events for teams to collaborate on projects and develop software prototypes. Most existing research focuses on activities during an event with limited attention to the evolution of the code brought to or created during a hackathon. Aim: We aim to understand the evolution of hackathon-related code, specifically, how much hackathon teams rely on pre-existing code or how much new code they develop during a hackathon. Moreover, we aim to understand if and where that code gets reused. Method: We collected information about 22,183 hackathon projects from DEVPOST -- a hackathon database -- and obtained related code (blobs), authors, and project characteristics from the World of Code. We investigated if code blobs in hackathon projects were created before, during, or after an event by identifying the original blob creation date and author, and also checked if the original author was a hackathon project member. We tracked code reuse by first identifying all commits containing blobs created during an event before determining all projects that contain those commits. Result: While only approximately 9.14% of the code blobs are created during hackathons, this amount is still significant considering the time and member constraints of such events. Approximately a third of these code blobs get reused in other projects. Conclusion: Our study demonstrates to what extent pre-existing code is used and new code is created during a hackathon and how much of it is reused elsewhere afterwards. Our findings help to better understand code reuse as a phenomenon and the role of hackathons in this context and can serve as a starting point for further studies in this area.
翻译:目标: 我们的目标是了解黑客相关代码的演变过程, 具体地说, 黑客相关代码的演变过程, 具体地说, 有多少黑客相关代码的演变过程, 或是在黑客项目中开发的新代码。 此外, 我们的目标是了解该代码是否和在哪里被再利用。 方法: 我们从黑客数据库DEVPOST中收集了22, 183个黑客项目的信息, 并且从黑客数据库中获得了相关代码( Blobs) 、 作者和项目特性。 我们的目标是了解黑客相关代码的演变过程, 具体地说, 黑客相关代码的演变过程, 具体地说, 在黑客项目之前、 期间或之后, 有多少黑客相关代码的演变过程, 并检查原作者是否是黑客项目的成员。 我们跟踪了代码的再利用过程, 首先是在确定所有包含黑客项目的事件中创建的 Blob 。 结果: 虽然我们只有9. 14 % 的代码研究, 在其它的黑客项目中, 我们的代码的使用范围是 。