Standardization of stimulus
data property across plugins
#3145
Replies: 1 comment 5 replies
-
Hey @jessestorbeck and @jkhartshorne, All of the values that are collected by all plugins are things that the plugin code doesn't have to implement. They are basically core jsPsych data properties that are stored with each trial's data. Adding something like I'm also not sure there's a reason to elevate stimulus to a required parameter from a purely jsPsych perspective. My quick count is that less than half of the plugins that are part of the core repo have this property. Some of those could certainly support it but don't, while for many others it isn't clear what the value should be. Is there a reason you need to include something like this in your backend other than supporting your current implementation? I'm trying to figure out what the advantage would be for other backend-devs and why having this particular parameter standardized would be useful. |
Beta Was this translation helpful? Give feedback.
-
We over on the Pushkin team with @jkhartshorne ran into an interesting issue this week where a particular plugin wasn't sending data to our database. The problem turned out to be that the plugin in question (unlike the seeming majority of jsPsych plugins) does not produce a
stimulus
data property, which our backend code expects.For database purposes, we would like to continue to keep a dedicated
stimulus
column. We were wondering if jsPsych might consider addingstimulus
to the list of data collected by all plugins. For plugins like animation, this would require renamingstimuli
tostimulus
; for others like fullscreen,stimulus
would probably just get a default value.Our temporary fix is of course to insert a
stimulus
property if the plugin doesn't provide one, but perhaps you'd consider standardizing this across plugins, as it already holds for most(?) of them, and this feature might be advantageous to others (besides us) who are working on backends for jsPsych.Beta Was this translation helpful? Give feedback.
All reactions