arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.02290cs.SIcs.CLcs.IR
收藏

表征编程挑战参与者共享的信息:Advent of Code 案例

Characterizing Information Shared by Participants to Coding Challenges: The Case of Advent of Code

University of Salerno(萨勒诺大学);Polytechnic University of Marche(马尔凯理工大学)

Francesco Cauteruccio, Enrico Corradini, Luca Virgili

AI总结:

本文构建 2019–2021 年 AoC Reddit 讨论数据集,并用流图模型分析参与者、评论与编程语言,揭示语言使用、更换及韧性规律。

摘要:

Advent of Code(以下简称 AoC)是一项广受欢迎的编程挑战,要求参与者为各种技能组合和水平解决编程谜题。AoC 遵循降临节日历,因此它是一项持续 25 天的年度挑战。AoC 参与者通常会在社交网络上发布他们的解决方案并在线讨论。研究这些挑战很有意思,因为它们可以凸显新工具的采用、开发者社区的演变,或知名公司的技术要求。基于这些原因,我们首先创建了一个包含 2019–2021 年 AoC 赛事的数据集,其中含有在 subreddit /r/adventofcode 上形成的讨论线程。随后,我们提出了一个基于流图(stream graphs)的模型,以最佳方式研究这一情境,并在其中随时间表示其最重要的行动者:参与者、评论和编程语言。借助该模型,我们考察了用户参与情况、一次挑战期间以及两次挑战之间对新编程语言的采用,并依据一项 Stack Overflow 调查研究了编程语言的韧性。我们发现,三年中最常使用的编程语言几乎相同,这表明了它们的重要性。此外,参与者倾向于在整个挑战期间保持使用同一种编程语言,而参加两届 AoC 的人通常会在下一届更换语言。最后,我们观察到关于在 Stack Overflow 调查中被评为“Popular”(流行)或“Loved”(受喜爱)的编程语言的有趣结果。首先,这些语言是在一届 AoC 中被采用时间最长的语言,借助它们,用户有很高概率坚持到挑战结束。其次,当参与者决定在同一挑战期间更换编程语言时,它们也是最常被选择的语言。

英文摘要:

Advent of Code (AoC from now on) is a popular coding challenge requiring to solve programming puzzles for a variety of skill sets and levels. AoC follows the advent calendar, therefore it is an annual challenge that lasts for 25 days. AoC participants usually post their solutions on social networks and discuss them online. These challenges are interesting to study since they could highlight the adoption of new tools, the evolution of the developer community, or the technological requirements of well-known companies. For these reasons, we first create a dataset of the 2019-2021 AoC editions containing the discussion threads made on the subreddit {\tt /r/adventofcode}. Then, we propose a model based on stream graphs to best study this context, where we represent its most important actors through time: participants, comments, and programming languages. Thanks to our model, we investigate user participation, adoption of new programming languages during a challenge and between two of them, and resiliency of programming languages based on a Stack Overflow survey. We find that the top-used programming languages are almost the same in the three years, pointing out their importance. Moreover, participants tend to keep the same programming language for the whole challenge, while the ones attending two AoCs usually change it in the next one. Finally, we observe interesting results about the programming languages that are ``Popular'' or ``Loved'' according to the Stack Overflow survey. Firstly, these are the ones adopted for the longest time in an AoC edition, thanks to which users have a high chance of reaching the end of the challenge. Secondly, they are the most chosen when a participant decides to change programming language during the same challenge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