Skip to content

sand1k/defect_predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The data collector consists of two parts:

  1. crawler.py script which walks through commits in data/atom repository
  2. node.js script index.js, which launches a server and waits for requests from crawler.py and returns serialized json with collected metrics

To run data collection:

  1. mkdir data and clone atom repository there
  2. npm install
  3. Run node.js server: node index.js
  4. Run crawler: python3 crawler.py

To install and run jupyter notebook:

sudo -H pip3 install --upgrade pip
sudo -H pip3 install virtualenv
virtualenv jupyter_env
source jupyter_env/bin/activate
pip install jupyter
pip install pandas
pip install matplotlib
pip install sklearn
jupyter notebook

To run the app in docker do the following:

  1. Install docker
  2. Run docker container: docker-compose run --rm metrics /bin/bash
  3. Run any commands

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published