URL of experiment: https://run.pavlovia.org/jens.boelte/ankerexp1/html
Description of the problem: The old/new items are not randomized in the requested order. I am trying to program an anchoring-experiment. The old/new items should appear in a pseudo-randomized order. The pseudo-randomization works offline, but not online. Online always the same sequence is being used. I am using this code-element to shuffle the items in the order I want.
Suggestions are heartly welocme.
I’d like to a look. Could you share the project with me? My Pavlovia username is tpronk
@JensBoelte On it, thanks for flagging, @thomas_pronk don’t worry about it for now, thanks, x
sorry, I added the wrong url it is not the anchroing experiment but the ChangeBlindness-Experiment and the FalseFriend-Experiment. I am preparing too many experiments at the moment.
@sotiri and @thomas_pronk.
I think that we have identified the problem. If we change the line
trialList: TrialHandler.importConditions(psychoJS.serverManager, (AbrufListe + ".xlsx"), index),
trialList: TrialHandler.importConditions(psychoJS.serverManager, (AbrufListe + ".xlsx"), index.toString()),
the randomization works.
Dear @JensBoelte, alright thanks for the update. Without getting too technical,
TrialHandler.importConditions() is open to having a selection argument independent of type. Whether you feed in the
index array as is or converted to a string like you describe should make no difference. I believe there is more to the issue. Please consider my reponse on GitHub for details. Cheers, x
Let’s keep the discussion on GitHub.