HumanEvalComm: Benchmarking the Communication Competence of Code Generation for LLMs and LLM Agent
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Large language models (LLMs) have significantly improved their ability to perform tasks in the field of code generation. However, there is still a gap between LLMs being capable coders and being top-tier software engineers. Based on the observation that top-level software engineers often ask clarifying questions to reduce ambiguity in both requirements and coding solutions, we argue that the same should be applied to LLMs for code generation tasks. In this work, we conducted an empirical study on the benchmark and analysis of the communication skills of LLMs for code generation. We define communication skills of LLMs as ``being able to ask clarifying questions when the description of the code generation problem has issues''. We created a new benchmark, HumanEvalComm, by modifying problem descriptions according to three issues: inconsistency, ambiguity, incompleteness. We defined new evaluation metrics such as Communication Rate and Good Question Rate, and then experimented on HumanEvalComm with different Code LLMs, and a new LLM agent approach, Okanagan, to identify and ask questions in ambiguous parts from code and descriptions for further refining the generated code. Finally, we discussed evaluation results by comparing Code LLMs and Okanagan with our findings.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 60 of its 92 references that are in the map. First posted on arXiv 31 May 2024.
Builds on
60 of 92 references.
Closest ancestors · 3
Same direction, newest first
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges14 Jan
Other references · 57
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Qwen Technical Reportcited by 3,273
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
38 more
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2022Large Language Models Can Self-Improvecited by 656
- 2022Improving alignment of dialogue agents via targeted human judgementscited by 527
- 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
- 2023Large Language Models Are State-of-the-Art Evaluators of Translation Qualitycited by 416
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2022Large Language Models are Better Reasoners with Self-Verificationcited by 304
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 236
- 2020IntelliCode Compose: Code Generation Using Transformercited by 225
- 2023Exploring Collaboration Mechanisms for LLM Agents: A Social Psychology Viewcited by 221
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
- 2022Talking About Large Language Modelscited by 174
- 2023A Categorical Archive of ChatGPT Failurescited by 167
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2022Rethinking with Retrieval: Faithful Large Language Model Inferencecited by 145
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2023Training Language Models with Language Feedback at Scalecited by 125
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
- 2023Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issuescited by 78
- 2018Can Neural Machine Translation be Improved with User Feedback?cited by 71
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2022Generating Natural Language Proofs with Verifier-Guided Searchcited by 52
- 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 46
- 2023No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPTcited by 45
- 2022What is it like to program with artificial intelligence?cited by 39
- 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 7; 2026: 16.
24 papers.
Sort:
By area:
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 40
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Codingcited by 21
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agentscited by 15
- 2024A Survey on Human-Centric LLMscited by 13
- 2025When Prompts Go Wrong: Evaluating Code Model Robustness to Ambiguous, Contradictory, and Incomplete Task Descriptionscited by 8
- 2025Can Code Language Models Learn Clarification-Seeking Behaviors?cited by 5
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 5
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
- 2025AuPair: Golden Example Pairs for Code Repaircited by 3
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 2
- 2026Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysiscited by 2
12 more
- 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinementcited by 1
- 2026Can AI Agents Generate Microservices? How Far are We?cited by 1
- 2026InteractWeb-Bench: Can Multimodal Agent Escape Blind Execution in Interactive Website Generation?cited by 1
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
- 2026What Makes a Good Bug Report for an AI Agent?cited by 1
- 2026SHM-Agents: A Generalist-Specialist Integrated Agent System for Structural Health Monitoringcited by 0
- 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
- 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessmentcited by 0
- 2026AssumptionMiner: Extracting, Tracing, and Revising Implicit Assumptions in LLM Code Generationcited by 0
- 2026Fewer Clarifications, Better Code: Benchmarking Cross-Session Personalized Ambiguity Adaptation in Coding Assistantscited by 0
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requestscited by 0
- 2026Noisy Test-Time Reinforcement Learning for Code LLMscited by 0
- 2026Noisy Test-Time Reinforcement Learning for Code LLMs26 Sep 2026
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requests28 Aug 2026
- 2026Fewer Clarifications, Better Code: Benchmarking Cross-Session Personalized Ambiguity Adaptation in Coding Assistants29 Jul 2026
- 2026AssumptionMiner: Extracting, Tracing, and Revising Implicit Assumptions in LLM Code Generation24 Jul 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026What Makes a Good Bug Report for an AI Agent?8 Jul 2026
- 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessment23 Jun 2026
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback18 May 2026
- 2026Neurosymbolic Auditing of Natural-Language Software Requirements13 May 2026
- 2026SHM-Agents: A Generalist-Specialist Integrated Agent System for Structural Health Monitoring13 May 2026
- 2026InteractWeb-Bench: Can Multimodal Agent Escape Blind Execution in Interactive Website Generation?30 Apr 2026
- 2026Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysis27 Apr 2026
12 more
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents27 Mar 2026
- 2026Can AI Agents Generate Microservices? How Far are We?9 Mar 2026
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions27 Feb 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmap7 Sep 2025
- 2025When Prompts Go Wrong: Evaluating Code Model Robustness to Ambiguous, Contradictory, and Incomplete Task Descriptions27 Jul 2025
- 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinement27 May 2025
- 2025Can Code Language Models Learn Clarification-Seeking Behaviors?23 Apr 2025
- 2025AuPair: Golden Example Pairs for Code Repair12 Feb 2025
- 2024A Survey on Human-Centric LLMs20 Nov 2024
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 40
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Codingcited by 21
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agentscited by 15
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 5
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 2
- 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinementcited by 1
- 2026Can AI Agents Generate Microservices? How Far are We?cited by 1
- 2026InteractWeb-Bench: Can Multimodal Agent Escape Blind Execution in Interactive Website Generation?cited by 1
- 2026What Makes a Good Bug Report for an AI Agent?cited by 1
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requestscited by 0
- 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requests28 Aug 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026What Makes a Good Bug Report for an AI Agent?8 Jul 2026
- 2026InteractWeb-Bench: Can Multimodal Agent Escape Blind Execution in Interactive Website Generation?30 Apr 2026
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents27 Mar 2026
- 2026Can AI Agents Generate Microservices? How Far are We?9 Mar 2026
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions27 Feb 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmap7 Sep 2025
- 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinement27 May 2025
- 2025AuPair: Golden Example Pairs for Code Repaircited by 3
- 2025AuPair: Golden Example Pairs for Code Repair12 Feb 2025
- 2024A Survey on Human-Centric LLMscited by 13
- 2025When Prompts Go Wrong: Evaluating Code Model Robustness to Ambiguous, Contradictory, and Incomplete Task Descriptionscited by 8
- 2025Can Code Language Models Learn Clarification-Seeking Behaviors?cited by 5
- 2026Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysiscited by 2
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
- 2026SHM-Agents: A Generalist-Specialist Integrated Agent System for Structural Health Monitoringcited by 0
- 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
- 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessmentcited by 0
- 2026AssumptionMiner: Extracting, Tracing, and Revising Implicit Assumptions in LLM Code Generationcited by 0
- 2026Fewer Clarifications, Better Code: Benchmarking Cross-Session Personalized Ambiguity Adaptation in Coding Assistantscited by 0
- 2026Noisy Test-Time Reinforcement Learning for Code LLMscited by 0
- 2026Noisy Test-Time Reinforcement Learning for Code LLMs26 Sep 2026
- 2026Fewer Clarifications, Better Code: Benchmarking Cross-Session Personalized Ambiguity Adaptation in Coding Assistants29 Jul 2026
- 2026AssumptionMiner: Extracting, Tracing, and Revising Implicit Assumptions in LLM Code Generation24 Jul 2026
- 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessment23 Jun 2026
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback18 May 2026
- 2026Neurosymbolic Auditing of Natural-Language Software Requirements13 May 2026
- 2026SHM-Agents: A Generalist-Specialist Integrated Agent System for Structural Health Monitoring13 May 2026
- 2026Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysis27 Apr 2026
- 2025When Prompts Go Wrong: Evaluating Code Model Robustness to Ambiguous, Contradictory, and Incomplete Task Descriptions27 Jul 2025
- 2025Can Code Language Models Learn Clarification-Seeking Behaviors?23 Apr 2025
- 2024A Survey on Human-Centric LLMs20 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research
- 2025A Survey on Code Generation with LLM-based Agents
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testing
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation
- 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future