From ccea58823c0a08df19d7984b0f3092bccba368cc Mon Sep 17 00:00:00 2001 From: Michael Ernst Date: Sun, 28 Apr 2024 21:10:44 -0700 Subject: [PATCH] Instructions about comparing merge algorithms (#278) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 5e307971a1..3f86f15a61 100644 --- a/README.md +++ b/README.md @@ -210,3 +210,11 @@ To run style checking run `make style`. * results/small/ -> Contains all the results for the small analysis. * jars/ -> Location for the IntelliMerge and Spork jars. + + +## Comparing merge algorithms + +To investigate differences between two mergers: + * edit file `src/python/select_from_results.py` to reflect the differences you are interested in. + * run `src/python/select_from_results.py` to create a .csv database containing only the differences. + * run `src/python/replay_merge.py --merges_csv CSV_FILE --idx INDEX` (maybe add `-test`) for the index of the merge you are interested in.