Research Article

Autonomous learning behaviors in an online coding community: A comparison between project viewing/playing and code remixing in Scratch using Benford’s law

Ray Y. Shen 1 *
More Detail
1 Independent Researcher, Potomac, MD, USA* Corresponding Author
Journal of Digital Educational Technology, 5(1), January 2025, ep2501, https://doi.org/10.30935/jdet/15808
Submitted: 23 June 2024, Published: 02 January 2025
OPEN ACCESS   147 Views   82 Downloads
Download Full Text (PDF)

ABSTRACT

Previous studies of code-learning behaviors have been conducted in structured educational settings, utilizing student engagement metrics such as homework submission, task completion, and interactions with instructors. These types of metrics, however, are absent in open online coding platforms. To characterize autonomous code-learning behaviors in an online community, this work applied Benford’s law to analyze user engagement metrics of trending projects on Scratch, the world’s largest online coding platform for young learners. Statistical analysis revealed that the extent of conformity to Benford’s law is independent of the project categories. Of all four user engagement metrics, the views metric exhibited the strongest conformity to Benford’s law, while the remixes metric–the metric most closely associated with code-learning behaviors–showed the greatest deviation from Benford’s law. This was confirmed by Pearson’s χ² test, Nigrini’s (2012) mean absolute deviation test, and an evaluation of the mantissas of the user engagement metrics. This study demonstrates that the extent of conformity to Benford’s law can be used as novel features for characterizing autonomous code-learning behaviors in unsupervised online settings. The results of this work pave the way for future studies to correlate the extent of conformity to Benford’s law with specific elements of code that attract autonomous learning, providing opportunities to optimize the content and design of online coding platforms.

CITATION (APA)

Shen, R. Y. (2025). Autonomous learning behaviors in an online coding community: A comparison between project viewing/playing and code remixing in Scratch using Benford’s law. Journal of Digital Educational Technology, 5(1), ep2501. https://doi.org/10.30935/jdet/15808

