Impossible to Constrain loop
I am creating a “quiz” about fictional profiles in my experiment. I would like to constrain the number of questions displayed per profile, but I can’t manage to do so. I would really appreciate if some could help me.
In my experiment, I have 6 fictional male profiles (man A; man B, man C, man D, man D, man F) and 6 fictional female profiles (woman A, …, woman F).
At one point, I want to display, one at a time, each profile picture with either a true or a false statement (placed underneath the picture). Then the participant has to respond by either true or false to the statement (by pressing p for a true statement or by pressing e for a wrong statement).
However, I would like to display only one of the two statements per profile not the two (for example, if the first statement to be displayed for man A is the true one, I don’t want the false statement of man A to be displayed in a following later. The same is applicable if the first statement is the false one, I don’t want the true one to be displayed later).
So, I have created such a “quiz” (using loop, sequence, sketchpad, keyboard response, logger) that seem to work. In my loop, I have created 4 variables: gender (man, woman); id (a, b, c, d, e, f); statement (true, false); correct response (p, e). Please see the attached picture for a screenshot of the loop.
The problem is that I always end up with 24 trials, with the two statements being displayed per profile (once at a time, and in a random order) but I only want one of the two statements (so 12 trials in total).
In the script, I tried to use the following command: constrain id maxrep=1, but the command seems to be ignored.
I tried different other things but nothing works, I always have 24 trials in my loop.
It would be really much appreciated if someone could help me with it.