Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
man-zhang committed Nov 26, 2024
1 parent ccb1994 commit 32ff44b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core/src/main/kotlin/org/evomaster/core/EMConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,6 @@ class EMConfig {
@Probability
var probOfRandomSampling = 0.8

@Cfg("Probability of sampling a new individual with schedule tasks. Note that schedule task is only enabled for RPCProblem")
@Probability
var probOfSamplingScheduleTask = 0.5

@Cfg("The percentage of passed search before starting a more focused, less exploratory one")
@PercentageAsProbability(true)
var focusedSearchActivationTime = 0.8
Expand Down Expand Up @@ -1560,6 +1556,12 @@ class EMConfig {
@Probability
var probOfApplySQLActionToCreateResources = 0.1


@Experimental
@Cfg("Probability of sampling a new individual with schedule tasks. Note that schedule task is only enabled for RPCProblem")
@Probability
var probOfSamplingScheduleTask = 0.0

@Experimental
@Cfg("Specify a maximum number of handling (remove/add) resource size at once, e.g., add 3 resource at most")
@Min(0.0)
Expand Down
1 change: 1 addition & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ There are 3 types of options:
|`probOfHarvestingResponsesFromActualExternalServices`| __Double__. a probability of harvesting actual responses from external services as seeds. *Constraints*: `probability 0.0-1.0`. *Default value*: `0.0`.|
|`probOfMutatingResponsesBasedOnActualResponse`| __Double__. a probability of mutating mocked responses based on actual responses. *Constraints*: `probability 0.0-1.0`. *Default value*: `0.0`.|
|`probOfPrioritizingSuccessfulHarvestedActualResponses`| __Double__. a probability of prioritizing to employ successful harvested actual responses from external services as seeds (e.g., 2xx from HTTP external service). *Constraints*: `probability 0.0-1.0`. *Default value*: `0.0`.|
|`probOfSamplingScheduleTask`| __Double__. Probability of sampling a new individual with schedule tasks. Note that schedule task is only enabled for RPCProblem. *Constraints*: `probability 0.0-1.0`. *Default value*: `0.0`.|
|`probOfSmartInitStructureMutator`| __Double__. Specify a probability of applying a smart structure mutator for initialization of the individual. *Constraints*: `probability 0.0-1.0`. *Default value*: `0.0`.|
|`saveMockedResponseAsSeparatedFile`| __Boolean__. Whether to save mocked responses as separated files. *Default value*: `false`.|
|`security`| __Boolean__. Apply a security testing phase after functional test cases have been generated. *Default value*: `false`.|
Expand Down

0 comments on commit 32ff44b

Please sign in to comment.