Description of the problem:
I used the following code chunk to randomize participants in one of three conditions:
possible_cond = [1,2,3]; condition_bid = possible_cond[Math.floor(Math.random() * possible_cond.length)]; psychoJS.experiment.addData('condition', condition_bid);
I changed the code by deleting the first condition;
possible_cond = [2,3]; condition_bid = possible_cond[Math.floor(Math.random() * possible_cond.length)]; psychoJS.experiment.addData('condition', condition_bid);
Depending on the condition, participants run through different routines. The code worked fine, but the change to just two conditions is not working. When I pilot the experiment, I still get randomized in condition 1 (even when I set the variable condition_bid = 2). The corresponding js document in git in the html folder adapted the changes I made in the builder.
- deleted cache
- did hard reloads
- tried it at a different laptop where the experiment yet was not tested.
It seems like no changes at all are getting updated online (even changing size of builder created polygons/texts etc.)
Does anyone has an idea what is going wrong?
Thank you very much in advance.