An evaluation of LLM code generation capabilities through graded exercises

Álvaro Barbero Jiménez
10/6/2024
cs.SEcs.AIcs.CL

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

Large Language Models have shown prominent capabilities in generating functional code from natural language descriptions. However, a standardized way to evaluate these capabilities in an objective and unbiased manner is still to be found. In this paper we review the current evaluation methods available to this end, and run a new evaluation of the performance of one state-of-the-art model (GPT4-o-mini) in solving curated coding challenges in 8 programming languages, obtained from Codewars, a software development community. Our analysis shows that the chance of success of the model has a positive correlation with the task difficulty, the popularity of the programming language being used and the time elapsed since the publication of the challenge. A further approximate explanatory analysis in terms of high-level features hints that while 46.6% of the model performance could be attributed to task difficulty, a 37.4% seems to be related to leakage of the challenge solutions into the model training set, while the remaining 16% depends on the programming language. These results suggest that current evaluation methodologies might be overestimating the actual skill of Large Language Models for generating functional code.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jimnez2024evaluation,
  title  = {An evaluation of LLM code generation capabilities through graded exercises},
  author = {Álvaro Barbero Jiménez},
  year   = {2024},
  eprint = {2410.16292},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.16292v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.16292.svg)](https://codeofpaper.com/paper/2410.16292)

Discussion