Requesting feedback on a new online experiment platform #754
Replies: 43 comments 92 replies
-
I haven't tried the internals, but I think that homepage looks gorgeous! |
Beta Was this translation helpful? Give feedback.
-
@javidalpe this is amazing! I'm honestly just blown away at how smooth and easy this is to use. The task preview and data preview are fantastic. The automatic plugin detection is a neat trick. (Note that in some very advanced cases the type parameter could be a function or a timeline variable that's updated at runtime, so for completeness you may want to allow users to manually include a plugin. This is also true if someone has a custom plugin that's not part of the official build.) One thing that would be really nice would be the ability to sync with a git repo so that someone could take a task that was developed in another context and bring it in quickly. That might be really tough to configure given the way you've set things up. I'd at least like to be able to get my task code out of your IDE so I can do things like publish a public version of the code on the Open Science Framework. I've been thinking about developing a freely hosted platform like this for sometime now and I'm thrilled that you've made that obsolete! A million thanks. This is a true game changer! I'm worried that this might get more traffic than you are anticipating and the hosting costs might jump significantly. Do you have a plan in place for that? |
Beta Was this translation helpful? Give feedback.
-
Incredible website/platform, @javidalpe! I've been doing something similar, mostly because I'm trying to learn how to set up a noSQL/mongo database and use jsPsych. I just tried a few of my jsPsych studies on it and it works really well. Thanks also to @jodeleeuw for this amazing library (and great documentation)—it's so much more intuitive than any other library/package I've used (e.g., PsychoPy). Clearly a lot of thought has gone into making this library. Thanks again to both of you for your incredible work! |
Beta Was this translation helpful? Give feedback.
-
I think this is a great initiative and a very nice addition to jsPsych. To give a bit of feedback, first, I'd like to second what others have said above and this in particular:
And second (and somewhat related to this), I would also encourage adding the possibility of uploading a flavored jsPsych library as part of the experiment. Sometimes an experiment relies on fixes that are only present in master, or even in not yet accepted pull requests, so having such option would add flexibility if/when needed. |
Beta Was this translation helpful? Give feedback.
-
I have a bit of feedback but mainly just want to echo what everyone else has already said - this is AMAZING! The whole code-preview-data IDE is fantastic. I love it. I'd like to second this comment from Josh:
I frequently use custom and modified plugins, so this would be important for me. Although it looks like that might be possible from inside the Advanced Editor, where it says "External libraries", as it looks like this allows you to add any .js or .css file. Is that right? (Sorry that I haven't had a chance to try this yet). Also, I didn't see a T&Cs section anywhere - did I miss it? I wonder if you should add something saying that you're not liable for misuse of the platform, e.g. if someone runs a study without ethics approval. Admittedly I know nothing about this sort of legal stuff, so might not be an issue. Regarding the hosting costs and time spent on server admin, I wonder if people can help support this platform somehow. Maybe you could add a donation area/link onto the site? Is there anything else that the jsPsych community could do to contribute? |
Beta Was this translation helpful? Give feedback.
-
this looks excellent! i'm leading the causality in cognition lab at stanford and we are currently using psiturk to run our experiments (hosted on an AWS server). i'm considering switching to cognition.run + jsPsych. however, here are some features that are critical for me, and i was wondering if these could be implemented:
|
Beta Was this translation helpful? Give feedback.
-
Hello, I have just discovered Cognition.run this past week and let me say THANK YOU!!! A god send, life-savior, you all are amazing! I recently tested my code with cognition.run and I did experience a few issues, all that were solvable in one way or the other (technical and nontechnical). I'll share my initial experience in hopes it might help you guys as well! Issues and Feedback:
Luckily there is a solution, where I just added this code to the cognition.run javascript interface:
Thank you guys for all your awesomeness. Without jspsych, without cognition, run, without all the helpful collaborators on here... I would not be where I am with my thesis during this pandemic. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Wow, what a great tool! I know a number of linguists who work in somewhat remote areas and are interested in running experiments on mobile devices - this makes it easy. |
Beta Was this translation helpful? Give feedback.
-
Thanks @javidalpe for a very awesome tool! I have an issue not regarding the software itself which is great. Also, I tried looking for a way to contact you in the cognition.run website but couldn't seem to find any way to do so. So this will be great as well :) Again, thank you very much for all your work! |
Beta Was this translation helpful? Give feedback.
-
Thanks @javidalpe this site is really fantastic. One request, if possible: would it be possible to allow the stimuli part of an experiment to have a folder structure? It seems right now that stimuli have to be a flat list of all the items. For experiments with lots of audio/images etc. this gets unwieldy quite quickly and also usually entails rejigging paths in the task since during development such files are likely in folders. |
Beta Was this translation helpful? Give feedback.
-
Really great website! jsPsych.init({
timeline: [introduction_procedure,practice_procedure, trial_procedure],
on_finish: function() {
alert("The experiment is over. Thank you for your participation!");
}
}); Do you know of anything that can explain this? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello! This is amazing! I actually heard about Cognition.run before hearing about jsPsych, so a million thanks to both of you for these resources! This is exactly what i need to get some cognitive research off the ground. I have programmed an experiment that runs locally as expected, but I can't seem to get it to run in Cognition.run. The three issues that seem to pop up in developer view are screen shotted below. Any idea how I can debug this? Additionally, I can share more information about my script if needed! THANK YOU! |
Beta Was this translation helpful? Give feedback.
-
Hi @javidalpe Thank you for creating this framework!
However in my Cognition.run experiment, the function looks like this:
Am I using the wrong library? I have currently set it to 6.1.0 Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello! I am hoping to use JsPsych + Cognition.run to run an experiment using my campus's participant pool (SONA systems). Pavlovia and some other systems have integration features with SONA to allow for this type of data collection, and I'm wondering if there is either a way that I can do that (integrate with SONA so that students receive credit for participation) with the program in its current form, or if that might be possible to include in later versions. Please let me know! Thanks SO much!!!!!!! |
Beta Was this translation helpful? Give feedback.
-
@javidalpe Thank you so much for creating such wonderful platform! i enjoy it so much!! really appreciate your efforts! I am testing my online experiment now and encounter some problems, probably due to the images preloading. In my experiments, participants are required to judge 109 faces' trustworthiness by using a 9-point scale. It's a very simple experiment and the codes are tested perfectly in my local desktop computer, but when I run the codes on Cognition, I found there are abnormal time lags between stimuli. I don't know how I could tackle this problem as the codes are ok in my local desktop computers. Here is the link of my experiment Could you please help me? |
Beta Was this translation helpful? Give feedback.
-
@javidalpe thank you so much for providing cognition.run, and thanks @jodeleeuw for the jsPsych library. I just published an experiment for my master thesis and unfortunately, several people contacted me that the experiment does not load. They reach the consent form but the preloading of images and videos does not start. Instead, they receive an error message "the experiment failed to load" (reopening and/or changing browser does not help). If you have any idea how to fix that I would highly appreciate your help. |
Beta Was this translation helpful? Give feedback.
-
@javidalpe, it seems like when I download the results as a zip file, the individual csv files in the zipped folder don't contain the extra columns with browser info (e.g., |
Beta Was this translation helpful? Give feedback.
-
hello @javidalpe - there seems to be an issue for me accessing the "configuration" portion of my tasks. I have people taking my experiments (even though I am no longer sending out links), so I would like to disable them. Is there a way around this? |
Beta Was this translation helpful? Give feedback.
-
For those who have had problems downloading data or have experienced stability problems: I'm happy to announce a revamp of the Download Data feature. Some highlights:
If you are curious about root of the issue, there was a bottleneck in the server. The server was downloading all CSV in memory and running the merge/zip operations. With large experiments the server was unable to respond in a proper time, and at the same time was blocking other requests. Now the download and the merge/zip operation happen entirely in the browser. This require some extra CPU from the user but greatly frees up the server. |
Beta Was this translation helpful? Give feedback.
-
@javidalpe Cognition.run is a great tool, and i've enjoyed using it so far. I do however have one particular frustration, namely that sometimes your code is not properly saved. |
Beta Was this translation helpful? Give feedback.
-
Hey @javidalpe! |
Beta Was this translation helpful? Give feedback.
-
Hi, I pasted my javascript but doest work: the task is not ready yet. My script: <title>WM Digit Span</title> <script src="jspsych-6.0.4/jspsych.js"></script> <script src="jspsych-6.0.4/plugins/jspsych-html-keyboard-response.js"></script> <script src="jspsych-6.0.4/plugins/jspsych-digit-span-recall.js"></script> <script src="jspsych-6.0.4/plugins/jspsych-survey-text.js"></script> <script src="jspsych-6.0.4/plugins/jspsych-instructions.js"></script> <script src="jspsych-6.0.4/plugins/jspsych-fullscreen.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/jstat@latest/dist/jstat.min.js"></script> <script>/* //----- CUSTOMIZABLE VARIABLES ----------------------------------------- nTrials = 14 // number of trials in the test //---------------------------------------------------------------------- possibleNumbers = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] //possible digits participants can get var selection = jsPsych.randomization.sampleWithoutReplacement(possibleNumbers, minSetSize) //chooses random digits // keeps track of participant's scores: // first page. identifies participant for data storage // instruction page INSTRUCTIONS "This is the digit span task. In this task, you will have to remember a sequence of numbers presented on the screen one after the other. At the end of each trial, enter all the numbers into the onscreen number-pad in their correct order. Example: if the sequence is '7 4 5 1', enter '7 4 5 1' in this exact order. You will now be given practice trials to help you understand the task. Press 'Next' to start the practice trials. return [pageOne] }, allow_backward: false, button_label_next: "Next", show_clickable_nav: true } var instructions_node = { You have completed the practice trials. "If you have further questions about the task, ask the researcher now. If you are clear about the task, click 'Next' to proceed to the main trials. return [pageOne] }, allow_backward: false, button_label_next: "Next", show_clickable_nav: true, on_finish: function(){ minSetSize = 3 selection = jsPsych.randomization.sampleWithoutReplacement(possibleNumbers, minSetSize) } } var test_stimuli = { '+selection[selection_id]+' '}, choices: jsPsych.NO_KEYS, trial_duration: stimuli_duration, on_finish: function(){ if (selection_id + 1 >=selection.length){ jsPsych.endCurrentTimeline() } } } var recall = { var feedback = { Correct '} else { text += ' Incorrect '} //text += ' New trial starting now. return text }, choices: jsPsych.NO_KEYS, trial_duration: 1000 } var conclusion = { You have completed the task. 'Thank you for your participation in this task. Maximum number of digits recalled correctly was ' + highest_span_score +'. Maximum number of digits reached before making two consecutive errors was ' +consec_error_score+'. Please tell the Research Assistant you have completed the task. }, choices: jsPsych.NO_KEYS // trial_duration:1000 } var test_stack = { var test_procedure = { var demo_procedure = { function saveData(filename, filedata){ var IDsub = Date.now() var dataLog = { timeline = [p_details] jsPsych.init({ |
Beta Was this translation helpful? Give feedback.
-
@javidalpe Such an incredible tool, huge respect! Definitely makes things a whole lot easier :) There is one thing I'm having a bit of trouble with - and that's the I've tried several options incorporating the However, in this case, the experiment itself (i.e., when entering through the provided url) always lands on the second condition. Could it be that the In any case, I've tried to go about it in different ways, and failed each time. I would love to know what it is I'm missing here and what is the proper way to use the Many many thanks! |
Beta Was this translation helpful? Give feedback.
-
@javidalpe Hey! I have a question less focused on code, but rather on the specifics of cognition.run. At the moment we're running a Task where we shared the link directly on public platforms with potential participants. In that process many people just clicked the link and then closed the website, and a bot also opened it. Is there a risk, if we continue that strategy and collect that many unfinished trials, that the site will crash? Is there a limit to the possible unfinished trials? Or should we duplicate our task and start not to share the link publicly? I'd be grateful for any hints, and hope that the matter is comprehensible! |
Beta Was this translation helpful? Give feedback.
-
@javidalpe, congratulations for the excellent work you did. In the meantime, I would like to ask, if you could share a little bit more on the procedure behind the csv files, I'd like to know at what moment you do it (and how if possible) as I would be interested in doing some manipulations to the dataStructure (for a specific project) before saving the CSV. thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi, does anyone know of a way to host my study on cognition.run and then integrate this with a qualtrics survey? |
Beta Was this translation helpful? Give feedback.
-
Redirect links work great. You can implement a redirect from Qualtrics to
cognition (also including URL parameters to keep track of subject ID’s).
From cognition you can also redirect back to Qualtrics. Let me know if you
can’t find a guide on Google.
Cheers,
Neil
…On Wed, 28 Jul 2021 at 16:16, Max Lovell ***@***.***> wrote:
Hi, does anyone know of a way to host my study on cognition.run and then
integrate this with a qualtrics survey?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#754 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APRI3IQ3B2BMRX7DO4W72ZDT2AGMPANCNFSM4N3V7AUQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I’m trying to embed my cognition.run experiment into a qualtrics survey with an HTML iFrame, as suggested here: https://community.qualtrics.com/XMcommunity/discussion/15331/redirects-to-external-sites-from-qualtrics-survey-and-back-again. This works using |
Beta Was this translation helpful? Give feedback.
-
Loving Cognition.run and plan to use it for my student projects this year! Is there an easy way to batch delete stimuli? |
Beta Was this translation helpful? Give feedback.
-
Hi folks. I've added a cognition.run label to our discussions now. If you would like to post a question about cognition.run I recommend adding a new discussion topic instead of posting to this one, and we'll mark it with the appropriate label. |
Beta Was this translation helpful? Give feedback.
-
TL;DR I just released https://www.cognition.run/ a free platform to help scientists to run online experiments using jsPsych. I need your feedback!
First, I would like to thank @jodeleeuw for this amazing library. As an experienced engineer not related to science, I have to say that this library is first-class: easy to understand, easy to implement, easy to integrate, and very well maintained. If I had to program a cognitive experiment, I'd choose this library with no doubts!
I'm presenting cognition.run, a platform to run online cognitive experiments using jsPsych.
How does it work?
Why?
My wife is a neuroscientist researcher in California. She used to create/design her experiments using Psychtoolbox (Matlab), but now she has to move her experiments to online due to the COVID-19 situation. She was looking for good alternatives, so she asked me for help, and then I found jsPsych. I fall in love with this library, but I couldn't find an easy solution to connect the front with a backend, so I decided to start this simple PHP+Bootstrap theme+Mysql project to help others.
Beta Was this translation helpful? Give feedback.
All reactions