Randomization and constraints between column
Hi to all,
I'm programming this experiment in Opensesame and I'm struggling with loop constraints.
I have a loop table like this:
which need to be repeated 5 times in random order. What I would like to do is to avoid the successive presentation of the same pairing, such as yourself-a stranger followed by yourself-a stranger. The ideal thing would be something similar to constrain [variable] mindlist, but that can be applied to the pairing.
I also thought about a different approach: I might change the loop table into this:
set repetition to 10 times (to obtain the same number of trials) and use the shuffle function on the identity_2 . But then I would need to avoid the presentation of trials in which identity_1=identity_2 (like, yourself-yourself pairing) and I couldn't find anything like this in the "looping and independent variables" section.
In the forum, I found a solution which basically rewrite the loop in Python, but the experiment will be implemented online and inline_script are not supported.
Thanks in advance,