-
Clone this repository:
git clone https://github.com/datnvhust/bug_locator.git
Download the datasets file from here, and unzip it in the root directory of the cloned repository.
-
Check the path of datasets in the
datasets.py
module and change the value of theDATASET
variable to choose different datasets (values can beaspectj
,swt
, andzxing
) (suggestion:zxing
). Run the main module:python preprocessing.py python label.py python rvsm_similarity.py python ranking.py python ranking_label_1.py
All the modules are also independently runnable if it was needed to run them one by one.