Automated Feedback Generation for Programming Assignments Through Diversification

Dongwook Choi, Eunseok Lee

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Immediate and personalized feedback on students' programming assignments is important for improving their programming skills. However, it is challenging for instructors to give personalized feedback to every student since each program is written differently. To address this problem, the Automated Feedback Generation (AFG) technique has been proposed, which identifies faults from the wrong program, generates patches, and provides feedback if validation is passed. AFG relies on students' correct programs to find faults and generate patches. Therefore, having diverse correct programs is important for the performance of AFG. However, in small-scale programming courses or new online judge problems, there might be a lack of diversity in correct programs. In this paper, we propose Mentored, a new AFG for students' programming assignments through diversification. Mentored generates new structures of programs through various combinations of programs to gener-ate modifications optimized for wrong programs while solving the problem of dependency on correct programs. Additionally, Mentored provides transparent feedback on the process of repairing wrong programs. We evaluate Mentored on real student programming assignments and compare it with state-of-the-art AFG approaches. Our dataset includes real university in-troductory programming assignments and online judge problems. Experimental results show that Mentored generates higher repair rates and more diverse program structures than other AFG approaches. Moreover, by providing a transparent sequence of repair processes, Mentored is expected to improve students' programming skills and reduce instructors' manual effort in feedback generation. These results indicate that Mentored can be a useful tool in proaramming education.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE/ACM 37th International Conference on Software Engineering Education and Training, CSEE and T 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages230-241
Number of pages12
ISBN (Electronic)9798331537098
DOIs
StatePublished - 2025
Event37th IEEE/ACM International Conference on Software Engineering Education and Training, CSEE and T 2025 - Ottawa, Canada
Duration: 28 Apr 202529 Apr 2025

Publication series

NameSoftware Engineering Education Conference, Proceedings
ISSN (Print)1093-0175

Conference

Conference37th IEEE/ACM International Conference on Software Engineering Education and Training, CSEE and T 2025
Country/TerritoryCanada
CityOttawa
Period28/04/2529/04/25

Keywords

  • Automated Feed-back Generation
  • Automated Program Repair
  • Programming Assignments

Fingerprint

Dive into the research topics of 'Automated Feedback Generation for Programming Assignments Through Diversification'. Together they form a unique fingerprint.

Cite this