Manuscript Offprint

arXiv:2610.13022

Don't Guess, Just Ask: Evaluating Interactive Requirement Clarification for Repository-Level Software Development

Mingyu Chen, Zhiqing Zhong, Manyi Wang, Linxi Liang, Rouyu Chen, Pinjia He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

MINGYU CHEN, The Chinese University of Hong Kong, Shenzhen, China

ZHIQING ZHONG*, The Chinese University of Hong Kong, Shenzhen, China

MANYI WANG, The Chinese University of Hong Kong, Shenzhen, China

LINXI LIANG, The Chinese University of Hong Kong, Shenzhen, China

ROUYU CHEN, The Chinese University of Hong Kong, Shenzhen, China

PINJIA HE*, The Chinese University of Hong Kong, Shenzhen, China

With the rapid advancement of Large Language Models (LLMs), software development is gradually moving toward a paradigm where users describe what they want and LLMs carry out the implementation. As LLMs' implementation capabilities improve, an increasingly critical bottleneck emerges: whether LLMs truly understand what users want. In practice, users often begin with vague intent, leaving many important requirements to be progressively clarified through interaction. This is especially consequential in repository-level development, where an incorrect LLM's guess about user intent can propagate through subsequent development phases, causing costly rework in long-horizon tasks. However, existing repository-level code generation benchmarks typically evaluate code generation directly from either complete specifications or underspecified requests, overlooking the importance of pre-coding requirement clarification. Meanwhile, prior requirement clarification studies mainly focus on function-level tasks, failing to reflect the complexity of real-world software development scenarios. Thus, it remains unclear how well LLMs can turn vague user intent into clear requirements through interactive clarification and how such clarification capability affects subsequent code generation.

To bridge this gap, we introduce REQCLARIFYBENCH, an interactive requirement clarification benchmark for repository-level software development. REQCLARIFYBENCH contains 341 tasks spanning game, miniapp, and web development. Each task includes a high-level vague user intent, a detailed requirement document validated by human, and the corresponding code evaluation artifacts. To better simulate a realistic interactive clarification process, we further employ LLM-based user simulators with diverse personas derived from real-world conversation history. Based on REQCLARIFYBENCH, we conduct a systematic empirical study. Specifically, we evaluate six LLMs' requirement clarification capabilities from two complementary perspectives: how effectively they ask clarification questions and the quality of the generated requirement documents. The experimental results demonstrate that stronger clarification effectiveness does not necessarily translate into higher requirement document quality, and that LLMs exhibit substantial performance variations across different user personas. We also find that, compared with standalone LLMs, coding-agent harnesses do not further improve the ability to transform vague user intent into requirement documents. Based on these findings, we provide valuable insights for building LLM-based end-to-end software development systems.

∗^{*}Corresponding author.

Authors' Contact Information: Mingyu Chen, mingyuchen1@link.cuhk.edu.cn, The Chinese University of Hong Kong, Shenzhen, Guangdong, China; Zhiqing Zhong, zhiqingzhong@link.cuhk.edu.cn, The Chinese University of Hong Kong, Shenzhen, Guangdong, China; Manyi Wang, manyiwang@link.cuhk.edu.cn, The Chinese University of Hong Kong, Shenzhen, Guangdong, China; Linxi Liang, linxiliang@link.cuhk.edu.cn, The Chinese University of Hong Kong, Shenzhen, Guangdong, China; Rouyu Chen, rouyuchen@link.cuhk.edu.cn, The Chinese University of Hong Kong, Shenzhen, Guangdong, China; Pinjia He, hepinjia@cuhk.edu.cn, The Chinese University of Hong Kong, Shenzhen, Guangdong, China.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

ACM XXXX-XXXX/2026/10-ART

https://doi.org/10.1145/nnnnnnn.nnnnnnn

Mingyu Chen, Zhiqing Zhong, Manyi Wang, Linxi Liang, Rouyu Chen, and Pinjia He

CCS Concepts: • Software and its engineering → Software development techniques; • Computing methodologies → Artificial intelligence.

Additional Key Words and Phrases: Large Language Models, Interactive Requirement Clarification, Benchmark

ACM Reference Format:

Mingyu Chen, Zhiqing Zhong, Manyi Wang, Linxi Liang, Rouyu Chen, and Pinjia He. 2026. Don’t Guess, Just Ask: Evaluating Interactive Requirement Clarification for Repository-Level Software Development. 1, 1 (October 2026), 22 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

1 Introduction

Large Language Models (LLMs) are becoming increasingly capable of handling long-horizon software development tasks [17, 18]. This progress is paving the way for a requirement-driven development paradigm, where users describe what they want and LLMs carry out the long-horizon implementation [13, 35, 47, 49]. However, the success of this paradigm depends on clear and complete requirements, while real-world users often begin with vague descriptions of their intents that need to be progressively clarified through further interactions [22, 48]. Neglecting requirement clarification may lead to incorrect assumptions, which will propagate to subsequent design, implementation, and testing phases, causing the implementation to drift away from the user's intent and increasing the need for human oversight and rework in long-horizon tasks [11, 24].

Figure 1 presents two representative real-world user complaints that illustrate a shared failure mode. When a request is underspecified, LLMs may make a guess about what the user wants without asking for clarification, wasting time and tokens without producing a satisfactory outcome. Although LLMs' implementation capabilities continue to improve, as reflected in rising benchmark scores [5,15,17,18][5, 15, 17, 18], they may still spend substantial time and tokens acting on a misunderstanding of the user's request. Turning vague user intents into clear requirements through interactive clarification is therefore becoming an increasingly critical bottleneck.

Existing benchmarks [19, 36, 38, 57, 59] have demonstrated progress in the end-to-end transformation of Natural Language Requirements (NLRs) into repository-level code. However, they largely overlook the importance of requirement clarification in this process, evaluating code generation from either well-specified requirement documents or vague user requests without multi-turn requirement clarification. Meanwhile, the Requirements Engineering (RE) community has explored LLM-based requirement clarification. Nevertheless, existing studies [21, 39, 53] mainly focus on function-level tasks, failing to reflect the complexity of real-world software projects. Moreover, these studies often employ simulated users that follow a fixed interaction pattern, failing to capture diverse real-user behaviors [32].

To address these limitations, we introduce REQCLARIFYBENCH, an interactive requirement clarification benchmark for repository-level software development. REQCLARIFYBENCH aims to evaluate LLMs' ability to transform vague user intents into clear requirement documents through multi-turn requirement clarification. REQCLARIFYBENCH contains 341 tasks spanning game, miniapp, and web development. It is constructed through a semi-automated pipeline. Each task includes a high-level vague user intent, a detailed requirement document validated by humans, and the corresponding code evaluation artifacts. To support realistic interactions, we derive three representative user personas from SWE-chat [7], a large-scale dataset of multi-turn conversations between software developers and coding agents. These personas are used to guide the LLM-based user simulator throughout the clarification process. In addition, we introduce three new metrics to assess LLMs' requirement clarification capabilities from two perspectives: how effectively LLMs ask clarification questions and the quality of the generated requirement documents.

Don't Guess, Just Ask: Evaluating Interactive Requirement Clarification for Repository-Level Software Development

3

References (25)