Saved in:
Bibliographic Details
Main Authors: Meaden, James, Jarosz, Michał, Jodłowski, Piotr, Melnik, Grigori
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.13757
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912544207142912
author Meaden, James
Jarosz, Michał
Jodłowski, Piotr
Melnik, Grigori
author_facet Meaden, James
Jarosz, Michał
Jodłowski, Piotr
Melnik, Grigori
contents Current code generation benchmarks focus primarily on functional correctness while overlooking two critical aspects of real-world programming: algorithmic efficiency and code quality. We introduce COMPASS (COdility's Multi-dimensional Programming ASSessment), a comprehensive evaluation framework that assesses code generation across three dimensions: correctness, efficiency, and quality. COMPASS consists of 50 competitive programming problems from real Codility competitions, providing authentic human baselines from 393,150 submissions. Unlike existing benchmarks that treat algorithmically inefficient solutions identically to optimal ones provided they pass test cases, COMPASS systematically evaluates runtime efficiency and code quality using industry-standard analysis tools. Our evaluation of three leading reasoning-enhanced models, Anthropic Claude Opus 4, Google Gemini 2.5 Pro, and OpenAI O4-Mini-High, reveals that models achieving high correctness scores do not necessarily produce efficient algorithms or maintainable code. These findings highlight the importance of evaluating more than just correctness to truly understand the real-world capabilities of code generation models. COMPASS serves as a guiding framework, charting a path for future research toward AI systems that are robust, reliable, and ready for production use.
format Preprint
id arxiv_https___arxiv_org_abs_2508_13757
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle COMPASS: A Multi-Dimensional Benchmark for Evaluating Code Generation in Large Language Models
Meaden, James
Jarosz, Michał
Jodłowski, Piotr
Melnik, Grigori
Software Engineering
Artificial Intelligence
Current code generation benchmarks focus primarily on functional correctness while overlooking two critical aspects of real-world programming: algorithmic efficiency and code quality. We introduce COMPASS (COdility's Multi-dimensional Programming ASSessment), a comprehensive evaluation framework that assesses code generation across three dimensions: correctness, efficiency, and quality. COMPASS consists of 50 competitive programming problems from real Codility competitions, providing authentic human baselines from 393,150 submissions. Unlike existing benchmarks that treat algorithmically inefficient solutions identically to optimal ones provided they pass test cases, COMPASS systematically evaluates runtime efficiency and code quality using industry-standard analysis tools. Our evaluation of three leading reasoning-enhanced models, Anthropic Claude Opus 4, Google Gemini 2.5 Pro, and OpenAI O4-Mini-High, reveals that models achieving high correctness scores do not necessarily produce efficient algorithms or maintainable code. These findings highlight the importance of evaluating more than just correctness to truly understand the real-world capabilities of code generation models. COMPASS serves as a guiding framework, charting a path for future research toward AI systems that are robust, reliable, and ready for production use.
title COMPASS: A Multi-Dimensional Benchmark for Evaluating Code Generation in Large Language Models
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2508.13757