I'm trying to present stimuli in a quasi-random fashion such that the same stimulus CAN appear twice in a row but not more than twice in a row. Any suggestions about how to achieve this? The randomizing options seem to only allow repeats or no repeats, so not clear how to constrain the presentation in this way.
You need to use a <list> element for that, specifically its /maxrunsize attribute. Details can be found in the documentation.
ah, perfect, thanks!