up Inquisit Language Reference

monkey element

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

Attributes

<monkey>
/ latencyDistribution = distribution(...)
/ latencyDistribution = constant(mean)
/ latencyDistribution = normal(mean, sd)
/ latencyDistribution = uniform(min, max)

/ percentCorrect = integer
/ percentCorrect = expression

</monkey>

Properties

monkey.maxLatency
monkey.meanLatency
monkey.minLatency
monkey.monkeyMode
monkey.percentCorrect
monkey.sdLatency
monkey.name
monkey.typeName

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>

Copyright Millisecond Software, LLC. All rights reserved.