The percentCorrect attribute controls the accuracy with which Inquisit's test monkey responds.
<monkey>
or
/ percentCorrect = expressionName | Type | Description |
---|---|---|
integer | integer | An integer from 0 to 100 specifying the expected percentage of correct responses. |
expression | value | An expression resolving to an integer from 0 to 100 specifying the expected percentage of correct responses. |
By default, the monkey accuracy is the number of correct responses divided by the number of valid response.
The following specifies the monkey's latencies are randomly selected from from a normal distibution, with a mean of 200 milliseconds and standard deviation of 10. Each response is 95% likely to be correct.
<monkey>
/ percentCorrect = normal(200, 10)
/ percentCorrect = 95
</monkey>
The following specifies the monkey's latencies are randomly selected from a uniform distribution ranging from 10 to 50 milliseconds. Each response is 50% likely to be correct.
<monkey>
/ percentCorrect = uniform(10, 50)
/ percentCorrect = 50
</monkey>