Comments (9)
Hi to run this experiment on cognition.run, do the following:
- Create an account and a new task.
- Click on Source Code of the task
- Upload all supporting .js and .css files--these are in the plugins and css folder within the jspsych-6.0.4 folder. From the css folder, only upload jspsych_digitspan.css (uploading all the other css files for other tasks will mess up the formatting).
- Change the jspsych library version to 6.0.5
- Copy paste all code that is within the <script> tags from digit_span_task.html.
- If you don not want your participant's data to be downloaded to their local computer, comment out line 226--timeline.push(dataLog)
This is the task I created just now following the above steps: https://1plpk9wavy.cognition.run/
You can similarly create your own task!
Let me know if you have more questions.
from working_memory_tests.
I did what you said in order but it says that the task is not ready yet. Maybe it need to upload the stimuli? if yes, where can I find the stimuli?
from working_memory_tests.
And what should I do if want to add more stumuli with longer digits until 10 digit in each trial for example 123456778 1235589076
from working_memory_tests.
There is no stimuli for the digit span test. Maybe change the jspysch library version to 6.0.5? I have edited the steps above to include this
from working_memory_tests.
Hello!
I tried your code in the cognition run. It gives an uncaught error in line 285. Also, I didn't in general realized what this line is supposed to do.
partN = partN.replace(/['"]+/g,'')
from working_memory_tests.
Hi!
Which task are you attempting to run? The digit span test does not have a line 285! Here is a backward digit span test that is working for me on cognition.run: https://1plpk9wavy.cognition.run
The line that you pasted above (partN = partN.replace(/['"]+/g,'') simply removes extra quotation marks around the participant name/id. When the task starts, participants are prompted for their id--the previous line (partN = jsPsych.data.get().last(1).values()[0].partNum) stores the input as partN and the current line cleans extra quotation marks around that input. Does this make sense?
If you do not need to store participant id, change line 216 to timeline = [] and comment out line 226 (timeline.push(dataLog))
from working_memory_tests.
from working_memory_tests.
Please make sure that you have copy pasted the script from digit_span_task.html properly (step 5 above). You need to copy everything after the <script> tag (from line 16 onward) and before the </script> tag (before and including line 235).
And ensure that you have appropriately added all the supporting files (step 3 above).
Please let me know if it starts working.
from working_memory_tests.
I cannot see the image that you have posted and I am therefore unsure what error you are running into.
from working_memory_tests.
Related Issues (4)
- backward digit span task HOT 1
- Longer digit span HOT 1
- operation span
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from working_memory_tests.