Replication Package for Adapting Returners and Explorers Dichotomy of Human Mobility to Understand Source Code Knowledge Distribution

Read full text Summarise with VIRAT
Authors: G. H. P. Carvalho, Lincoln Rocha, E. B. dos Santos, Ronaldo Parente de Menezes
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

Notes This repository contains supplemental materials, source code and data necessary to reproduce all the analyses and figures in the paper titled "Adapting Returners and Explorers Dichotomy of Human Mobility to Understand Source Code Knowledge Distribution." The supplemental figures mentioned in the paper are in the file supplemental_materials.pdf. The source code is in RE-Apache-20.zip. Setup The scripts are in jupyter notebooks and we recommend using VSCode to run the notebooks. To replicate the analyses in this package, it is recommended to use a python virtual environment: cd scripts python3 -m venv env Then load the required packages: source env/bin/activate pip install -r requirements.txt And then open VSCode and configure it to use the virtual environment above. Datasets /scripts/miner/datasets => main data mined from github repositories. /scripts/r&e/datasets/projects.json => json that contains file and project metadata. /scripts/r&e/datasets/projects_summary.json => json that combines truck factor and code orbit information. /scripts/r&e/datasets/re_tf_projects_table.csv => table including all project-level information related to truck factor and returners & explorers /scripts/r&e/datasets/re_top_files_stats.csv => table including returners & explorers information for top-10 files of each project by project /scripts/r&e/datasets/re_top_files_details.csv => table including returners & explorers information for top-10 files of each project by project and by file /scripts/r&e/datasets/output => classification of returners & explorers and tourists of each project /scripts/r&e/datasets/truckfactor => computed DOA e DOE truck factor for all projects, using k = 0.7 and coverage = 0.5 for both methods. /scripts/r&e/datasets/unified => main data mined from github repositories already processed with unified ids Scripts The files must be run in this order: /scripts/r&e/GitHubAPI.ipynb => jupyter notebook that queries the GItHub APi to get login information /scripts/r&e/UnifyDevIds.ipynb => jupyter notebook that creates copies of the original datasets with unified ids. /scripts/pre-processing/chainedMapping.ipynb => jupyter notebook that creates processed datasets to calculate the code orbit metric. Fixes rename chaining, to map the file along its history. /scripts/BotDetection.ipynb => jupyter notebook that searches for bots in the dataset based on Chidambaram et al. (2023) bot dataset. /scripts/CodeOrbit.ipynb => jupyter notebook that creates the csv files with rco and rco(k) values`. /scripts/TruckFactor.ipynb => jupyter notebook that computes truck factor for each project. /scripts/GenerateSummary.ipynb => jupyter notebook that combines truck factor and code orbit information in a single file. /scripts/GenerateFileStats.ipynb => jupyter notebook that generate files for visualization. Visualization /scripts/visualization/AuthorsBarchart.ipynb => jupyter notebook that generate the barchart of authors. /scripts/visualization/VennDiagramRET.ipynb => jupyter notebook that generate the venn diagrams in the paper. /scripts/visualization/TruckFactorAnalysis.ipynb => jupyter notebook that generate truck factor related figures in the paper.

Fields of Study & Subjects

Software Engineering Research Open Source Software Innovations Software Engineering Techniques and Practices

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
31 March 2026
Language
EN
Document type
Book