Can ChatGPT Support Developers? An Empirical Evaluation of Large Language Models for Code Generation

Kailun Jin, Chung-Yu Wang, Hung Viet Pham, Hadi Hemmati
2/18/2024
cs.SEcs.AIcs.LG

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

Abstract

Large language models (LLMs) have demonstrated notable proficiency in code generation, with numerous prior studies showing their promising capabilities in various development scenarios. However, these studies mainly provide evaluations in research settings, which leaves a significant gap in understanding how effectively LLMs can support developers in real-world. To address this, we conducted an empirical analysis of conversations in DevGPT, a dataset collected from developers' conversations with ChatGPT (captured with the Share Link feature on platforms such as GitHub). Our empirical findings indicate that the current practice of using LLM-generated code is typically limited to either demonstrating high-level concepts or providing examples in documentation, rather than to be used as production-ready code. These findings indicate that there is much future work needed to improve LLMs in code generation before they can be integral parts of modern software development.

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. 9 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{jin2024chatgpt,
  title  = {Can ChatGPT Support Developers? An Empirical Evaluation of Large Language Models for Code Generation},
  author = {Kailun Jin and Chung-Yu Wang and Hung Viet Pham and Hadi Hemmati},
  year   = {2024},
  eprint = {2402.11702},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11702v2}
}

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/2402.11702.svg)](https://codeofpaper.com/paper/2402.11702)

Discussion