Skip to content

Commit

Permalink
Fix CI/CD (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch authored Jun 7, 2024
1 parent 4d96aa7 commit 833ab76
Show file tree
Hide file tree
Showing 69 changed files with 7,062 additions and 7,189 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- run: echo "LOGURU_COLORIZE=NO" >> $GITHUB_ENV
- name: Build
run: cd src/scripts/merge_tools/merging && ./gradlew shadowJar
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
- name: make check-merges-reproducibility
run: |
python3 src/python/utils/build_inconsistent_merges.py
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-reproducibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- run: echo "LOGURU_COLORIZE=NO" >> $GITHUB_ENV
- name: Build
run: cd src/scripts/merge_tools/merging && ./gradlew shadowJar
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
- name: make check-merges-reproducibility
run: |
head -n 151 results/combined/result.csv > temp.csv && mv temp.csv results/combined/result.csv
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ check-merges-reproducibility:
@set -e; \
for idx in $(shell tail -n +2 $(CSV_RESULTS) | awk -F, '{print $$1}'); do \
src/python/replay_merge.py --testing --merges_csv $(CSV_RESULTS) -skip_build -delete_workdir --idx $$idx; \
df -h; \
du -sh repos; \
du -sh *; \
done

protect-repos:
Expand Down
12 changes: 6 additions & 6 deletions results/combined/defs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
\def\combinedReposSampled{1120\xspace}
\def\combinedMergesSampled{6038\xspace}
\def\combinedReposYieldedFull{1\xspace}
\def\combinedReposTotal{1100\xspace}
\def\combinedMergesTotal{5694\xspace}
\def\combinedReposTotal{1097\xspace}
\def\combinedMergesTotal{5656\xspace}

% Results
\def\combinedSporkOverOrtCorrect{505\xspace}
\def\combinedSporkOverOrtIncorrect{444\xspace}
\def\combinedMainBranchMerges{3397\xspace}
\def\combinedSporkOverOrtCorrect{495\xspace}
\def\combinedSporkOverOrtIncorrect{451\xspace}
\def\combinedMainBranchMerges{3376\xspace}
\def\combinedMainBranchMergesPercent{60\xspace}
\def\combinedOtherBranchMerges{2297\xspace}
\def\combinedOtherBranchMerges{2280\xspace}
\def\combinedOtherBranchMergesPercent{40\xspace}
\def\combinedReposJava{42092\xspace}

Expand Down
Binary file modified results/combined/plots/all/cost_with_manual.pdf
Binary file not shown.
Binary file modified results/combined/plots/all/cost_without_manual.pdf
Binary file not shown.
Binary file modified results/combined/plots/all/heatmap.pdf
Binary file not shown.
Binary file modified results/combined/plots/git/cost_with_manual.pdf
Binary file not shown.
Binary file modified results/combined/plots/git/cost_without_manual.pdf
Binary file not shown.
Binary file modified results/combined/plots/git/heatmap.pdf
Binary file not shown.
Binary file modified results/combined/plots/tools/cost_with_manual.pdf
Binary file not shown.
Binary file modified results/combined/plots/tools/cost_without_manual.pdf
Binary file not shown.
Binary file modified results/combined/plots/tools/heatmap.pdf
Binary file not shown.
11,314 changes: 5,657 additions & 5,657 deletions results/combined/result.csv

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions results/greatest_hits/defs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
\def\greatestHitsReposSampled{106\xspace}
\def\greatestHitsMergesSampled{1169\xspace}
\def\greatestHitsReposYieldedFull{0\xspace}
\def\greatestHitsReposTotal{104\xspace}
\def\greatestHitsMergesTotal{1087\xspace}
\def\greatestHitsReposTotal{103\xspace}
\def\greatestHitsMergesTotal{1069\xspace}

% Results
\def\greatestHitsSporkOverOrtCorrect{104\xspace}
\def\greatestHitsSporkOverOrtIncorrect{72\xspace}
\def\greatestHitsMainBranchMerges{519\xspace}
\def\greatestHitsSporkOverOrtCorrect{94\xspace}
\def\greatestHitsSporkOverOrtIncorrect{81\xspace}
\def\greatestHitsMainBranchMerges{509\xspace}
\def\greatestHitsMainBranchMergesPercent{48\xspace}
\def\greatestHitsOtherBranchMerges{568\xspace}
\def\greatestHitsOtherBranchMerges{560\xspace}
\def\greatestHitsOtherBranchMergesPercent{52\xspace}
\def\greatestHitsReposJava{16816\xspace}

Expand Down
Binary file modified results/greatest_hits/plots/all/cost_with_manual.pdf
Binary file not shown.
Loading

0 comments on commit 833ab76

Please sign in to comment.