Random Input and Automated Output Generation in Submitty

被引:0
|
作者
Maicus, Evan [1 ]
Patel, Drumil [1 ]
Peveler, Matthew [2 ]
Cutler, Barbara [1 ]
机构
[1] Rensselaer Polytech Inst, Troy, NY 12181 USA
[2] Indian Institue Technol, Roorkee, Uttar Pradesh, India
关键词
Autograding; Testing; Fuzz Testing;
D O I
10.1145/3328778.3372685
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
"Fuzzing," testing a codebase against a set of randomly generated inputs, has become a promising model of testing across the industry due to its ability to reveal difficult to detect bugs. Separately, the use of randomized inputs when testing student code submissions removes the potential for student "hard-coding" behavior. Motivated by these factors, we present a solution for the automated generation of testcase inputs and expected outputs within Submitty, an open source automated grading system from Rensselaer Polytechnic Institute. We detail an enhanced workflow that allows instructors to provide our testing system with an assignment-specific input generation script and an assignment solution. The input generation script is run at student test-time, providing students with either entirely generated inputs or a combination of generated and hand-crafted testcases. The instructor solution is run against the same inputs to produce expected results. This model of testcase specification carries the benefit of simple regeneration of expected output files if an assignment's specification changes after submissions open or between semesters. We present preliminary results of the use of random input generation in our large introductory programming courses, and evaluate the ability of random inputs to curb student hardcoding behavior as it relates to an "early submission incentive" system, which grants students an extension for achieving a target assignment score early in the week an assignment is due. We examine random input generation's ability to reveal bugs in student submissions from previous semesters.
引用
收藏
页码:1372 / 1372
页数:1
相关论文
共 50 条
  • [41] A Contextual Random Walk Model for Automated Playlist Generation
    Ueda, Seiji
    Keyaki, Atsushi
    Miyazaki, Jun
    2018 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE (WI 2018), 2018, : 367 - 374
  • [42] LUNAR: Automated Input Generation and Analysis for Reactive LAMMPS Simulations
    Kemppainen, Josh
    Gissinger, Jacob R.
    Gowtham, S.
    Odegard, Gregory M.
    JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2024, 64 (13) : 5108 - 5126
  • [43] Automated Test Input Generation for Software That Consumes ORM Models
    McGill, Matthew J.
    Stirewalt, R. E. Kurt
    Dillon, Laura K.
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2009 WORKSHOPS, 2009, 5872 : 704 - +
  • [44] On hardware generation of random Single Input Change test sequences
    David, R
    Girard, P
    Landrault, C
    Pravossoudovitch, S
    Virazel, A
    ETW 2001: IEEE EUROPEAN TEST WORKSHOP, PROCEEDINGS, 2001, : 117 - 123
  • [45] Hardware Generation of Random Single Input Change Test Sequences
    R. David
    P. Girard
    C. Landrault
    S. Pravossoudovitch
    A. Virazel
    Journal of Electronic Testing, 2002, 18 : 145 - 157
  • [46] Hardware generation of random single input change test sequences
    David, R
    Girard, P
    Landrault, C
    Pravossoudovitch, S
    Virazel, A
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2002, 18 (02): : 145 - 157
  • [47] AUTOMATED TRANSLATION OF JAPANESE KANA INPUT INTO MIXED KANA-KANJI OUTPUT
    UCHIDA, H
    SUGIYAMA, K
    FUJITSU SCIENTIFIC & TECHNICAL JOURNAL, 1979, 15 (02): : 21 - 43
  • [48] Automated Conceptual Design of Multiple Input and Multiple Output Mechanical Transmission System
    Bin, He
    Feng, Lv Hai
    Zhen, Liu Wen
    Zhi, Han Li
    2010 SECOND INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATIONS: ICCEA 2010, PROCEEDINGS, VOL 2, 2010, : 78 - 82
  • [49] THE EFFECT OF INPUT/OUTPUT LOCATION IN AN AUTOMATED STORAGE/RETRIEVAL SYSTEM WITH TWO CRANES
    Tokola, Henri
    Niemi, Esko
    2015 WINTER SIMULATION CONFERENCE (WSC), 2015, : 1916 - 1923
  • [50] RanCompute: Computational Security in Embedded Devices via Random Input and Output Encodings
    Hutto, Kevin
    Grijalva, Santiago
    Mooney, Vincent
    2022 11TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING (MECO), 2022, : 221 - 228