ClarifySDK: A Benchmark and Development Kit for Coding Assistants that Ask Questions
Cedric Richter, Joshana Shakya, Amal Akli, Jie JW Wu, Mike Papadakis
Abstract
We present ClarifySDK, a benchmark and development kit for developing and evaluating coding assistants that detect and clarify defective task description by asking questions. ClarifySDK extends popular coding benchmarks such as HumanEval and MBPP with task description variants that omit critical requirements, introduce ambiguities, or contain inconsistent specifications. In addition, we introduce a newly constructed private test set comprising 206 coding tasks and 1,414 task description variants, covering ambiguous, incomplete, contradictory, and combined specifications alongside their related well-specified versions. To resolve these uncertainties, assistants can interact with simulated users by asking clarification questions before producing their implementations. Rather than emphasizing the difficulty of the underlying programming tasks, the benchmark challenges assistants to recognize problematic re- quirements and ask targeted questions that elicit the information needed to produce the intended (correct) implementations. The development kit provides a standardized interactive environment for implementing and evaluating different clarification strate- gies. ClarifySDK evaluates assistants in terms of the functional correctness of their implementations and the efficiency of their clarification interactions. ClarifySDK serves as a benchmark for developing and evaluating clarification-aware assistants that must effectively acquire missing information while successfully accomplishing the target task.
Create a lesson
Related papers
From Domain Knowledge to Composable Reactive Code: LLM-Assisted Development with Scenario-Based Programming
Shared title terminologycs.SEAdiel Ashrov, Tom Yaacov, Guy Katz
FineCR: A Fine-Grained Benchmark for Evaluating LLMs on Raising Code Review and its Resolution
Shared title terminologycs.SETaufiqul Islam Khan, Shaowei Wang, Haoxiang Zhang et al.
What Do Explanations and Fixes Add to LLM Code Review? A Replication on Audited Benchmarks
Shared title terminologycs.SESabry E. Farrag
Why Johnny Can't Vibe: The Competence Paradox of AI-Assisted Software Development
Shared title terminologycs.SESabbir Bin Abdul Latif, Md Raihan, Md. Mahfuzul Ahsan et al.
Interactive Prompting Assistant: Just-in-Time Requirement Clarification for Agentic Software Development
Shared title terminologycs.SECuong Chi Le, Minh Le-Anh, Long Vu et al.
RBioBench: an execution-based benchmark for biomedical R code generation
Shared title terminologycs.SEXihao Piao, Dong Wang, Ziwei Yang et al.