CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation
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
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
- 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2024MARE: Multi-Agents Collaboration Framework for Requirements Engineering6 May
- 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization2 Apr
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
- 2023RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models25 Oct
- 2023Static Code Analysis in the AI Era: An In-depth Exploration of the Concept, Function, and Potential of Intelligent Code Analysis Agents13 Oct
- 2023ChatDev: Communicative Agents for Software Development16 Jul
- 2023Self-collaboration Code Generation via ChatGPT15 Apr
Other references · 41
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2023Large Language Models are not Fair Evaluatorscited by 1,085
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 598
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
29 more
- 2024AutoCodeRover: Autonomous Program Improvementcited by 278
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 197
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
- 2023Self-planning Code Generation with Large Language Modelscited by 124
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 103
- 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
- 2024AutoAct: Automatic Agent Learning from Scratch for QA via Self-Planningcited by 81
- 2023PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedbackcited by 69
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 64
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
- 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 47
- 2024A Survey on Evaluating Large Language Models in Code Generation Taskscited by 44
- 2024CodeJudge: Evaluating Code Generation with Large Language Modelscited by 44
- 2023Advancing Requirements Engineering through Generative AI: Assessing the Role of LLMscited by 42
- 2023RepoFusion: Training Code Models to Understand Your Repositorycited by 40
- 2023ToolCoder: Teach Code Generation Models to use API search toolscited by 37
- 2023AXNav: Replaying Accessibility Tests from Natural Languagecited by 31
- 2023Flows: Building Blocks of Reasoning and Collaborating AIcited by 25
- 2024AI-powered Code Review with LLMs: Early Resultscited by 22
- 2024Evaluating and Aligning CodeLLMs on Human Preferencecited by 22
- 2024Multi-role Consensus through LLMs Discussions for Vulnerability Detectioncited by 19
- 2023Autonomous Large Language Model Agents Enabling Intent-Driven Mobile GUI Testingcited by 15
- 2024EvalSVA: Multi-Agent Evaluators for Next-Gen Software Vulnerability Assessmentcited by 6
- 2024XUAT-Copilot: Multi-Agent Collaborative System for Automated User Acceptance Testing with Large Language Modelcited by 5
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2026Agent-as-a-Judgecited by 17
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practicecited by 4
- 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibrationcited by 1
- 2026An Empirical Study of Automating Agent Evaluationcited by 0
- 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judgingcited by 0
- 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judging19 May 2026
- 2026An Empirical Study of Automating Agent Evaluation12 May 2026
- 2026Agent-as-a-Judge8 Jan 2026
- 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibration23 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practice10 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
- 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generation
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review
- 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancement
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research