A GPT-based Code Review System with Accurate Feedback for Programming Educationopen access
- Authors
- Lee, Dong-Kyu; Joe, Inwhee
- Issue Date
- Jun-2025
- Publisher
- Institute of Electrical and Electronics Engineers Inc.
- Keywords
- Codes; Reviews; Education; Programming profession; Chatbots; Proposals; Automation; Accuracy; Usability; Training; Large language models (LLMs); GPT-4o; programming education; learner-friendly code reviews; LangChain
- Citation
- IEEE Access, v.13, pp 105724 - 105737
- Pages
- 14
- Indexed
- SCIE
SCOPUS
- Journal Title
- IEEE Access
- Volume
- 13
- Start Page
- 105724
- End Page
- 105737
- URI
- https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/208001
- DOI
- 10.1109/ACCESS.2025.3581139
- ISSN
- 2169-3536
2169-3536
- Abstract
- The increasing demand for programming education and growing class sizes require immediate and personalized feedback. However, integrating Large Language Models (LLMs) like ChatGPT in introductory programming courses raises concerns about AI-assisted cheating. In large-scale settings, faulty code submissions may lead LLMs to overanalyze, causing unnecessary token consumption. This paper proposes a GPT-4o-based code review system that provides accurate feedback while reducing token usage and preventing AI-assisted cheating. Unlike general-purpose LLM tools for professionals, the system is pedagogically designed for primary and secondary students by focusing on review necessity and learnerfriendly feedback. The system features a Code Review Module (CRM) that reduces token usage via a Review Necessity Chain (RNC), and Code Correctness Check Module (CCM) combining test case validation with LLM-based assessment. To prevent AI-assisted cheating, the system provides automated feedback on submitted code without prompting and revealing correct answers, which are accessed only through the Ask Code Tutor button. In usability test, the system detected up to 42.86% more errors than a conventional online judge. BERTScore analysis showed that over 80% of the system-generated reviews were semantically aligned with human feedback. A performance comparison with state-of-the-art systems demonstrated a blocking success rate of 86%, with a comparable review omission rate. These results indicate that the system provides more accurate feedback than conventional automated code reviews, while achieving token efficiency and supporting self-directed learning through educational feedback. Thus, it can serve as a practical solution for scalable programming education in primary and secondary classes.
- Files in This Item
-
Go to Link
- Appears in
Collections - 서울 공과대학 > 서울 컴퓨터소프트웨어학부 > 1. Journal Articles

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.