mlsanityData to 7 Oct 2026

Examination of Code generated by Large Language Models

arXiv 2408.16601 ↗First posted 29 Aug 2024cs.SE cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs), such as ChatGPT and Copilot, are transforming software development by automating code generation and, arguably, enable rapid prototyping, support education, and boost productivity. Therefore, correctness and quality of the generated code should be on par with manually written code. To assess the current state of LLMs in generating correct code of high quality, we conducted controlled experiments with ChatGPT and Copilot: we let the LLMs generate simple algorithms in Java and Python along with the corresponding unit tests and assessed the correctness and the quality (coverage) of the generated (test) codes. We observed significant differences between the LLMs, between the languages, between algorithm and test codes, and over time. The present paper reports these results together with the experimental methods allowing repeated and comparable assessments for more algorithms, languages, and LLMs over time.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 14 of its 34 references that are in the map. First posted on arXiv 29 Aug 2024.

Builds on

14 of 34 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  6. 2023A Survey on Evaluation of Large Language Modelscited by 1,227
  7. 2023Large Language Modelscited by 774
  8. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  9. 2022CodeT: Code Generation with Generated Testscited by 369
  10. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  11. 2022Shortcut Learning of Large Language Models in Natural Language Understandingcited by 83
  12. 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
2 more
  1. 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
  2. 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 46

Built on by

Cited by year (2026 to 7 Oct)

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

3 papers.