MétaCan
Menu
← Back to cohort
Record W6948495437 · doi:10.5281/zenodo.10724624

REDUSE - Will it Work on My Machine?\\A Study on Reproducibility Smells in Ansible Scripts

2024· other· en· W6948495437 on OpenAlexaff

Bibliographic record

VenueZenodo (CERN European Organization for Nuclear Research) · 2024
Typeother
Languageen
FieldEnvironmental Science
TopicSpecies Distribution and Climate Change
Canadian institutionsDalhousie University
Fundersnot available
KeywordsReproducibilityCode smellTask (project management)Scripting languageReplication (statistics)File format

Abstract

fetched live from OpenAlex

A study on reproducibility smells This study, first, identifies such programming practicesthat we refer to as reproducibility smells by conducting a comprehensive multi-vocal review. We implement a tool viz. REDUSE to identify reproducibility smells in Ansible scripts. Furthermore, we carry out an empirical study to reveal the proliferation of reproducibility smells in open-source projects and explore correlation and co-occurrence relationships among them. This tool detects programming practices, referred to as productivity smells, in Ansible scripts that can lead to reproducibility issues. What is this tool? This is a detection tool, designed to detect reproducibility smells in a pattern based mode.You can provide your ansible script in .yml format and get a .csv output containing task name, task number, smell name, reason of having the smell on the task. Content Replication Package Manual validation : This folder contains the repositories used for manual validation of the tool. In each folder, for each script we have `manual.csv`(smells detected by reviewers) file and `cleaned.csv`(smells detected by tool) file. MLR : This folder contains all the files regarding multi-vocal literature review. Reproducibility smell examples : This file contains the code for the example scenarios mentioned in the category in the paper. Qualitative analysis sheet : This file contains the github issues analysis from the projects extracted for empirical study from 'ansible galaxy'. Souce codes:**`src`**:- **`extraction`**: - **`extracted_repos`**: This folder contains text files. Each text file contains the links extracted from 9 categories of the ansible galaxy top 100 of the most-downloaded repositories after applying criteria check on the github repository. - **`script`**: - **`criteria_check.py`**: This script applies criterias on the github links. 5 stars, 50 commits, last commit not older than 1 year ago. - **`link_extractor.py`**: This script extracts github links from the given url. used for extracting the projects from the ansible galaxy. - **`script_extractor.py`**: This script gets a github link and extracts the .yml files of the repository. - **`output`**: This folder contains all the detection results on the scripts. - **`detector.py`**: - This scripts contains the main logic of the tool. - It gets the path to the ansible script file and parse it. - using parsed tasks it detects the smells for each task.- **`parser.py`**: - This scripts parses a given ansible script and returns a dictionary containing the tasks of the script.- **`smell_detection.py`**: - This scripts consists of the smell detection functions. each function is trying to detect one smell according to the rules specified and provides a message.- **`results.py`**: - This script creates 2 csv files in 2 formats as output. **`test`**:- **`testScripts`**: This folder contains the original ansible scripts from the ansible galaxy and ansible-oci-collection.- **`unit_test`**: This folder contains the unit-tests for the smell_detection functions.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.045
metaresearch head score (Gemma)0.239
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesMetaresearch
Consensus categoriesnone
DomainCandidate signal: Reproducibility · Consensus signal: none
Study designCandidate signal: Observational · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: Empirical
Teacher disagreement score0.955
Threshold uncertainty score0.240

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0450.239
Meta-epidemiology (narrow)0.0000.001
Meta-epidemiology (broad)0.0010.001
Bibliometrics0.0020.003
Science and technology studies0.0020.002
Scholarly communication0.0060.007
Open science0.0010.003
Research integrity0.0010.002
Insufficient payload (model declined to judge)0.0060.002

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.066
GPT teacher head0.280
Teacher spread0.214 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

Study designObservational
DomainReproducibility
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2024
Admission routes1
Has abstractyes

Explore more

Same venueZenodo (CERN European Organization for Nuclear Research)→Same topicSpecies Distribution and Climate Change→French-language works237,207→