Skip to content

Commit 7f1c3a8

Browse files
committed
Update path selector strategy
1 parent 1cc84fd commit 7f1c3a8

File tree

1 file changed

+3
-1
lines changed
  • utbot-junit-contest/src/main/kotlin/org/utbot/contest/usvm

1 file changed

+3
-1
lines changed

utbot-junit-contest/src/main/kotlin/org/utbot/contest/usvm/ContestUsvm.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import org.jacodb.api.ext.toType
1111
import org.jacodb.approximation.Approximations
1212
import org.jacodb.impl.features.InMemoryHierarchy
1313
import org.objectweb.asm.Type
14+
import org.usvm.PathSelectionStrategy
1415
import org.usvm.UMachineOptions
1516
import org.usvm.api.targets.JcTarget
1617
import org.usvm.instrumentation.util.jcdbSignature
@@ -87,7 +88,8 @@ fun runUsvmGeneration(
8788
machineOptions = UMachineOptions(
8889
// TODO usvm-sbft: if we have less than CONTEST_TEST_EXECUTION_TIMEOUT time left, we should try execute
8990
// with smaller timeout, but instrumentation currently doesn't allow to change timeout for individual runs
90-
timeout = generationTimeoutMillisWithoutCodegen.milliseconds - CONTEST_TEST_EXECUTION_TIMEOUT
91+
timeout = generationTimeoutMillisWithoutCodegen.milliseconds - CONTEST_TEST_EXECUTION_TIMEOUT,
92+
pathSelectionStrategies = listOf(PathSelectionStrategy.CLOSEST_TO_UNCOVERED_RANDOM),
9193
)
9294
) {
9395
// TODO usvm-sbft: we may want to tune these JcSettings for contest

0 commit comments

Comments
 (0)