Skip to content

Commit e3d72c8

Browse files
chore: fine tune setup
1 parent 2b6c981 commit e3d72c8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docker/config-reproduction.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ experiment.dataset.min-size=0
2121
# more commits, it is simply ignored. Values of 0 or less are automatically converted to Integer.MAX_VALUE.
2222
experiment.dataset.max-size=0
2323
# Number of threads for parallel execution. Note that the bottleneck might be the IO capacity of your disk.
24-
experiment.thread-count=10
24+
experiment.thread-count=50
2525
# Should the amount of data be reduced by sampling with a certain confidence?
2626
experiment.enable-sampling=false
2727
# (z) is the Z-score corresponding to your desired confidence level (for a 95% confidence level, (z = 1.96)),

src/main/kotlin/org/variantsync/evaluation/PatcherEvaluationMain.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fun main(args: Array<String>) {
175175

176176
cloneDatasets(allSamples, config)
177177

178-
val n = 10
178+
val n = 5
179179
Logger.info("Processing $n repos in parallel")
180180
val threadPool = Executors.newFixedThreadPool(n)
181181

@@ -550,4 +550,4 @@ private fun loadCompletedRuns(config: EvalConfig): HashMap<Int, MutableMap<Strin
550550
set.add(run)
551551
}
552552
return map
553-
}
553+
}

src/main/kotlin/org/variantsync/evaluation/execution/EvalUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ fun filterUnpatchedFiles(originalPatch: OriginalDiff, diffToFilter: OriginalDiff
3030
fun defaultPatchers(strip: Int): List<Patcher> {
3131
val patchers = ArrayList<Patcher>()
3232
patchers.add(GNUPatch("unix_patch", strip))
33-
patchers.add(MPatch("pwm_f1", strip, 1))
33+
// patchers.add(MPatch("pwm_f1", strip, 1))
3434
patchers.add(MPatch("pwm_f2", strip, 2))
35-
patchers.add(GitApply("git_apply", strip))
35+
// patchers.add(GitApply("git_apply", strip))
3636
patchers.add(GitCP("git_cherry", strip, MergeStrategy.Ours))
3737
return patchers
3838
}

0 commit comments

Comments
 (0)