The Good, the Bad, and the Ugly: Mining for Patterns in Student Source Code

被引:2
|
作者
Mens, Kim [1 ]
Nijssen, Siegfried [1 ]
Hoang-Son Pham [2 ]
机构
[1] UCLouvain, ICTEAM Inst, Louvain La Neuve, Belgium
[2] Hasselt Univ, Data Sci Inst, Hasselt, Belgium
关键词
Pattern mining; source code mining; CS education; programming;
D O I
10.1145/3472673.3473958
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Research on source code mining has been explored to discover interesting structural regularities, API usage patterns, refactoring opportunities, bugs, crosscutting concerns, code clones and systematic changes. In this paper we present a pattern mining algorithm that uses frequent tree mining to mine for interesting good, bad or ugly coding idioms made by undergraduate students taking an introductory programming course. We do so by looking for patterns that distinguish positive examples, corresponding to the more correct answers to a question, from negative examples, corresponding to solutions that failed the question. We report promising initial results of this algorithm applied to the source code of over 500 students. Even though more work is needed to fine-tune and validate the algorithm further, we hope that it can lead to interesting insights that can eventually be integrated into an intelligent recommendation system to help students learn from their errors.
引用
收藏
页码:1 / 8
页数:8
相关论文
共 50 条
  • [1] Early repolarization patterns: The good, the bad, and the ugly?
    Hoogendijk, Mark G.
    Potse, Mark
    Coronel, Ruben
    HEART RHYTHM, 2012, 9 (02) : 230 - 231
  • [2] Student usage and perceptions of ChatGPT: The good, the bad, and the ugly
    Mennella, Thomas
    BIOPHYSICAL JOURNAL, 2024, 123 (03) : 334A - 334A
  • [3] YouTube as a source of information on rhinosinusitis: the good, the bad and the ugly
    Biggs, T. C.
    Bird, J. H.
    Harries, P. G.
    Salib, R. J.
    JOURNAL OF LARYNGOLOGY AND OTOLOGY, 2013, 127 (08): : 749 - 754
  • [4] The good, the bad, and the ugly, but how ugly is ugly?
    Bauer, Andreas
    Leucker, Martin
    Schallhart, Christian
    RUNTIME VERIFICATION, 2007, 4839 : 126 - +
  • [5] Good, Bad, Ugly
    Rouhi, A. Maureen
    CHEMICAL & ENGINEERING NEWS, 2013, 91 (06) : 3 - 3
  • [6] THE GOOD, THE BAD AND THE UGLY
    不详
    CHEMISTRY IN BRITAIN, 1992, 28 (01) : 13 - 13
  • [7] The good, the bad and the ugly
    不详
    NATURE, 2001, 414 (6863) : 473 - 473
  • [8] THE 'GOOD, THE BAD AND THE UGLY'
    KELLY, J
    PRISM INTERNATIONAL, 1988, 26 (03): : 77 - 78
  • [9] The good, the bad, and the ugly
    Jones, WE
    JOURNAL OF EQUINE VETERINARY SCIENCE, 1996, 16 (02) : 45 - 45
  • [10] THE GOOD, THE BAD AND THE UGLY
    Brooke, Michael
    SIGHT AND SOUND, 2016, 26 (11): : 6 - 7