Hi! I am rather new to Psychopy and did some research on conditional branching and found some really helpful links/discourse. However, I still have some queries.
I have an experiment that the participants listen to sound stimuli and press a response key. I would like to create a condition in which if the participant is able to correctly answer 8 out of 12 trials in the practice loop, the participant will then move on to the test round. However, if the participant does not, they will move on to another trial round.
How can I achieve:
- a performance score counter in the experiment for the conditional branching
- a conditional branch of an example such as:
if performancescore >= 8
nRepsA = 0
else
nReps = 4 - both of these together in the experiment and builder view
Is the coding above correct? or is there an easier way to achieve this?