{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/benchmarking-educational-program-repair","title":"Benchmarking Educational Program Repair","arxiv_id":"2405.05347","date":"2024-05-08","proceeding":null,"authors":["Charles Koutcheme","Nicola Dainese","Sami Sarsa","Juho Leinonen","Arto Hellas","Paul Denny"],"abstract":"The emergence of large language models (LLMs) has sparked enormous interest due to their potential application across a range of educational tasks. For example, recent work in programming education has used LLMs to generate learning resources, improve error messages, and provide feedback on code. However, one factor that limits progress within the field is that much of the research uses bespoke datasets and different evaluation metrics, making direct comparisons between results unreliable. Thus, there is a pressing need for standardization and benchmarks that facilitate the equitable comparison of competing approaches. One task where LLMs show great promise is program repair, which can be used to provide debugging support and next-step hints to students. In this article, we propose a novel educational program repair benchmark. We curate two high-quality publicly available programming datasets, present a unified evaluation procedure introducing a novel evaluation metric rouge@k for approximating the quality of repairs, and evaluate a set of five recent models to establish baseline performance.","url_abs":"https://arxiv.org/abs/2405.05347v1","url_pdf":"https://arxiv.org/pdf/2405.05347v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"benchmarking-educational-program-repair","repo_url":"https://github.com/koutchemecharles/gaied_nips23","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"program-repair","task_name":"Program Repair"}],"methods":[{"method_slug":"set","method_name":"SET"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.05347","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.05347"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/koutchemecharles/gaied_nips23","reach":{"status":"ok"}}],"summary":{"ran":11,"ran_honours":1,"unverified":1},"by_repo_kind":{"official":{"samples":13,"ran":12,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":13,"samples":[{"code_sha256_prefix":"f23340101cd8f1da","entry":"calculate_pass_at_k","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/evaluation.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f23340101cd8f1da"}},{"code_sha256_prefix":"5d7c63721afa0e89","entry":"convertToNumber","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/data_structures.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/data_structures.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5d7c63721afa0e89"}},{"code_sha256_prefix":"df629018634c1265","entry":"estimate_pass_at_k","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/evaluation.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"df629018634c1265"}},{"code_sha256_prefix":"648e7abfc4fea77a","entry":"exec_script","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/execution.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/execution.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"648e7abfc4fea77a"}},{"code_sha256_prefix":"9e09e62a70603063","entry":"find_closest_in_dict","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/data_structures.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/data_structures.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9e09e62a70603063"}},{"code_sha256_prefix":"a0eed0f4fcb70d3a","entry":"get_bytecode_representation","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/code.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a0eed0f4fcb70d3a"}},{"code_sha256_prefix":"6c49dea531b68bd6","entry":"get_normalized_ast_representation","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/code.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6c49dea531b68bd6"}},{"code_sha256_prefix":"25278943b1669128","entry":"get_variables","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/code.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"25278943b1669128"}},{"code_sha256_prefix":"dfed1f10244c1d8e","entry":"load_best_genconfig","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/repair/generation.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/repair/generation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dfed1f10244c1d8e"}},{"code_sha256_prefix":"1f16482bc7562fd2","entry":"load_trained_model","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/repair/training.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/repair/training.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1f16482bc7562fd2"}},{"code_sha256_prefix":"219660772c255bb9","entry":"run_execution","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/execution.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/execution.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"219660772c255bb9"}},{"code_sha256_prefix":"5e4b02e5bc753357","entry":"similar","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/utils/data_structures.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/utils/data_structures.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5e4b02e5bc753357"}},{"code_sha256_prefix":"bbfc7f4cb19c45f2","entry":"search_best_gen_params","repo":"koutchemecharles/gaied_nips23","repo_kind":"official","path":"src/repair/generation.py","file_url":"https://github.com/koutchemecharles/gaied_nips23/blob/HEAD/src/repair/generation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bbfc7f4cb19c45f2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}