Large Language Model Techniques for Ensuring Consistent Code Evaluation in Software Auto-Grading Systems: A LangChain- and RAG-Based Approach

최근 교육 분야에서 대형 언어 모델(Large Language Models, LLMs)의 발전과 함께 AI 기반 코드 평가 시스템의 활용이 확대되고 있다. 본 논문은 LangChain과 RAG(Retrieval-Augmented Generation)을 활용하여 LLM 기반 코드 평가 서비스를 구축하고, 그 평가 방식의 차이와 성능을 비교·분석하는 것을 목적으로 한다. 이를 위해 LangChain 단독 모델과 LangChain+RAG 결합 모델을 구성하고 프롬프트 튜닝을 통한 평가 응답 최적화 수준 및 활용 가능성을 실험적으로 검토하였다. 또한, 코드 평가 기준에 따른 평가 응답의 일관성과 타당성을 분석하여 두 방식의 장단점을 비교하였다. 특히, RAG를 활용한 모델의 채점 방식과 체계적인 체인 구성 방법을 살펴보고, RAG 없이 프롬프트 튜닝만을 이용한 평가 수행 결과의 차이를 규명하였다. LLM으로 채점했을 경우 RAG와 컴파일링을 결합한 방식은 4개 문제 유형에서 총합 72점으로, 기본 LLM의 65점 보다 높은 평균 성능을 보였다.

Authors

Publication Details

Journal
The Journal of the Korea Contents Association
Published
2025-09-30
DOI
https://doi.org/10.5392/jkca.2025.25.09.046
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Large Language Model Techniques for Ensuring Consistent Code Evaluation in Software Auto-Grading Systems: A LangChain- and RAG-Based Approach

Jeong Hee Moon, Wonsun Shin, Hoe-Kyung Jung
The Journal of the Korea Contents Association
Software Testing and Debugging Techniques
article

Large Language Model Techniques for Ensuring Consistent Code Evaluation in Software Auto-Grading Systems: A LangChain- and RAG-Based Approach

Jeong Hee Moon, Wonsun Shin, Hoe-Kyung Jung
article en

Abstract

최근 교육 분야에서 대형 언어 모델(Large Language Models, LLMs)의 발전과 함께 AI 기반 코드 평가 시스템의 활용이 확대되고 있다. 본 논문은 LangChain과 RAG(Retrieval-Augmented Generation)을 활용하여 LLM 기반 코드 평가 서비스를 구축하고, 그 평가 방식의 차이와 성능을 비교·분석하는 것을 목적으로 한다. 이를 위해 LangChain 단독 모델과 LangChain+RAG 결합 모델을 구성하고 프롬프트 튜닝을 통한 평가 응답 최적화 수준 및 활용 가능성을 실험적으로 검토하였다. 또한, 코드 평가 기준에 따른 평가 응답의 일관성과 타당성을 분석하여 두 방식의 장단점을 비교하였다. 특히, RAG를 활용한 모델의 채점 방식과 체계적인 체인 구성 방법을 살펴보고, RAG 없이 프롬프트 튜닝만을 이용한 평가 수행 결과의 차이를 규명하였다. LLM으로 채점했을 경우 RAG와 컴파일링을 결합한 방식은 4개 문제 유형에서 총합 72점으로, 기본 LLM의 65점 보다 높은 평균 성능을 보였다.

The Journal of the Korea Contents AssociationVol. 25(9)
Openalex Percentile: Top 70%
Software Testing and Debugging Techniques
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.