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 条
  • [11] The good, the bad, and the ugly
    Bromund, TR
    FOREIGN AFFAIRS, 2000, 79 (05) : 155 - 156
  • [12] The good, the bad and the ugly
    McCann, Shaun
    BONE MARROW TRANSPLANTATION, 2018, 53 (09) : 1087 - 1088
  • [13] The Good, the Bad, the Ugly
    Moltenbre, Karen
    COMPUTER GRAPHICS WORLD, 2011, 34 (06) : 2 - 2
  • [14] The good the bad and the ugly
    Corris, Paul A.
    Sithamparanathan, Sasiharan
    Thirugnanasothy, Logan
    THORAX, 2014, 69 (09) : 870 - +
  • [15] THE GOOD, THE BAD AND THE UGLY
    Gmel, Gerhard
    ADDICTION, 2010, 105 (02) : 204 - 205
  • [16] THE GOOD, BAD, AND THE UGLY
    DZUBOW, LM
    DERMATOLOGIC SURGERY, 1995, 21 (10) : 837 - 837
  • [17] The bad, the ugly - and the good
    Jones, JS
    SOUTH AFRICAN MEDICAL JOURNAL, 1998, 88 (05): : 510 - 510
  • [18] THE GOOD, THE BAD AND THE UGLY
    NAKAMURA, DN
    HYDROCARBON PROCESSING, 1994, 73 (06): : 21 - 21
  • [19] The good, the bad and the ugly?
    Sebaihia, M
    Bentley, SD
    Holden, MTG
    Parkhill, J
    TRENDS IN MICROBIOLOGY, 2003, 11 (05) : 204 - 205
  • [20] The good, the bad and the ugly
    Philip Ebert
    Stewart Shapiro
    Synthese, 2009, 170 : 415 - 441