[Paper Review] C-Pack of IPAs: A C90 Program Benchmark of Introductory Programming Assignments
This paper introduces C-Pack-IPAs, a publicly available benchmark of 25 introductory programming assignments (IPAs) in C90, comprising semantically correct, semantically incorrect, and syntactically incorrect student submissions. The dataset enables evaluation of automated program repair frameworks targeting novice programmers, offering diverse correct implementations and comprehensive test suites for each IPA, making it one of the few benchmarks for C with both semantic and syntactic error coverage.
Due to the vast number of students enrolled in Massive Open Online Courses (MOOCs), there has been an increasing number of automated program repair techniques focused on introductory programming assignments (IPAs). Such techniques take advantage of previous correct student implementations in order to provide automated, comprehensive, and personalized feedback to students. This paper presents C-Pack-IPAs, a publicly available benchmark of students' programs submitted for 25 different IPAs. C-Pack-IPAs contains semantically correct, semantically incorrect, and syntactically incorrect programs plus a test suite for each IPA. Hence, C-Pack-IPAs can be used to help evaluate the development of novel semantic, as well as syntactic, automated program repair frameworks, focused on providing feedback to novice programmers.
Motivation & Objective
- To address the growing need for automated, personalized feedback in MOOCs due to high student enrollment in introductory programming courses.
- To provide a comprehensive benchmark for evaluating automated program repair tools targeting novice C programmers.
- To support the development of both semantic and syntactic repair frameworks using real student submissions.
- To offer a publicly accessible, anonymized dataset with test suites for each IPA, enabling reproducible evaluation.
- To fill the gap in publicly available C-language benchmarks that include both semantic and syntactic errors alongside multiple correct implementations.
Proposed method
- The benchmark collects student submissions from three lab classes in an introductory C programming course at Instituto Superior Técnico.
- Submissions are categorized as semantically correct (pass all test cases), semantically incorrect (compile but fail tests), or syntactically incorrect (fail compilation).
- Each IPA includes a test suite used to evaluate correctness, and reference implementations are provided for repair framework compatibility.
- All student programs were anonymized, comments removed, and usage permissions obtained for academic use.
- The dataset is hosted on GitHub and includes detailed metadata on submission distribution across years and exercises.
- The benchmark supports evaluation of both semantic and syntactic repair techniques using real-world student code.
Experimental results
Research questions
- RQ1How effective are automated program repair frameworks in correcting semantically incorrect C90 programs submitted by novice programmers?
- RQ2To what extent can repair frameworks leverage multiple correct implementations to improve repair accuracy for IPAs?
- RQ3Can syntactic repair tools effectively handle real-world compilation errors found in novice C code?
- RQ4How does the distribution of correct, semantically incorrect, and syntactically incorrect submissions impact the evaluation of repair tools?
- RQ5What is the scalability and diversity of a benchmark that includes 25 distinct IPAs with multiple correct and incorrect implementations?
Key findings
- C-Pack-IPAs contains 653 semantically correct, 513 semantically incorrect, and 98 syntactically incorrect C90 programs across 25 distinct introductory programming assignments.
- The dataset includes test suites and reference implementations for each IPA, enabling comprehensive evaluation of repair frameworks.
- The benchmark is publicly available on GitHub with anonymized student submissions and removed comments for privacy.
- C-Pack-IPAs is one of the few benchmarks for C90 that includes both semantic and syntactic error cases alongside multiple correct implementations per IPA.
- The dataset spans two academic years and three lab classes, offering temporal and pedagogical diversity in student submissions.
- The benchmark supports the evaluation of both semantic and syntactic automated repair techniques, addressing a key gap in existing C-language program repair datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.