There is a newer version of this record available.

Dataset Open Access

SOTorrent Dataset

Baltes, Sebastian; Dumani, Lorik

Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="" xmlns:oai_dc="" xmlns:xsi="" xsi:schemaLocation="">
  <dc:creator>Baltes, Sebastian</dc:creator>
  <dc:creator>Dumani, Lorik</dc:creator>
  <dc:description>Stack Overflow (SO) is the most popular question-and-answer website for software developers, providing a large amount of code snippets and free-form text on a wide variety of topics. Like other software artifacts, questions and answers on SO evolve over time, for example when bugs in code snippets are fixed, code is updated to work with a more recent library version, or text surrounding a code snippet is edited for clarity. To be able to analyze how content on SO evolves, we built SOTorrent, an open dataset based on the official SO data dump. SOTorrent provides access to the version history of SO content at the level of whole posts and individual text or code blocks. It connects SO posts to other platforms by aggregating URLs from text blocks and comments, and by collecting references from GitHub files to SO posts. Our vision is that researchers will use SOTorrent to investigate and understand the evolution of SO posts and their relation to other platforms such as GitHub.

If you use this dataset in your work, please cite our MSR 2018 paper (BibTex) or our MSR 2019 mining challenge proposal.</dc:description>
  <dc:description>The dataset is based on the official Stack Overflow data dump released 2019-06-03 ( and the Google BigQuery GitHub data set queried 2019-06-21 and last updated 2019-06-21 according to table info ( Please read the license files ( before using the dataset.</dc:description>
  <dc:subject>stack overflow</dc:subject>
  <dc:subject>code snippets</dc:subject>
  <dc:subject>software evolution</dc:subject>
  <dc:title>SOTorrent Dataset</dc:title>
All versions This version
Views 11,218526
Downloads 32,9491,199
Data volume 252.1 TB3.9 TB
Unique views 8,292469
Unique downloads 6,556317


Cite as