Don't Guess, Just Ask: Evaluating Interactive Requirement Clarification for Repository-Level Software Development
cs.SE, cs.AI
Submitted: 2026-10-09
Updated: 2026-10-09
License: http://creativecommons.org/licenses/by/4.0/
The gist: As LLMs become increasingly capable of implementing software, a critical bottleneck emerges: whether they truly understand what users want.
Abstract
As LLMs become increasingly capable of implementing software, a critical bottleneck emerges: whether they truly understand what users want. Users often begin with vague intent, leaving important requirements to be clarified through interaction. In repository-level development, misunderstandings can propagate and cause costly rework. However, existing benchmarks typically evaluate implementation from complete specifications or underspecified requests, overlooking pre-coding requirement clarification. Prior clarification studies mainly focus on function-level tasks. It therefore remains unclear how well LLMs can transform vague intent into clear requirements through interaction and how this capability affects subsequent code generation. We introduce ReqClarifyBench, an interactive requirement clarification benchmark for repository-level software development. It contains 341 tasks spanning game, miniapp, and web development, each with a vague user intent, a human-validated requirement document, and code evaluation artifacts. We employ LLM-based user simulators with diverse personas derived from real-world conversations. We evaluate six LLMs in terms of clarification effectiveness and generated requirement document quality. Results show that stronger clarification effectiveness does not necessarily translate into higher document quality, and performance varies substantially across user personas. We also find that coding-agent harnesses do not further improve requirement document quality compared with their base LLMs. These findings offer insights for building LLM-based end-to-end software development systems.
Sources
- Program Synthesis with Large Language Models
- SWE-chat: Coding Agent Interactions From Real Users in the Wild
- Evaluating Large Language Models Trained on Code
- DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression
- DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
- ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generation
- How Do Practitioners Interpret Conditionals in Requirements?
- GLM-5: from Vibe Coding to Agentic Engineering
- ReqElicitGym: An Evaluation Environment for Interview Competence in Conversational Requirements Elicitation
- GameCraft-Bench: Can Agents Build Playable Games End-to-End in a Real Game Engine?
- AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamics
- Can Code Language Models Learn Clarification-Seeking Behaviors?
- TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Tasks
- Qwen3 Technical Report
- Assessing the Impact of Requirement Ambiguity on LLM-based Function-Level Code Generation
- Steering LLMs via Scalable Interactive Oversight
- HAICOSYSTEM: An Ecosystem for Sandboxing Safety Risks in Human-AI Interactions
Related papers
- Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits
- GitSkills: A Dataset of Agent Skills on GitHub
- SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces
- PackMonitor: Enabling Zero Package Hallucinations Through Decoding-Time Monitoring
- IntentCoding: Amplifying User Intent in Code Generation
- Incentives and Outcomes in Bug Bounties