[solved] Controlling the randomisation of loop variables
Let's say I want a loop which goes through 6 items (A, B, C, D, E and F) randomly. However, there is a constraint that the first item in the loop should be A, B or C and the last item in the loop should be D, E or F; then the middle four elements are random (modulo the items that have already been chosen at the terminals).
How could this be done in OpenSesame?
My understanding is that I would have to split it up into three loops: one for the first element; another for the middle four; and a final one for the last element. I would then have to code some logic into the loop sequence items to ensure items aren't picked more than once (e.g., I could use subject number modulo 3 to determine the first and last, thus knowing what's remaining in the middle; or a permutation matrix generated from a static random seed).