Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed a few bugs
  • Loading branch information
amandelpie committed Jul 6, 2022
commit e983dacb0b5dd004794379a98b7fb8271d7c7805
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ object UtSettings {
/**
* Set to true to start fuzzing if symbolic execution haven't return anything
*/
var useFuzzing: Boolean by getBooleanProperty(true)
Comment thread
amandelpie marked this conversation as resolved.
var useFuzzing: Boolean by getBooleanProperty(false)

/**
* Set the total attempts to improve coverage by fuzzer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class MatrixUniqueness {
radius: Double = UtSummarySettings.RADIUS_DBSCAN
): Map<Int, List<UtExecution>> {
val executionPaths = methodExecutions.map { it.path.asIterable() }.toTypedArray()
val dbscan = DBSCANTrainer(eps = radius.toFloat(), minSamples = minPts, metric = ExecutionMetric(), rangeQuery = LinearRangeQuery())
val dbscan = DBSCANTrainer(eps = 5.0f, minSamples = 1, metric = ExecutionMetric(), rangeQuery = LinearRangeQuery())
val dbscanModel = dbscan.fit(executionPaths)
val clusterLabels = dbscanModel.clusterLabels
return methodExecutions.withIndex().groupBy({ clusterLabels[it.index] }, { it.value })
Expand Down