Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digit Span tasks not working for available jsPsych versions #2

Open
prosodactyl opened this issue Mar 8, 2022 · 3 comments
Open

Digit Span tasks not working for available jsPsych versions #2

prosodactyl opened this issue Mar 8, 2022 · 3 comments

Comments

@prosodactyl
Copy link

Hi, thanks for having these openly available! I realize both the forward and backwards digit span tasks were created for version 6.0.2, and I can't get them to run on the more recent versions. I am new to jsPsych, so I'm not sure where the compatibility issue comes from.

@svanhedger
Copy link
Owner

svanhedger commented Mar 10, 2022 via email

@prosodactyl
Copy link
Author

Hi! Thank you so much for the update. I'm able to run the script locally on a computer, but I have tried the script in Cognition and Gorilla, and it's not working. As I'm trying to run the script, I get "The experiment failed to load" error. The culprit seems to be timeline.push(fds_adaptive).

@svanhedger
Copy link
Owner

Thanks for the additional information! The issue then is likely stemming from how the different experiment components are loaded onto those servers specifically.

I just tried playing around with cognition.run and was able to get the task working - I'll attach a screenshot of it, as well as attach an updated .txt file (which you can just paste into the 'Task Code' box). My solution was just to paste the fds_adaptive.js contents back into the script components of the index.html. Make sure you also upload the audio files, as well as the custom css file (as the screenshot shows). I'm reasonably confident that if you paste the attached .js file into Cognition, upload the digits under Stimuli, and upload the 'fds-adaptive.css' file as shown, everything should work!(url
fds_cognition.txt
fds-task
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants