This study examines how the DevGPT dataset was created, cleaned, and prepared for research into developer–ChatGPT interactions. Drawing from over 16,000 shared GitHub conversations, researchers filtered out duplicates, non-English exchanges, and limited analyses to eight-turn dialogues. The final dataset offers a rich foundation for exploring how developers use ChatGPT within real-world coding workflows.This study examines how the DevGPT dataset was created, cleaned, and prepared for research into developer–ChatGPT interactions. Drawing from over 16,000 shared GitHub conversations, researchers filtered out duplicates, non-English exchanges, and limited analyses to eight-turn dialogues. The final dataset offers a rich foundation for exploring how developers use ChatGPT within real-world coding workflows.

Building the DevGPT Dataset for Developer–ChatGPT Studies

2025/11/12 23:30

Abstract

1 Introduction

2 Data Collection

3 RQ1: What types of software engineering inquiries do developers present to ChatGPT in the initial prompt?

4 RQ2: How do developers present their inquiries to ChatGPT in multi-turn conversations?

5 RQ3: What are the characteristics of the sharing behavior?

6 Discussions

7 Threats to Validity

8 Related Work

9 Conclusion and Future Work

References

\

Data Collection

In this section, we introduce the used dataset for our study (Section 2.1), followed by the used method utilized in preprocessing dataset (Section 2.2) and preparing datasets for research questions (Section 2.3). Figure 2 shows an overview of the data collection process and the used data for each of our RQs.

2.1 Data Source

Our research leverages the DevGPT dataset (Xiao et al., 2024) as the primary data source. DevGPT constitutes of an extensive archive of DeveloperChatGPT interactions, featuring 16,129 prompts and ChatGPT’s replies. Each shared conversation is coupled with the corresponding software development artifacts to enable the analysis of the context and implications of these developer interactions with ChatGPT. This collection was assembled by extracting shared ChatGPT links found in various GitHub components, such as source code, commits, pull requests, issues, discussions, and threads on Hacker News, over the period from July 27, 2023, to October 12, 2023. The DevGPT dataset is publicly available in a GitHub repository 4 , offering several snapshots. In this study, we focus on the most recent snapshot available as of October 12, 2023. 5

2.2 Data Preprocessing

As our analysis exclusively focuses on shared conversations occurring within GitHub issues and pull requests, we only consider the corresponding data provided by DevGPT, referred to as DevGPT-PRs and DevGPT-Issues. Based on our observations, we then perform the following two data preprocessing steps:

  1. The shared conversations contain sentences (prompts and replies) written in various human languages. To avoid potential misunderstanding from translating other languages different than English, we decided to only keep the conversations written in English. We utilized a Python library named lingua6 to identify conversations containing non-English content and removed those conversations. Specifically, we excluded 46 non-English conversations from DevGPT-PRs and 114 from DevGPT-Issues.
  2. The shared conversations contain duplicates, i.e., conversations with identical prompts and responses. We detected duplicate conversations and kept only one instance for analysis. Specifically, we removed 20 duplicated conversations from DevGPT-PRs and 83 duplicated conversations from DevGPT-Issues. After performing the above two data preprocessing steps, we ended up with 220 conversations from DevGPT-PRs, and 401 conversations from DevGPTIssues.

\ 2.3 Preparing Data for RQs

Figures 3 and 4 show the distribution of conversational turns within the preprocessed datasets. As shown in these figures, a large majority of shared conversations in both DevGPT-PRs (66.8%) and DevGPT-Issues (63.1%) are single-turn interactions. Meanwhile, conversations extending beyond 8 turns - comprising 8 prompts and their 8 corresponding replies - are notably infrequent, accounting for only 4% in DevGPT-PRs and 6% in DevGPT-Issues.

\ Given this distribution, we choose to implement a cutoff at 8 turns for RQ1-3 involving both datasets. This approach allows us to concentrate our investigation on the most prevalent patterns of interaction, thereby ensuring that our analysis remains closely aligned with the conversational dynamics that characterize the vast majority of the dataset. Following this cutoff, the finalized datasets encompass a total of 212 conversations for DevGPT-PRs and 375 for DevGPT-Issues As shown in Figure 2, in RQ1, we analyzed the contents of 580 initial prompts 7 .

\ In RQ2, we analyzed the content in the 645 prompts within all 189 multi-turn conversations. For RQ3, we extend our manual analysis to pull requests and issues that contain shared conversations. Specifically, we randomly sampled a statistically significant set containing 90 GitHub pull request comments and 160 GitHub issue comments containing shared conversations from DevGPT-PRs and DevGPT-Issues. The sampling is based on the results of RQ2. The detailed process is presented in the approach of RQ3 in Section 5.

:::info Authors

  1. Huizi Hao
  2. Kazi Amit Hasan
  3. Hong Qin
  4. Marcos Macedo
  5. Yuan Tian
  6. Steven H. H. Ding
  7. Ahmed E. Hassan

:::

:::info This paper is available on arxiv under CC BY-NC-SA 4.0 license.

:::

\

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact [email protected] for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Jack Dorsey’s Block lanceert Bitcoin betalingen voor 4 miljoen handelaren wereldwijd

Jack Dorsey’s Block lanceert Bitcoin betalingen voor 4 miljoen handelaren wereldwijd

