If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): MacOS 15.2 (24C2101)
PsychoPy version (e.g. 2024.2.4 Py 3.8): the latest
Standard Standalone Installation? (y/n) If not then what?:yes
URL of experiment: cannot share
Do you want it to also run locally? (y/n) no, only online
What are you trying to achieve?: The participant is given a total of 40 words, which come from an Excel file. However, the Excel file contains 80 words. Each test participant randomly receives 40 words from the 20 words of category one (restaurant) and 20 words of category two (non restaurant). The 40 words that each participant receives individually remain the same for the entire experiment. (but are also shuffled for every block)
I have managed to ensure that the 40 words remain the same for each run, but 20 words from each category are not always shown.
What did you try to make it work?:
See both pictures
Link to the most relevant existing thread you have found: Randomisation of word stimuli
What specifically went wrong when you tried that?: I pushed the experiment to Pavlovian and got the following error message: ReferenceError: assignment to undeclared variable currentLoop
. However, I have no variable with the name currentLoop
Include pasted full error message if possible. “That didn’t work” is not enough information.