Dataset Open Access

GAP: Forecasting Commit Activity in git Projects

Alexandre Decan; Eleni Constantinou; Tom Mens; Henrique Rocha


JSON Export

{
  "files": [
    {
      "links": {
        "self": "https://zenodo.org/api/files/ecdc65d7-25a7-4fc2-9de5-21f2690f06e5/replication.zip"
      }, 
      "checksum": "md5:03e68227f5a317c11ab38df201e203fc", 
      "bucket": "ecdc65d7-25a7-4fc2-9de5-21f2690f06e5", 
      "key": "replication.zip", 
      "type": "zip", 
      "size": 49444568
    }
  ], 
  "owners": [
    39643
  ], 
  "doi": "10.5281/zenodo.3666048", 
  "stats": {
    "version_unique_downloads": 15.0, 
    "unique_views": 110.0, 
    "views": 125.0, 
    "version_views": 125.0, 
    "unique_downloads": 15.0, 
    "version_unique_views": 110.0, 
    "volume": 1483337040.0, 
    "version_downloads": 30.0, 
    "downloads": 30.0, 
    "version_volume": 1483337040.0
  }, 
  "links": {
    "doi": "https://doi.org/10.5281/zenodo.3666048", 
    "conceptdoi": "https://doi.org/10.5281/zenodo.3666047", 
    "bucket": "https://zenodo.org/api/files/ecdc65d7-25a7-4fc2-9de5-21f2690f06e5", 
    "conceptbadge": "https://zenodo.org/badge/doi/10.5281/zenodo.3666047.svg", 
    "html": "https://zenodo.org/record/3666048", 
    "latest_html": "https://zenodo.org/record/3666048", 
    "badge": "https://zenodo.org/badge/doi/10.5281/zenodo.3666048.svg", 
    "latest": "https://zenodo.org/api/records/3666048"
  }, 
  "conceptdoi": "10.5281/zenodo.3666047", 
  "created": "2020-02-13T08:31:34.009795+00:00", 
  "updated": "2020-02-13T19:20:55.522806+00:00", 
  "conceptrecid": "3666047", 
  "revision": 3, 
  "id": 3666048, 
  "metadata": {
    "access_right_category": "success", 
    "doi": "10.5281/zenodo.3666048", 
    "description": "<p>This entry contains the replication package for our paper <em>GAP: Forecasting Commit Activity in git Projects</em> accepted for publication in Journal of Systems and Software.</p>\n\n<p>Abandonment of active developers poses a significant risk for many open source software projects. This risk can be reduced by forecasting the future activity of contributors involved in such projects. Focusing on the commit activity of individuals involved in git repositories, this paper proposes a practicable probabilistic forecasting model based on the statistical technique of survival analysis. The model is empirically validated on a wide variety of projects accounting for 7,528 git repositories and 5,947 active contributors. We found that a model based on the last 20 observed days of commit activity per contributor provides the best concordance. We also found that the predictions provided by the model are generally close to actual observations, with slight underestimations for low probability predictions and slight overestimations for higher probability predictions. This model is implemented as part of an open source tool, called gap, that predicts future commit activity.</p>\n\n<p><strong>Replication package</strong></p>\n\n<p>The model is explained and defined in <em>&quot;notebooks/Survival analysis.ipynb&quot;</em>. This is a Jupyter notebook created with Jupyter Lab. The dependencies required to run this notebook are listed in <em>requirements.txt</em> and can be automatically installed using <code>pip install -r requirements.txt</code>. Consider making use of a virtual environment to ensure a proper replication of the analyses.</p>\n\n<p>The data used to validate the model can be found in <em>data/cargo.csv.gz</em>. They were produced with the script <em>data/convert.py</em> that requires file <em>data-raw/cargo_all_proj_commits_id.csv.gz</em>. This file was created by retrieving all the commits of all projects hosted on github that are related to a project distributed on Cargo. To identify such projects, we relied on libraries.io dataset. GitHub API was then queried to obtain the username of each author (if available) to allow some basic identity merging task. Data about repositories were extracted from libraries.io 1.4.0 dataset and can be found in <em>data/repositories.csv.gz</em>.</p>\n\n<p><strong>The GAP tool</strong></p>\n\n<p>GAP is made available on <a href=\"https://github.com/AlexandreDecan/gap\">https://github.com/AlexandreDecan/gap</a></p>", 
    "language": "eng", 
    "title": "GAP: Forecasting Commit Activity in git Projects", 
    "license": {
      "id": "CC-BY-4.0"
    }, 
    "relations": {
      "version": [
        {
          "count": 1, 
          "index": 0, 
          "parent": {
            "pid_type": "recid", 
            "pid_value": "3666047"
          }, 
          "is_last": true, 
          "last_child": {
            "pid_type": "recid", 
            "pid_value": "3666048"
          }
        }
      ]
    }, 
    "publication_date": "2020-02-13", 
    "creators": [
      {
        "affiliation": "University of Mons", 
        "name": "Alexandre Decan"
      }, 
      {
        "affiliation": "Eindhoven University of Technology", 
        "name": "Eleni Constantinou"
      }, 
      {
        "affiliation": "University of Mons", 
        "name": "Tom Mens"
      }, 
      {
        "affiliation": "University of Antwerp", 
        "name": "Henrique Rocha"
      }
    ], 
    "access_right": "open", 
    "resource_type": {
      "type": "dataset", 
      "title": "Dataset"
    }, 
    "related_identifiers": [
      {
        "scheme": "doi", 
        "identifier": "10.5281/zenodo.3666047", 
        "relation": "isVersionOf"
      }
    ]
  }
}
125
30
views
downloads
All versions This version
Views 125125
Downloads 3030
Data volume 1.5 GB1.5 GB
Unique views 110110
Unique downloads 1515

Share

Cite as