BATS, an unsupervised learning based system to predict patch correctness by checking patch Behaviour Against failing Test Specification.
- data. Unzip PatchCollectingV1_sliced.zip to obtain the generated patches by APR and Defects4j developer patches.
- representation. Follow README.md to download trained Code2Vec model.
- other requirements. Bert: cased_L-24_H-1024_A-16
- experiment. Follow experiment/README.md to run RQ1, RQ2 and RQ3.