A lightweight intelligent feedback system for student code submissions using large language models

This study introduces an intelligent, large language model (LLM)–driven feedback system designed to assess and enhance students’ programming tasks through semantic comparison and pedagogically contextualized feedback. Unlike traditional grading systems, our system analyzes Python submissions against a reference solution and generates feedback along three main dimensions: logic, style, and performance. The system employs sentence-embedding-based semantic similarity to determine alignment and adaptively adjusts the feedback based on submission quality. Thirty-one student solutions (both reference-level and imperfect submissions) were tested in this study. The results show a mean similarity score of 0.56 (SD = 0.19) and a moderate inverse correlation (r = − 0.65) between feedback length and similarity, confirming adaptive behavior in the system. Visual examination, such as the category-based distribution of feedback, similarity patterns, and solution clustering, further demonstrates the validity and explainability of the system. This approach ensures reproducibility through the transparent definition of reference tasks, embedded similarity scoring and qualitative pattern analysis. The system has implications for AI-facilitated formative feedback, mass code assessment, and adaptive tutoring in computer science education.

Authors

Institutions

Publication Details

Journal
Discover Education
Published
2026-03-23
DOI
https://doi.org/10.1007/s44217-026-01400-5
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A lightweight intelligent feedback system for student code submissions using large language models

Ali Fenjan, Nor Athiyah Abdullah, Areej Theeb, Pantea Keikhosrokiani
Discover Education
Teaching and Learning Programming
article

A lightweight intelligent feedback system for student code submissions using large language models

Ali Fenjan, Nor Athiyah Abdullah, Areej Theeb, Pantea Keikhosrokiani
article en

Abstract

This study introduces an intelligent, large language model (LLM)–driven feedback system designed to assess and enhance students’ programming tasks through semantic comparison and pedagogically contextualized feedback. Unlike traditional grading systems, our system analyzes Python submissions against a reference solution and generates feedback along three main dimensions: logic, style, and performance. The system employs sentence-embedding-based semantic similarity to determine alignment and adaptively adjusts the feedback based on submission quality. Thirty-one student solutions (both reference-level and imperfect submissions) were tested in this study. The results show a mean similarity score of 0.56 (SD = 0.19) and a moderate inverse correlation (r = − 0.65) between feedback length and similarity, confirming adaptive behavior in the system. Visual examination, such as the category-based distribution of feedback, similarity patterns, and solution clustering, further demonstrates the validity and explainability of the system. This approach ensures reproducibility through the transparent definition of reference tasks, embedded similarity scoring and qualitative pattern analysis. The system has implications for AI-facilitated formative feedback, mass code assessment, and adaptive tutoring in computer science education.

Discover Education
Universiti Sains Malaysia (MY), Jahra Hospital (KW), American University of Kuwait (KW), University of Oulu (FI)
Quality Education
Openalex Percentile: Top 21%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A lightweight intelligent feedback system for student code submissions using large language models — Ali Fenjan, Nor Athiyah Abdullah, et al. · Discover Education (2026) | TGRS Research Map | TGRS