up Inquisit Language Reference

percentcorrect attribute

The percentcorrect attribute controls the accuracy with which Inquisit's test monkey responds.

Member of

<monkey>

Syntax

/ percentcorrect = integer

Parameters

integer An integer from 0 to 100 specifying the expected percentage of correct responses.

Remarks

By default, the monkey accuracy is the number of correct responses divided by the number of valid response.

Examples

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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.