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, and what factors affect reuse. 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. The number of associated technologies and the number of participants in a project increase reuse probability. 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.
翻译:背景: Hackathons 已经成为团队合作项目和开发软件原型的流行事件。 多数现有研究集中在一个事件期间的活动,对黑手党相关代码的演变关注有限。 目标: 我们的目标是了解黑手党相关代码的演变, 具体地说, 有多少黑手党团队依赖于原有代码, 或者他们在黑手党中开发了多少新代码。 此外, 我们的目标是了解该代码是否和在哪里被再利用, 以及哪些因素会影响再利用。 方法: 我们从DEVPOST -- -- 黑手党数据库 -- 收集了22, 183个黑客项目的信息, 并且从黑手党数据库 -- -- 获得了相关代码( Blobs) 、 作者和项目特性。 我们调查了黑手党项目在之前、 期间或之后创建多少黑手党相关代码的演变过程, 并且检查原始作者是否是黑手党相关项目的成员。 我们追踪了代码的再利用情况, 首先我们追踪了其他地方的代码再利用情况, 在确定所有项目之前创建的黑手党项目中是如何增加新的代码的。 结果: 大约9.14 % 的代码是用来在内部进行这样的项目中, 。 在研究中, 在研究中, 我们的黑手法项目中, 大约的代码中, 正在研究中, 正在展示中, 将大量的代码中, 正在展示中, 的代码中, 正在展示的代码中, 在这样的一个很大的一个很大的一个在研究。