Hi guys,
i am very new when it comes to psychopy and pavlovia. I already made up my experiment and uploaded it to pavlovia.org. In the pilot mode it works perfectly fine now but I am not sure if this is the same for the running mode.
I have a code component which puts id´s with an even id into one group and participants with an uneven id into another group.
This is the code: (javascript):
let teilnehmer_id = expInfo[‘participant’];
let letzte_ziffer = parseInt(teilnehmer_id.slice(-1));
if (letzte_ziffer % 2 === 0) {
gruppe = 0;
video_file = “res/BhramariPranayamaVideo.mp4”;
} else {
gruppe = 1;
video_file = “res/StillesSitzenVideo.mp4”;
}
Will this work in the running mode as well? How is the ID generated in the running mode? I didn´t find any informations about this online.
I will have roundabout 90 participants so I don´t want to put in the participant ID manually in every link.
I hope someone can help me. Thanks in advance!

