Analysis of the evolution of issues on the Rails project
The report of this analysis can be found here
- python 3.8
- Poetry
- Jupyter Notebook | Google Colaboratory
$ poetry install
To run the extractor script, github oauth have been used. Specify your personal token in the .env file after running the command below.
$ copy .env.example .env
Run the data extraction script with this command. It outputs raw.pickle by default file in the data directory
$ poetry run python src/extract.py
Run the data transformation script with this command. It outputs data.pickle by default file in the data directory
$ poetry run python src/transform.py
The analysis code and results are in the notebook.ipynb
file.
You will need Jupyter to run it or your can use Google Colab.
If using vscode simply specify the virtual environment created by Poetry and run the notebook.
Otherwise, you might need to install the dependencies properly. Export them to a requirements.txt
file using the command below:
poetry export -f requirements.txt --output requirements.txt
Then install them in your notebook environment using a cell to run the following command:
!pip install requirements.txt
Notice the !
at the beginning, used to run OS command in notebook cells.