forked from benedikt-schesch/AST-Merging-Evaluation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45d5818
commit 96a4262
Showing
6 changed files
with
456 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Python Scripts for Merge Conflict Analysis | ||
|
||
|
||
|
||
|
||
This directory contains Python scripts designed to facilitate the analysis of merge conflicts using various merge tools. The scripts allow users to recreate merges, analyze conflicts, and compare different merge algorithms' effectiveness. | ||
|
||
|
||
|
||
|
||
## Scripts Overview | ||
|
||
|
||
|
||
|
||
- `diff3_analysis.py`: This script analyzes merge conflicts for two merge tools on a given conflict. The tool that failed to merge should come first as an argument. | ||
|
||
|
||
|
||
|
||
## Prerequisites | ||
|
||
|
||
|
||
|
||
- Python 3.x installed on your system. | ||
- Necessary Python packages installed (e.g., `pandas`, `GitPython`). | ||
|
||
|
||
|
||
|
||
## Usage | ||
|
||
|
||
|
||
|
||
### Analyzing a Single Merge Conflict | ||
|
||
|
||
|
||
|
||
To analyze a conflicts comparing two merge tools: | ||
|
||
|
||
python3 diff3_analysis.py <merge_tool1> <merge_tool2> <results_index> <output_directory> | ||
|
||
|
||
|
||
Ex: | ||
|
||
python3 diff3_analysis.py "gitmerge_ort" "spork" 32 "./mixed_results_spork" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.