Understanding Specification-Driven Code Generation with LLMs: An Empirical Study Design
Giovanni Rosa, David Moreno-Lumbreras, Gregorio Robles, Jes\'us M. Gonz\'alez-Barahona

TL;DR
This paper proposes an empirical study design using a Visual Studio Code extension to analyze how human-guided specification and testing influence LLM-assisted code generation quality and efficiency.
Contribution
It introduces CURRANTE, a tool for structured, human-in-the-loop LLM code generation, enabling detailed analysis of developer interactions and model performance.
Findings
Insights into human intervention effects on code quality
Data on efficiency metrics like time-to-pass
Analysis of iteration behaviors in code generation
Abstract
Large Language Models (LLMs) are increasingly integrated into software development workflows, yet their behavior in structured, specification-driven processes remains poorly understood. This paper presents an empirical study design using CURRANTE, a Visual Studio Code extension that enables a human-in-the-loop workflow for LLM-assisted code generation. The tool guides developers through three sequential stages--Specification, Tests, and Function--allowing them to define requirements, generate and refine test suites, and produce functions that satisfy those tests. Participants will solve medium-difficulty problems from the LiveCodeBench dataset, while the tool records fine-grained interaction logs, effectiveness metrics (e.g., pass rate, all-pass completion), efficiency indicators (e.g., time-to-pass), and iteration behaviors. The study aims to analyze how human intervention in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Model-Driven Software Engineering Techniques
