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 HearXiv 2026

TL;DR

This paper introduces ReqClarifyBench, the first benchmark designed to evaluate how Large Language Models (LLMs) clarify vague user requirements through multi-turn interaction in complex, repository-level software development. The study reveals a surprising "clarification-quality gap": being effective at asking questions doesn't always lead to high-quality requirement documents, and current coding-agent harnesses may actually compromise document quality compared to their base models.

What Problem Does This Paper Address?

While LLMs have become remarkably good at writing code, they often struggle with the "garbage in, garbage out" problem. In real-world software engineering, users rarely provide perfect specifications; they start with vague intents that need to be refined through dialogue.

Existing benchmarks typically skip this step, providing models with either complete specs or underspecified prompts and measuring the code output directly. This overlooks a critical failure mode: premature implementation. If an LLM guesses a user's intent incorrectly and proceeds to build a complex repository, the resulting rework is incredibly costly in terms of time and tokens.

![Fig.

  1. User complaints about LLMs making incorrect assumptions or wasting resources due to misunderstandings.](/figures/art_b958729b801a4496a249deb01e7450f8)

The authors argue that we need to evaluate LLMs as collaborators who can proactively ask the right questions to turn a fuzzy idea into a solid requirement document before a single line of code is written.

Methods

The authors developed a semi-automated pipeline to build ReqClarifyBench by repurposing existing high-quality code generation benchmarks.

  1. Requirement Reconstruction: They used LLMs to extract detailed, structured requirement documents from existing project specs and reference code, followed by human validation for correctness and consistency.
  2. Intent Abstraction: They then "vaguified" these requirements back into high-level user intents (e.g., "Help me design a web-based Excel formula generator") to serve as the starting point for the LLM.
  3. Realistic User Simulation: To test the LLMs, they built a simulator with three distinct personas derived from real-world developer-agent conversations (SWE-chat):
  4. Expert Nitpicker: Provides detailed, stable answers.
  5. Vague Requester: Gives broad, non-specific feedback.
  6. Mind Changer: Revises requirements as the conversation progresses.

![Fig.

  1. The overview of ReqClarifyBench construction pipeline.](/figures/art_36c4c99e07084417b6e5fa944cf2a9d0)

To evaluate performance, they introduced new metrics like Effective Question Rate (EQR) (how often a question actually clarifies a requirement) and ReqAlign (how well the final document matches the ground-truth atomic requirements).

Datasets

The study introduces ReqClarifyBench, which consists of 341 tasks spanning three domains:

  • GameCraft-Bench: Game development.
  • MiniAppBench: Mobile/Mini-app development.
  • WebGen-Bench: Web development.

Each task includes a vague intent, a human-validated requirement document (averaging 193 atomic requirements), and code evaluation artifacts to measure the final impact on implementation.

Key Insights and Ideas

  • The Clarification-Quality Gap: Asking many effective questions (high EQR) does not guarantee a high-quality final requirement document. For instance, Gemini-3.1-Pro was the most "talkative" and effective at eliciting info, but GPT-5.6-Sol produced far superior final documents despite asking fewer questions. This suggests that integrating information across turns is a distinct, harder skill than just eliciting it.
  • Personas Matter: LLM performance drops significantly when dealing with "Vague Requesters" or "Mind Changers." Models are highly sensitive to user interaction styles, performing best when the user is an "Expert Nitpicker."
  • The Agent Harness Trade-off: Coding-agent harnesses (like Claude Code or Codex) generally improve a model's ability to ask effective questions but, surprisingly, often result in lower-quality final requirement documents compared to using the base LLM directly. The authors hypothesize that the scaffolding designed for code execution might interfere with the model's requirement engineering capabilities.
  • Clarification Boosts Code Quality: Interactive clarification isn't just a "nice to have." The study found that moving from a vague intent to an interactively clarified document led to massive gains in final code implementation scores across all benchmarks.

Key Results

  • ReqAlign Improvement: Interactive clarification improved fine-grained requirement alignment by an average of 133.1% compared to generating documents directly from vague intents.
  • Model Rankings: GPT-5.6-Sol emerged as the strongest model for requirement document quality (ReqAlign of 0.727), while Gemini-3.1-Pro was the most effective at the interaction process itself (highest EQR and AvgClarified).
  • Stopping Behavior: Models like GPT-5.6-Sol and Claude-Opus-5 showed high adaptability, engaging in up to 15-18 rounds of clarification with vague users, whereas Gemini-3.1-Pro tended to stop early (around 2-3 rounds) regardless of the user persona.

![Fig.

  1. Clarification dynamics showing how EQR and AvgClarified evolve across rounds for different models.](/figures/art_45960ed066ca47c1be15d9f3f389e1b4)

Limitations and Future Work

The authors acknowledge that while their LLM-based user simulator is grounded in real-world personas, it may not capture the full spectrum of human unpredictability.

Future research directions include:

  • Developing specialized "Requirement Engineering" agents that are decoupled from implementation agents to avoid the quality trade-offs seen in current harnesses.
  • Exploring how LLMs can better handle "Mind Changers" who evolve their requirements mid-stream.
  • Expanding the benchmark to even more diverse software domains.

Summary updated

BibTeX
@misc{chen2026don,
  author = {Mingyu Chen and Zhiqing Zhong and Manyi Wang and Linxi Liang and Rouyu Chen and Pinjia He},
  title = {{Don't Guess, Just Ask: Evaluating Interactive Requirement Clarification for Repository-Level Software Development}},
  year = {2026},
  eprint = {2610.13022},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.13022},
}
Figure