The latencydistribution attribute controls the response latencies of Inquisit's test monkey.
<monkey>
or
/ latencyDistribution = constant(mean)or
/ latencyDistribution = normal(mean, sd)or
/ latencyDistribution = uniform(min, max)Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
distribution | latencydistributionenum |
|
||||||||
mean | number | The expected average in milliseconds of the monkey's response latencies. | ||||||||
sd | number | The expected standard deviation in milliseconds of the monkey's response latencies. | ||||||||
min | number | The minimum possible latency in milliseconds for the monkey's response. | ||||||||
max | number | The maximum possible latency in milliseconds for the monkey's response. |
By default, the monkey uses a normal distribution, the mean and standard deviation of which vary depending upon whether a response deadline or window is used.
The following specifies that the monkey's latencies are randomly selected from a normal distibution, with a mean of 200 milliseconds and standard deviation of 10. Each response is 95% likely to be correct.
<monkey>
/ latencydistribution = normal(200, 10)
/ percentCorrect = 95
</monkey>
The following specifies that the monkey's latencies are randomly selected from a uniform distribution ranging from 0 to 1000 milliseconds. Each response is 50% likely to be correct.
<monkey>
/ latencydistribution = uniform(0, 1000)
/ percentCorrect = 50
</monkey>