i Kennisgeving: Dit artikel bevat inzichten van onafhankelijke auteurs en valt buiten de redactionele verantwoordelijkheid van BitcoinMagazine.nl. De informatie is bedoeld ter educatie en reflectie. Dit is geen financieel advies. Doe zelf onderzoek voordat je financiële beslissingen neemt. Crypto is zeer volatiel er zitten kansen en risicos aan deze investering. Je kunt je inleg verliezen. Block Inc. is het bedrijf van Jack Dorsey, ooit de oprichter van Twitter. Hij richt zich met Block Inc. en Square, het bedrijf daaronder, volledig op het integreren van Bitcoin betalingen voor online diensten of producten. De technologie is gelanceerd en rekent tot en met 2027 geen transactiekosten. Daarnaast worden de Bitcoin betalingen ook direct verwerkt, zonder dat je hoeft te wachten op het verwerken van een nieuw block op de blockchain. Check onze Discord Connect met "like-minded" crypto enthousiastelingen Leer gratis de basis van Bitcoin & trading - stap voor stap, zonder voorkennis. Krijg duidelijke uitleg & charts van ervaren analisten. Sluit je aan bij een community die samen groeit. Nu naar Discord 4 miljoen verkopers kunnen Bitcoin ontvangen De man met misschien wel de meest gewilde naam op X deelde het nieuws gistermiddag. Square heeft Bitcoin betalingen gelanceerd waardoor er plots 4 miljoen verkopers toegang krijgen tot deze technologie. Zij kunnen kiezen of ze Bitcoin betalingen willen ontvangen. Daarbij hebben ze ook de keuze of de consument met Bitcoin of fiat betaalt. our sellers can now receive btc to btc, btc to fiat, fiat to btc, or fiat to fiat. https://t.co/NnLsd3fgEb — jack (@jack) November 10, 2025 Voor volledige adoptie van Bitcoin betalingen is er een groot probleem: de snelheid van de Bitcoin blockchain zorgt voor vertragingen van soms wel een uur. Square lost dit op doordat de betalingen niet echt in Bitcoin gedaan worden. De verkopers krijgen de Bitcoin in een Square wallet en van daaruit kunnen ze het uit laten betalen naar een eigen wallet. Pas zodra ze dat doen, wordt er daadwerkelijk een Bitcoin transactie uitgevoerd. Hierdoor krijgen verkopers dus altijd direct het juiste saldo te zien en hoeven ze niet te wachten op hun geld. Het feit dat betalingen direct op de saldo’s van verkopers staan, en hierover geen transactiekosten betaald worden, kan bijdragen aan de snelle adoptie van Bitcoin betalingen via Square. Hierdoor kunnen ook kleinere bedrijven meer met Bitcoin gaan werken, terwijl dat nu vooral weggelegd is voor grote bedrijven als Strategy. Nog geen gebruik van Layer-2 netwerk Het idee van Square is vergelijkbaar met dat van een Layer-2 netwerk, maar kent wel een nadeel. Bij een Bitcoin Layer-2 blijf je wel eigenaar van de Bitcoin zelf. Het lijkt erop dat bij Square de Bitcoin in één grote wallet van Square komt en zij de Bitcoin beheren, totdat een verkoper deze zelf weer uitkeert naar zijn of haar wallet. Vanuit de crypto community komt er dan ook op de post van Dorsey op X de nodige kritiek. Zij zouden juist implementatie van Layer-2 technologie willen zien om directe betalingen met Bitcoin te kunnen doen. Bij een Layer-2 netwerk worden Bitcoin transacties off-chain uitgevoerd. Deze worden gebundeld om vervolgens wel op de originele Bitcoin blockchain te noteren. Bij het idee van Square worden alleen de betalingen van klanten en uiteindelijk de uitbetalingen van verkopers naar hun eigen wallet geregistreerd. Welk Layer-2 netwerk wint de strijd? Het Bitcoin Lightning netwerk is al jaren het meest besproken Layer-2 netwerk voor Bitcoin, maar er is een kaper op de kust. Bitcoin Hyper is een nieuw project dat met een eigen Layer-2 chain komt, maar veel meer ontwikkelt dan het originele Bitcoin Lightning. Zo komen de ontwikkelaars van Bitcoin Hyper met een eigen bridge en implementeren ze de Solana Virtual Machine. Het gehele netwerk krijgt zo de functies die we gewend zijn van blockchains als Ethereum en Solana. Dit houdt in dat er ook smart contracts ontwikkeld kunnen worden. Daarnaast komt het project ook met een eigen token: $HYPER. Deze token wordt via een presale aangeboden aan traders die vroegtijdig in willen stappen bij het project. Inmiddels hebben traders al bijna $ 27 miljoen geïnvesteerd in het project. Nu naar Bitcoin Hyper i Kennisgeving: Dit artikel bevat inzichten van onafhankelijke auteurs en valt buiten de redactionele verantwoordelijkheid van BitcoinMagazine.nl. De informatie is bedoeld ter educatie en reflectie. Dit is geen financieel advies. Doe zelf onderzoek voordat je financiële beslissingen neemt. Crypto is zeer volatiel er zitten kansen en risicos aan deze investering. Je kunt je inleg verliezen. Het bericht Jack Dorsey’s Block lanceert Bitcoin betalingen voor 4 miljoen handelaren wereldwijd is geschreven door Christiaan Kopershoek en verscheen als eerst op Bitcoinmagazine.nl.
Share
Coinstats2025/11/13 02:32