Can ChatGPT Support Developers? An Empirical Evaluation of Large Language Models for Code Generation
Open Access
- 15 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 167-171
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.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- The GitHub Recent Bugs Dataset for Evaluating LLM-Based Debugging Applications2024
- Investigating Code Generation Performance of ChatGPT with Crowdsourcing Social Data2023
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsProceedings of the ACM on Programming Languages, 2023
- The Programmer’s Assistant: Conversational Interaction with a Large Language Model for Software Development2023
- Taking Flight with CopilotQueue, 2022
- A systematic evaluation of large language models of code2022
- Recognizing Bot Activity in Collaborative Software DevelopmentIEEE Software, 2022
- Expectation vs. Experience: Evaluating the Usability of Code Generation Tools Powered by Large Language Models2022
- GPT-3: Its Nature, Scope, Limits, and ConsequencesMinds and Machines, 2020
- An empirical study on developer interactions in StackOverflow2013