mlsanityData to 14 Oct 2026

OOP: Object-Oriented Programming Evaluation Benchmark for Large Language Models

arXiv 2401.06628 ↗First posted 12 Jan 2024cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Advancing automated programming necessitates robust and comprehensive code generation benchmarks, yet current evaluation frameworks largely neglect object-oriented programming (OOP) in favor of functional programming (FP), e.g., HumanEval and MBPP. To address this, our study introduces a pioneering OOP-focused benchmark, featuring 431 Python programs that encompass essential OOP concepts and features like classes and encapsulation methods. We propose a novel evaluation metric, pass@o, tailored for OOP, enhancing traditional pass@k measures. Our evaluation of 23 leading large language models (LLMs), including both general and code-specialized models, reveals three key insights: 1) pass@o offers a more relevant and comprehensive assessment for OOP code generation; 2) Despite excelling in FP, code-specialized LLMs like WizardCoder lag in OOP compared to models like ChatGPT; 3) The poor performance of all advanced LLMs on our OOP benchmark highlights a critical need for improvements in this field. Our benchmark and scripts are publicly released at: https://github.com/alphadl/OOP-eval.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 24 of its 37 references that are in the map. First posted on arXiv 12 Jan 2024.

Builds on

24 of 37 references.

References · 24

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2023Qwen Technical Reportcited by 3,344
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  8. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  9. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  10. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  11. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
  12. 2021Measuring Coding Challenge Competence With APPScited by 902
12 more
  1. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  2. 2023The Falcon Series of Open Language Modelscited by 535
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  4. 2019SPoC: Search-based Pseudocode to Codecited by 176
  5. 2023SantaCoder: don't reach for the stars!cited by 170
  6. 2023Towards Making the Most of ChatGPT for Machine Translationcited by 138
  7. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 91
  8. 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
  9. 2023Error Analysis Prompting Enables Human-Like Translation Evaluation in Large Language Modelscited by 87
  10. 2023Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generationcited by 73
  11. 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 67
  12. 2023Prompt-to-OS (P2OS): Revolutionizing Operating Systems and Human-Computer Interaction with Integrated AI Generative Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 2.

8 papers.