audit-responsible-ml-paper
Project Name: Data Collection and Analysis for our paper Logging Requirement for Continuous Auditing of Responsible Machine Learning-based ApplicationsThis repository contains a Python script for conducting a replication study of the paper titled "Logging Requirement for Continuous Auditing of Responsible Machine Learning-based Applications." The script enables you to collect data from GitHub repositories, perform various analyses, and save the results. This README provides an overview of the project and instructions for using the script.PrerequisitesBefore using this script, make sure you have the following prerequisites:Python 3.x installed.Required Python packages installed. You can install them using <code>pip install -r requirements.txt</code>, where <code>requirements.txt</code> contains the necessary packages.UsageTo run the script, use the following command:<pre><pre>python main.py [options]<br></pre></pre>Options<pre><pre><br>-c, --collect: Search repositories with some configuration.<br>-s, --save: Save the found repositories.<br>-m, --metric: Collect repository metrics.<br>-cl, --clone: Clone repositories.<br>-conv, --convert: Convert all notebook files in a repository to .py files.<br>-p, --parser: Parse Python files and extract all function calls.<br>-i, --issue: Collect issues from repositories.<br></pre></pre>ExamplesSearch and Save Repositories:<pre><pre>python main.py --collect --save<br></pre></pre>Collect Metrics:<pre><pre>python main.py --metric<br></pre></pre>Clone Repositories:<pre><pre>python main.py --clone<br></pre></pre>Convert Notebooks to Python:<pre><pre>python main.py --convert<br></pre></pre>Parse Python Files:<pre><pre>python main.py --parser<br></pre></pre>Collect Issues:<pre><code>python main.py --issue</code></pre>