up Inquisit Language Reference

monkey element

The monkey element enables you to customize the performance of the Inquisit test monkey.

Syntax

<monkey>
/ latencydistribution = constant(mean) or normal(mean, sd) or uniform(min, max)
/ percentcorrect = integer
</monkey>

Properties

monkey.maxlatency
monkey.meanlatency
monkey.minlatency
monkey.monkeymode
monkey.percentcorrect
monkey.sdlatency

Functions

None.

Remarks

For help on using the monkey, see How to Test an Experiment. Please treat the monkey kindly.

Examples

The following specifies that the monkey's latencies are randomly selected from a normal distibution, with a mean of 200 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 100 to 500 milliseconds. Each response is 50% likely to be correct.

<monkey>
/ latencydistribution = uniform(100, 500)
/ percentcorrect = 50
</monkey>

The following specifies that the monkey's latencies are always 250 milliseconds. Each response is 75% likely to be correct.

<monkey>
/ latencydistribution = constant(250)
/ percentcorrect = 75
</monkey>

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