Unveiling the Role of ChatGPT in Software Development: Insights from Developer-ChatGPT Interactions on GitHub

Ruiyin Li, Peng Liang, Yifei Wang, Yangxiao Cai, Weisong Sun, Zengyang Li · DOI

Introduction

Since the launch of ChatGPT, the software engineering (SE) community has been flooded with surveys regarding perceived productivity and controlled lab studies on potential capabilities. However, there remains a distinct lack of empirical evidence regarding how developers integrate Large Language Models (LLMs) into their actual, day-to-day workflows. Most developer-LLM interactions occur in private, creating a barrier for researchers seeking to understand authentic usage patterns.

This study addresses this gap by exploiting a feature released by OpenAI in May 2023 that allows users to share links to their ChatGPT conversations. By mining these links from GitHub, the authors provide a "window" into real-world practices, identifying specific tasks developers offload to AI and the stages of the software development lifecycle (SDLC) where AI is most prevalent.

Comparison of the current study with previous research themes and identified gaps.

Methodology

The researchers employed a hybrid data collection strategy, combining GitHub’s REST API with custom web crawlers to extract shared ChatGPT links from five primary sources: Code, Commits, Issues, Pull Requests, and Discussions.

To ensure the quality of the resulting dataset, the team implemented a rigorous data cleaning and labeling pipeline:

  1. Data Cleaning: Filtering out invalid URLs, non-English content, and duplicates.
  2. Qualitative Analysis: Utilizing the Constant Comparison Method, three researchers independently coded the data to identify emergent categories for developer purposes.
  3. Taxonomy Mapping: The authors developed a multi-layered framework linking GitHub data sources to 9 broad development activities and 39 fine-grained SE tasks.
Overview of the data collection and cleaning pipeline for the DevChat dataset.

The DevChat Dataset

The study introduces DevChat, a curated dataset of 2,547 unique, publicly shared ChatGPT conversations collected between May 2023 and June 2024. Unlike previous datasets, DevChat offers broader temporal coverage and a more rigorous cleaning process to ensure interactions are development-relevant. The authors have made this labeled dataset publicly available to encourage further research into AI-assisted development.

Key Insights and Findings

The "Snack-Sized" Assistant

Most interactions are remarkably brief, typically lasting only 1 to 3 turns. Developers are not engaging in long, philosophical debates with the AI; instead, they use it for quick, task-focused "hits." In Code and Commits, between 75% and 88% of interactions were categorized as "Task Delegation"—essentially asking the AI to perform a discrete task, such as writing a unit test or a README.

Late-Stage Bias and High-Level Reasoning

ChatGPT’s impact is heavily concentrated in the later phases of the SDLC, specifically Software Implementation (41.57%) and Software Maintenance & Evolution (33.14%). It is rarely used for Requirement Analysis or System Architecture Design, suggesting that developers still do not trust LLMs with high-level, context-heavy reasoning.

Transparency in Collaboration

Documentation culture varies by context. When sharing links in social environments like Pull Requests or Discussions, developers provide a textual description explaining the link's purpose over 88% of the time. In raw code files, this transparency drops to approximately 70%.

Quantitative Results

  • Distribution: 43.4% of shared links were found directly in Code files, followed by 32.3% in Commits.
  • Top Tasks: Out of 39 identified tasks, Code Generation & Completion (888 instances) and Code Modification & Optimization (686 instances) were the most prominent.
  • Reliability: The researchers achieved a substantial Cohen’s Kappa (0.65–0.79) during pilot labeling, indicating high reliability in their categorization.

Limitations and Future Work

The authors acknowledge that shared links represent a subset of total usage, potentially introducing survival bias as developers may only share "successful" conversations. Furthermore, the study is descriptive and does not measure whether AI-generated code improved software quality or introduced defects.

Future research directions include expanding the study to other LLMs (e.g., DeepSeek, Llama), conducting controlled experiments to assess the impact of task delegation on shipping times, and analyzing prompt quality to identify best practices for developer-AI interaction.

Summary updated

BibTeX
@article{li2026unveiling,
  author = {Ruiyin Li and Peng Liang and Yifei Wang and Yangxiao Cai and Weisong Sun and Zengyang Li},
  title = {{Unveiling the Role of ChatGPT in Software Development: Insights from Developer-ChatGPT Interactions on GitHub}},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  doi = {10.1145/3798163},
}
Figure