요구사항 명세 구체화 수준에 따른 LLM별 백엔드 코드 생성 품질 변화 분석: 무인판매기 장치 등록 시스템 사례

Analyzing the Impact of Requirements Specification Granularity on Backend Code Generation Quality Across LLMs: A Case Study of an Unmanned Vending Machine Device Registration System
  • 조관우; 
  • 김형수; 
  • 정설영

초록

Large Language Models (LLMs) are increasingly used for software code generation, yet objective and reproducible evaluation remainschallenging because requirement prompts can vary substantially in specificity. This study compares four LLMs—GPT-5.2, Gemini 3 Pro,Claude Sonnet 4.5, and DeepSeek V3.2—by providing identical system requirements and assessing the quality of generated backend code. We adopt a realistic backend scenario, a device registration system for unattended vending machines, implemented withTypeScript/Node.js/NestJS and an in-memory repository abstraction. Two experimental phases are conducted: Phase 1 with abstractrequirements and Phase 2 with concretized requirements. Code quality is scored using eight weighted criteria, including validation, errorhandling, security, logic detail, modularity, REST API design, response consistency, and extensibility. Results indicate that more specificrequirements generally improve absolute scores, while model-specific strengths and weaknesses persist across phases, providing practicalimplications for prompt design and model selection in backend development workflows.

키워드

대규모 언어 모델; 코드 생성; 프롬프트 공학; 백엔드 아키텍처; 정량 평가; LLM; Code Generation; Prompt Engineering; Backend Architecture; Evaluation
제목
요구사항 명세 구체화 수준에 따른 LLM별 백엔드 코드 생성 품질 변화 분석: 무인판매기 장치 등록 시스템 사례
제목 (타언어)
Analyzing the Impact of Requirements Specification Granularity on Backend Code Generation Quality Across LLMs: A Case Study of an Unmanned Vending Machine Device Registration System
저자
조관우; 김형수; 정설영
DOI
10.3745/TKIPS.2026.15.5.414
발행일
2026-05
유형
Y
저널명
정보처리학회 논문지
권
15
호
5
페이지
414 ~ 423