mlsanityData to 14 Oct 2026

HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation

arXiv 2412.21199 ↗First posted 30 Dec 2024cs.SE cs.CLcited by 39

Not on the map. Why?

Abstract (arXiv)

We introduce self-invoking code generation, a new task designed to evaluate the progressive reasoning and problem-solving capabilities of LLMs. In this task, models are presented with a base problem and a related, more complex problem. They must solve the base problem and then utilize its solution to address the more complex one. This work features three key contributions. First, we propose a general recipe for generating more challenging versions of existing benchmarks, resulting in three new benchmarks: HumanEval Pro, MBPP Pro, and BigCodeBench-Lite Pro, specifically designed to assess LLMs on self-invoking code generation. Second, from the analysis of experimental results over twenty LLMs on our benchmarks, we have two important observations: (i) Most LLMs excel in traditional code generation benchmarks like HumanEval and MBPP, but their performance declines on self-invoking tasks. For example, o1-mini achieves 96.2% pass@1 on HumanEval but only 76.2% on HumanEval Pro. (ii) On self-invoking code generation task, the instruction-tuned models demonstrate only marginal improvements compared to the base models. Third, we disclose the types of failure modes that exist in our evaluation results. All these results underscore the need for further advancements in self-invoking code generation tasks and provide a new direction for future research on enhancing LLMs' code reasoning capabilities.

Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Builds on 29 of its 36 references that are in the map. First posted on arXiv 30 Dec 2024.

Builds on

29 of 36 references.

References · 29

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  7. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  8. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  9. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  10. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  11. 2023StarCoder: may the source be with you!cited by 799
  12. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
17 more
  1. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  2. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  3. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  4. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  5. 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
  6. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
  7. 2022Multi-lingual Evaluation of Code Generation Modelscited by 159
  8. 2023InferFix: End-to-End Program Repair with LLMscited by 114
  9. 2022Repository-Level Prompt Generation for Large Language Models of Codecited by 106
  10. 2023Impact of Code Language Models on Automated Program Repaircited by 85
  11. 2017A parallel corpus of Python functions and documentation strings for automated code documentation and code generationcited by 57
  12. 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 56
  13. 2023WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction Tuningcited by 42
  14. 2024Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLMcited by 40
  15. 2024EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluationscited by 34
  16. 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
  17. 2024ReflectionCoder: Learning from Reflection Sequence for Enhanced One-off Code Generationcited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 23; 2026: 16.

39 papers.

Sort:

By area:

  1. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 384
  2. 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveragingcited by 25
  3. 2025Unified Software Engineering Agent as AI Software Engineercited by 19
  4. 2025HiBayES: A Hierarchical Bayesian Modeling Framework for AI Evaluation Statisticscited by 18
  5. 2025Text2Grad: Reinforcement Learning from Natural Language Feedbackcited by 18
  6. 2025CodeFlowBench: A Multi-turn, Iterative Benchmark for Complex Code Generationcited by 17
  7. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
  8. 2025MaintainCoder: Maintainable Code Generation Under Dynamic Requirementscited by 14
  9. 2025Activation-Guided Consensus Merging for Large Language Modelscited by 12
  10. 2025Can LLMs Generate High-Quality Test Cases for Algorithm Problems? TestCase-Eval: A Systematic Evaluation of Fault Coverage and Exposurecited by 10
  11. 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generationcited by 8
  12. 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolutioncited by 6
27 more
  1. 2025FunReason: Enhancing Large Language Models' Function Calling via Self-Refinement Multiscale Loss and Automated Data Refinementcited by 5
  2. 2025Where Do LLMs Still Struggle? An In-Depth Analysis of Code Generation Benchmarkscited by 5
  3. 2025Nexus: Execution-Grounded Multi-Agent Test Oracle Synthesiscited by 4
  4. 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Modelscited by 3
  5. 2026Exposing Weaknesses of Large Reasoning Models through Graph Algorithm Problemscited by 3
  6. 2025A Hierarchical Imprecise Probability Approach to Reliability Assessment of Large Language Modelscited by 2
  7. 2026Learning to Generate Secure Code via Token-Level Rewardscited by 2
  8. 2026ManiBench: A Benchmark for Testing Visual-Logic Drift and Syntactic Hallucinations in Manim Code Generationcited by 2
  9. 2026Don't Claim Benchmark-Oriented Optimization Improves General Coding Capability -- Diverse Evaluation Is Requiredcited by 2
  10. 2025Large Language Models for IT Automation Tasks: Are We There Yet?cited by 1
  11. 2025MateInfoUB: A Real-World Benchmark for Testing LLMs in Competitive, Multilingual, and Multimodal Educational Taskscited by 1
  12. 2025LLM Assisted Coding with Metamorphic Specification Mutation Agentcited by 1
  13. 2025Exploring the Security Threats of Retriever Backdoors in Retrieval-Augmented Code Generationcited by 1
  14. 2026Evaluating Large Language Models for Security Bug Report Predictioncited by 1
  15. 2026Q-Bridge: Code Translation for Quantum Machine Learning via LLMscited by 1
  16. 2026IndustryCode: A Benchmark for Industry Code Generationcited by 1
  17. 2026Intent2Tx: Benchmarking LLMs for Translating Natural Language Intents into Ethereum Transactionscited by 1
  18. 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
  19. 2026An Evaluation of Role-Based Multi-Agent Code Generation on Repository-Scale Problemscited by 1
  20. 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Modelscited by 0
  21. 2025NeuroDeX: Unlocking Diverse Support in Decompiling Deep Neural Network Executablescited by 0
  22. 2025TGPR: Tree-Guided Policy Refinement for Robust Self-Debugging of LLMscited by 0
  23. 2026Benchmarking Agents in Insurance Underwriting Environmentscited by 0
  24. 2026EvoCodeBench: A Human-Performance Benchmark for Self-Evolving LLM-Driven Coding Systemscited by 0
  25. 2026Agentic Frameworks for Reasoning Tasks: An Empirical Studycited by 0
  26. 2026CodeGolf Bench: A Multi-Language Benchmark for Evaluating Concise Code Generation Capabilities of Large Language Modelscited by 0
  27. 2026ACPO: Asymmetric Credit Policy Optimization via Mode-Local Entropy Surrogatecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generation
  2. 2026Pseudo2CodeQA: A Benchmark for LLM-Based Structured Algorithmic Reasoning in Code Generation
  3. 2023SelfEvolve: A Code Evolution Framework via Large Language Models
  4. 2025Learning to Solve and Verify: A Self-Play Framework for Code and Test Generation
  5. 2023Self-planning Code Generation with Large Language Models
  6. 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
  7. 2023L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Models
  8. 2026CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction