The script for obtaining the bugs is task.py. To run: python task.py queries/task_query The output visualisation is in the file data_viz.png and the output data is in output.csv and viz_output.csv