mlsanityData to 14 Oct 2026

CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation

arXiv 2504.13472 ↗First posted 18 Apr 2025cs.SE cs.AI cs.CLcited by 6

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large language models (LLMs) have demonstrated strong capabilities in code generation, underscoring the critical need for rigorous and comprehensive evaluation. Existing evaluation approaches fall into three categories, including human-centered, metric-based, and LLM-based. Considering that human-centered approaches are labour-intensive and metric-based ones overly rely on reference answers, LLM-based approaches are gaining increasing attention due to their stronger contextual understanding capabilities. However, they generally evaluate the generated code based on static prompts, and tend to fail for complex code scenarios which typically involve multiple requirements and require more contextual information. In addition, these approaches lack fine-grained evaluation for complex code, resulting in limited explainability. To mitigate the limitations, we propose CodeVisionary, the first agent-based evaluation framework for complex code generation. CodeVisionary consists of two stages: (1) Requirement-guided multi-dimensional context distillation stage and (2) Fine-grained scoring and summarization stage. A comprehensive evaluation report is also generated for enhanced explainability. For validation, we construct a new benchmark consisting of 363 samples spanning 37 coding scenarios and 23 programming languages. Extensive experiments demonstrate that CodeVisionary achieves the best performance among three baselines for evaluating complex code generation, outperforming the best baseline with average improvements of 0.217, 0.163, and 0.141 in Pearson, Spearman, and Kendall-Tau coefficients, respectively. The resources of CodeVisionary are available at https://github.com/Eshe0922/CodeVisionary.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 51 of its 73 references that are in the map. First posted on arXiv 18 Apr 2025.

Builds on

51 of 73 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
  2. 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  4. 2024MARE: Multi-Agents Collaboration Framework for Requirements Engineering6 May
  5. 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization2 Apr
  6. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
  7. 2023RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models25 Oct
  8. 2023Static Code Analysis in the AI Era: An In-depth Exploration of the Concept, Function, and Potential of Intelligent Code Analysis Agents13 Oct
  9. 2023ChatDev: Communicative Agents for Software Development16 Jul
  10. 2023Self-collaboration Code Generation via ChatGPT15 Apr

Other references · 41

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  5. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  6. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  7. 2023Large Language Models are not Fair Evaluatorscited by 1,085
  8. 2024A Survey on Large Language Models for Code Generationcited by 658
  9. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 598
  10. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
  11. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  12. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
29 more
  1. 2024AutoCodeRover: Autonomous Program Improvementcited by 278
  2. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 197
  3. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  4. 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
  5. 2023Self-planning Code Generation with Large Language Modelscited by 124
  6. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 103
  7. 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
  8. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
  9. 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
  10. 2024AutoAct: Automatic Agent Learning from Scratch for QA via Self-Planningcited by 81
  11. 2023PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedbackcited by 69
  12. 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
  13. 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
  14. 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 64
  15. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
  16. 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 47
  17. 2024A Survey on Evaluating Large Language Models in Code Generation Taskscited by 44
  18. 2024CodeJudge: Evaluating Code Generation with Large Language Modelscited by 44
  19. 2023Advancing Requirements Engineering through Generative AI: Assessing the Role of LLMscited by 42
  20. 2023RepoFusion: Training Code Models to Understand Your Repositorycited by 40
  21. 2023ToolCoder: Teach Code Generation Models to use API search toolscited by 37
  22. 2023AXNav: Replaying Accessibility Tests from Natural Languagecited by 31
  23. 2023Flows: Building Blocks of Reasoning and Collaborating AIcited by 25
  24. 2024AI-powered Code Review with LLMs: Early Resultscited by 22
  25. 2024Evaluating and Aligning CodeLLMs on Human Preferencecited by 22
  26. 2024Multi-role Consensus through LLMs Discussions for Vulnerability Detectioncited by 19
  27. 2023Autonomous Large Language Model Agents Enabling Intent-Driven Mobile GUI Testingcited by 15
  28. 2024EvalSVA: Multi-Agent Evaluators for Next-Gen Software Vulnerability Assessmentcited by 6
  29. 2024XUAT-Copilot: Multi-Agent Collaborative System for Automated User Acceptance Testing with Large Language Modelcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 3.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
  2. 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks
  3. 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
  4. 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generation
  5. 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review
  6. 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation
  7. 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancement
  8. 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research