Published July 18, 2022 | Version v1

StackPilot: Contrasting Code Snippets from Stack Overflow and GitHub Copilot

  • 1. The University of Adelaide
  • 2. The University of Melbourne
  • 3. University College London

Description

Copy-paste programming via Stack Overflow and code generation via GitHub Copilot both define a query/prompt-based programming model. To enable systematic comparison of code copied from Stack Overflow and code generated by GitHub Copilot, we provide a dataset of 30,746 code snippets that Stack Overflow and GitHub Copilot produced in response to the same 2,636 queries/prompts.

Files

stackpilot.json

Files (18.4 MB)

Name Size Download all
md5:f31ee9782581dde39222ee716fb085a2
18.4 MB Preview Download