Is Stack Overflow Obsolete? An Empirical Study of the Characteristics of ChatGPT Answers to Stack Overflow Questions
arXiv:2308.02312 · doi:10.1145/3613904.3642596
Abstract
Q&A platforms have been crucial for the online help-seeking behavior of programmers. However, the recent popularity of ChatGPT is altering this trend. Despite this popularity, no comprehensive study has been conducted to evaluate the characteristics of ChatGPT's answers to programming questions. To bridge the gap, we conducted the first in-depth analysis of ChatGPT answers to 517 programming questions on Stack Overflow and examined the correctness, consistency, comprehensiveness, and conciseness of ChatGPT answers. Furthermore, we conducted a large-scale linguistic analysis, as well as a user study, to understand the characteristics of ChatGPT answers from linguistic and human aspects. Our analysis shows that 52% of ChatGPT answers contain incorrect information and 77% are verbose. Nonetheless, our user study participants still preferred ChatGPT answers 35% of the time due to their comprehensiveness and well-articulated language style. However, they also overlooked the misinformation in the ChatGPT answers 39% of the time. This implies the need to counter misinformation in ChatGPT answers to programming questions and raise awareness of the risks associated with seemingly correct answers.
This paper has been conditionally accepted for the CHI Conference on Human Factors in Computing Systems (CHI'24). The new version of this paper has been modified with updated discussions to address more stakeholders
References in corpus (3)
- 'It's Reducing a Human Being to a Percentage'; Perceptions of Justice in Algorithmic Decisions
- The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Development
- Are Deepfakes Concerning? Analyzing Conversations of Deepfakes on Reddit and Exploring Societal Implications
Cited by in corpus (8)
- Using AI Assistants in Software Development: A Qualitative Study on Security Practices and Concerns
- How Do Programming Students Use Generative AI?
- How Scientists Use Large Language Models to Program
- ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Tools
- "Piecing Data Connections Together Like a Puzzle": Effects of Increasing Task Complexity on the Effectiveness of Data Storytelling Enhanced Visualisations
- Information Retrieval in the Age of Generative AI: The RGB Model
- What Characteristics Make ChatGPT Effective for Software Issue Resolution? An Empirical Study of Task, Project, and Conversational Signals in GitHub Issues
- How to write competitive proposals and job applications