paper-with-me

Papers

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

2024-01-12 · Shuai Wang, Liang Ding, Li Shen, Yong Luo, Bo Du, DaCheng Tao

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.

📄 PDF Abstract BibTeX arXiv:2401.06628

Code (1)

alphadl/oop-eval 공식 구현

Tasks

Code GenerationHumanEvalmbpp

Similar Papers 제목 키워드 기반

Comparative Analysis of Widely use Object-Oriented Languages

2023-06-02 · Muhammad Shoaib Farooq, Taymour zaman Khan

Programming is an integral part of computer science discipline. Every day the programming environment is not only rapidly growing but also changing and languages are constantly evolving. Learning of object-oriented parad…

Object

JavaBench: A Benchmark of Object-Oriented Code Generation for Evaluating Large Language Models

2024-06-10 · Jialun Cao, Zhiyong Chen, Jiarong Wu, Shing-Chi Cheung 외

Code generation benchmarks such as HumanEval are widely adopted to evaluate LLMs' capabilities. However, after consolidating the latest 24 benchmarks, we noticed three significant imbalances. First, imbalanced programmin…

BenchmarkingCode GenerationHumanEval

Expert Systems with Logic#. A Novel Modeling Framework for Logic Programming in an Object-Oriented Context of C#

2022-05-16 · F. Lorenz, M. Günther

We present a novel approach how logic programming for expert systems can be declared directly in an object-oriented language.

Object

ObjectRL: An Object-Oriented Reinforcement Learning Codebase

2025-07-04 · Gulcin Baykal, Abdullah Akgül, Manuel Haussmann, Bahareh Tasdighi 외 arxiv

ObjectRL is an open-source Python codebase for deep reinforcement learning (RL), designed for research-oriented prototyping with minimal programming effort. Unlike existing codebases, ObjectRL is built on Object-Oriented…

Reinforcement Learning

Implementing Knowledge Representation and Reasoning with Object Oriented Design

2026-01-21 · Abdelrhman Bassiouny, Tom Schierenbeck, Sorin Arion, Benjamin Alt 외 arxiv

This paper introduces KRROOD, a framework designed to bridge the integration gap between modern software engineering and Knowledge Representation & Reasoning (KR&R) systems. While Object-Oriented Programming (OOP) is the…