CodeFlowBench: A Multi-turn, Iterative Benchmark for Complex Code Generation
Not on the map. Why?
Abstract (arXiv)
Modern software development demands code that is maintainable, testable, and scalable by organizing the implementation into modular components with iterative reuse of existing codes. We formalize this iterative, multi-turn paradigm as codeflow and introduce CodeFlowBench, the first benchmark designed to comprehensively evaluate LLMs' ability to perform codeflow - implementing new functionality by reusing existing functions over multiple turns. CodeFlowBench comprises two complementary components: CodeFlowBench-Comp, a core collection of 5,000+ competitive programming problems from Codeforces updated via an automated pipeline and CodeFlowBench-Repo, which is sourced from GitHub repositories to better reflect real-world scenarios. Furthermore, a novel evaluation framework featured dual assessment protocol and structural metrics derived from dependency trees is introduced. Extensive experiments reveal significant performance degradation in multi-turn codeflow scenarios. Furthermore, our in-depth analysis illustrates that model performance inversely correlates with dependency complexity. These findings not only highlight the critical challenges for supporting real-world workflows, but also establish CodeFlowBench as an essential tool for advancing code generation research.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 32 of its 47 references that are in the map. First posted on arXiv 30 Apr 2025.
Builds on
32 of 47 references.
References · 32
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2024GPT-4o System Cardcited by 4,588
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
20 more
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 238
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 178
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratingscited by 115
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 86
- 2024EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 72
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 64
- 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generationcited by 39
- 2024DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generationcited by 21
- 2017Agile Software Development Methods: Review and Analysiscited by 18
- 2024Instruct, Not Assist: LLM-based Multi-Turn Planning and Hierarchical Questioning for Socratic Code Debuggingcited by 14
- 2025MaintainCoder: Maintainable Code Generation Under Dynamic Requirementscited by 14
Built on by
Citing papers per year: 2025: 1; 2026: 16.
17 papers.
Sort:
By area:
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 30
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 9
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 8
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgradescited by 7
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agentscited by 6
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generationcited by 5
- 2026Context Learning for Multi-Agent Discussioncited by 3
- 2026On Time, Within Budget: Constraint-Driven Online Resource Allocation for Agentic Workflowscited by 3
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
- 2026Is Agent Code Less Maintainable Than Human Code?cited by 2
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
- 2026StaminaBench: Stress-Testing Coding Agents over 100 Interaction Turnscited by 1
5 more
- 2026GameASG-Bench: Benchmarking Autonomous Software Generation for Game Developmentcited by 1
- 2025Position: Vibe Coding Needs Vibe Reasoning: Improving Vibe Coding with Formal Verificationcited by 0
- 2026Strategies for Guiding LLMs to Use Software Design Patterns: A Case of Singletoncited by 0
- 2026CoSTAR: Data Synthesis-Driven Constraint-Aware COBOL Section Summarization for Legacy System Modernizationcited by 0
- 2026Do Coding Agents Reuse Existing Code or Reinvent the Wheel?cited by 0
- 2026Do Coding Agents Reuse Existing Code or Reinvent the Wheel?28 Sep 2026
- 2026GameASG-Bench: Benchmarking Autonomous Software Generation for Game Development18 Sep 2026
- 2026CoSTAR: Data Synthesis-Driven Constraint-Aware COBOL Section Summarization for Legacy System Modernization10 Sep 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generation1 Jul 2026
- 2026Is Agent Code Less Maintainable Than Human Code?19 Jun 2026
- 2026StaminaBench: Stress-Testing Coding Agents over 100 Interaction Turns17 Jun 2026
- 2026Strategies for Guiding LLMs to Use Software Design Patterns: A Case of Singleton26 May 2026
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions22 May 2026
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback18 May 2026
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades14 May 2026
- 2026On Time, Within Budget: Constraint-Driven Online Resource Allocation for Agentic Workflows7 May 2026
5 more
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents17 Mar 2026
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions27 Feb 2026
- 2026Context Learning for Multi-Agent Discussion2 Feb 2026
- 2025Position: Vibe Coding Needs Vibe Reasoning: Improving Vibe Coding with Formal Verification31 Oct 2025
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 30
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 9
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 8
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgradescited by 7
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agentscited by 6
- 2026Context Learning for Multi-Agent Discussioncited by 3
- 2026On Time, Within Budget: Constraint-Driven Online Resource Allocation for Agentic Workflowscited by 3
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
- 2026StaminaBench: Stress-Testing Coding Agents over 100 Interaction Turnscited by 1
- 2026Do Coding Agents Reuse Existing Code or Reinvent the Wheel?cited by 0
- 2026Do Coding Agents Reuse Existing Code or Reinvent the Wheel?28 Sep 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026StaminaBench: Stress-Testing Coding Agents over 100 Interaction Turns17 Jun 2026
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions22 May 2026
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades14 May 2026
- 2026On Time, Within Budget: Constraint-Driven Online Resource Allocation for Agentic Workflows7 May 2026
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents17 Mar 2026
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions27 Feb 2026
- 2026Context Learning for Multi-Agent Discussion2 Feb 2026
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generationcited by 5
- 2026Is Agent Code Less Maintainable Than Human Code?cited by 2
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
- 2026GameASG-Bench: Benchmarking Autonomous Software Generation for Game Developmentcited by 1
- 2026Strategies for Guiding LLMs to Use Software Design Patterns: A Case of Singletoncited by 0
- 2026GameASG-Bench: Benchmarking Autonomous Software Generation for Game Development18 Sep 2026
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generation1 Jul 2026
- 2026Is Agent Code Less Maintainable Than Human Code?19 Jun 2026
- 2026Strategies for Guiding LLMs to Use Software Design Patterns: A Case of Singleton26 May 2026
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback18 May 2026