REFERENCES

  1. Abkenar, S. B., Kashani, M. H., Mahdipour, E., & Jameii, S. M. (2021). Big data analytics meets social media: A systematic review of techniques, open issues, and future directions. Telematics and Informatics, 57, Article 101517. https://doi.org/10.1016/j.tele.2020.101517
  2. Alebaikan, R., Alajlan, H., Almassaad, A., Alshamri, N., & Bain, Y. (2022). Experiences of middle school programming in an online learning environment. Behavioral Science, 12(11), Article 466. https://doi.org/10.3390/bs12110466
  3. Benford, F. (1938). The law of anomalous numbers. Proceedings of the American Philosophical Society, 78(4), 551–572.
  4. Berger, A., & Twelves, I. (2018). On the significands of uniform random variables. Journal of Applied Probability, 55(2), 353–367. https://doi.org/10.1017/jpr.2018.23
  5. Bhosale, S., & Di Troia, F. (2022). Twitter bots’ detection with Benford’s law and machine learning. In L. Bathen, G. Saldamli, X. Sun, T. H. Austin, & A. J. Nelson (Eds.), Silicon Valley Cybersecurity Conference. SVCC 2022. Communications in computer and information science, vol 1683 (pp. 38–54). Springer. https://doi.org/10.1007/978-3-031-24049-2_3
  6. Bock, D. E., Velleman, P. F., & De Veaux, R. D. (2019). Stats: Modeling the world. Pearson.
  7. Caffarini, J., Gjini, K., Sevak, B., Waleffe, R., Kalkach-Aparicio, M., Boly, M., & Struck, A. F. (2022). Engineering nonlinear epileptic biomarkers using deep learning and Benford’s law. Scientific Reports, 12, Article 5397. https://doi.org/10.1038/s41598-022-09429-w
  8. Chen, H. M., Nguyen, B. A., Yan, Y. X., & Dow, C. R. (2020). Analysis of learning behavior in an automated programming assessment environment: A code quality perspective. IEEE Access, 8, 167341–167354. https://doi.org/10.1109/ACCESS.2020.3024102
  9. Crocetti, E., & Randi, G. (2016). Using the Benford’s law as a first step to assess the quality of the cancer registry data. Frontiers in Public Health, 4, Article 225. https://doi.org/10.3389/fpubh.2016.00225
  10. da Silva Azevedo, C., Gonçalves, R. F., Gava, V. L., & de Mesquita Spinola, M. (2021). Benford’s law based method for fraud detection using R library. MethodsX, 8, Article 101575. https://doi.org/10.1016/j.mex.2021.101575
  11. da Silva, A. J., Floquet, S., Santos, D. O. C., & Lima, R. F. (2020). On the validation of the Newcomb-Benford law and the Weibull distribution in neuromuscular transmission. Physica A: Statistical Mechanics and its Applications, 552, Article 124606. https://doi.org/10.1016/j.physa.2020.124606
  12. Dabbish, L., Stuart, C., Tsay, J., & Herbsleb, J. (2012). Social coding in GitHub. In Proceedings of the ACM 2012 Conference on Computer Supported Cooperative Work (pp. 1277–1286). ACM. https://doi.org/10.1145/2145204.2145396
  13. Díaz, J., Gallart. J., & Ruiz. M. (2015). On the ability of the Benford’s law to detect earthquakes and discriminate seismic signals. Seismological Research Letters, 86(1), 192–201. https://doi.org/10.1785/0220140131
  14. Druică, E., Oancea, B., & Valsan, C. (2018). Benford’s law and the limits of digit analysis. International Journal of Accounting Information System, 31, 75–82. https://doi.org/10.1016/j.accinf.2018.09.004
  15. Erümit, A. K., & Şahin, G. (2020). Plugged or unplugged teaching: A case study of students’ preferences for the teaching of programming. International Journal of Computer Science Education in Schools, 4(1), 3–32. https://doi.org/10.21585/ijcses.v4i1.82
  16. Felt, M. (2016). Social media and the social sciences: How researchers employ big data analytics. Big Data & Society, 3(1). https://doi.org/10.1177/2053951716645828
  17. Hsu, L., & Berisha, V. (2022). Does human speech follow Benford’s law? arXiv. https://doi.org/10.48550/arXiv.2203.13352
  18. Kwon, K., & Cheon, J. (2019). Exploring problem decomposition and program development through block-based programs. International Journal of Computer Science Education in Schools, 3(1), 3–16. https://doi.org/10.21585/ijcses.v3i1.54
  19. Kwon, K., Lee, S. J., & Chung, J. (2018). Computational concepts reflected on Scratch programs. International Journal of Computer Science Education in Schools, 2(3). https://doi.org/10.21585/ijcses.v2i3.33
  20. Lin, C.-C., Cheng, E. S. J., Y.Q. Huang, A. Y. Q., & Yang, S. J. H. (2024). DNA of learning behaviors: A novel approach of learning performance prediction by NLP. Computers and Education: Artificial Intelligence, 6, Article 100227. https://doi.org/10.1016/j.caeai.2024.100227
  21. Moreno-León, J., Robles, G., & Román-González, M. (2015). Dr. Scratch: Automatic analysis of scratch projects to assess and foster computational thinking. Revista de Educación a Distancia, 46.
  22. Morzy, M, Kajdanowicz, T., & Szymański. B. (2016). Benford’s distribution in complex networks. Scientific Reports, 6, Article 34917. https://doi.org/10.1038/srep34917
  23. Newcomb, S. (1881). Note on the frequency of use of the different digits in natural numbers. American Journal of Mathematics, 4(1), 39–40. https://doi.org/10.2307/2369148
  24. Nigrini, M. J. (2012). Benford’s law. John Wiley & Sons, Inc. https://doi.org/10.1002/9781119203094
  25. Scott, P. D., & Fasli, M. (2001). Benford’s law: An empirical investigation and a novel explanation. University of Essex. https://repository.essex.ac.uk/8664/1/CSM-349.pdf
  26. Seenivasan, P., Easwaran, S., Sridhar, S., & Sinha, S. (2016). Using skewness and the first-digit phenomenon to identify dynamical transitions in cardiac models. Frontiers in Physiology, 6, Article 390. https://doi.org/10.3389/fphys.2015.00390
  27. Stewart, A. E. B., Solyst, J., Buddemeyer, A., Hatley, L., Henderson-Singer, Scott, K., Walker, E., & Ogan, A. (2021). Explaining engagement: Learner behaviors in a virtual coding camp. In I. Roll, D. McNamara, S. Sosnovsky, R. Luckin, & V. Dimitrova (Eds.), Artificial Intelligence in Education. AIED 2021. Lecture Notes in Computer Science(), vol 12749 (pp. 338–343). Springer. https://doi.org/10.1007/978-3-030-78270-2_60
  28. Su, Y.-S., & Lai, C.-F. (2021). Applying educational data mining to explore viewing behaviors and performance with flipped classrooms on the social media platform Facebook. Frontiers in Psychology, 12, Article 653018. https://doi.org/10.3389/fpsyg.2021.653018
  29. Sun, D., Ouyang, F., & Li, Y. (2021). Comparing learners’ knowledge, behaviors, and attitudes between two instructional modes of computer programming in secondary education. International Journal of STEM Education, 8, Article 54. https://doi.org/10.1186/s40594-021-00311-1
  30. Tošić, A., & Vičič, J. (2021). Use of Benford’s law on academic publishing networks. Journal of Informetrics, 15, Article 101163. https://doi.org/10.1016/j.joi.2021.101163
  31. Varga, D. (2021). Analysis of Benford’s law for no-reference quality assessment of natural, screen-content, and synthetic images. Electronics, 10(19), Article 2378. https://doi.org/10.3390/electronics10192378