nivlab / jspsych-demos Goto Github PK
View Code? Open in Web Editor NEWjsPsych tasks made by the Niv Lab
Home Page: https://nivlab.github.io/jspsych-demos
License: Other
jsPsych tasks made by the Niv Lab
Home Page: https://nivlab.github.io/jspsych-demos
License: Other
This development of this software was supported in part by the National Center for Advancing Translational Sciences (NCATS), a component of the National Institute of Health (NIH), under award number UL1TR003017.
follow the steps:
for details, see:
Use unpkg to load jsPsych library and plugins. This has two main advantages: (1) simplify the code base by getting rid of the local copy of jsPsych; (2) easier maintenance by simply updating the required library/plugin versions.
This issue came to my (@szorowi1) attention in two separate events. First, I saw independent Twitter threads from Dr. Sebastian Barr and Dr. Sean Mackinnon on the importance of properly measuring and studying gender effects in scientific research. Second, I have been butting up against challenges with how we are collecting gender information (described below) when conducting measurement invariance analyses.
In our current demographics form, we assess gender with a single item, What is your gender?, that has four response options:
This item is inclusive to the extent that (1) we use proper gender terms (i.e. "man" & "woman", not "male" & "female"); (2) we allow participants to self-define their gender if they are uncomfortable with either label; and (3) we allow participants to not report this information at all if they are uncomfortable with doing so.
However, there is a critical issue with the phrasing of this item. Specifically, the phrasing of this item does not distinguish between cisgender and transgender individuals (unless they self-elect to disclose a non-cisgender identity). This is problematic for several reasons, briefly outlined below (for detailed discussion, see Bauer et al. 2017; Fraser, 2018; Cameron & Stinson, 2019):
A second, no-less-serious issue is that, at present, our only response option for nonbinary participants is the "other" category. Though it is good that we allow participants to self-define their gender identity, using the specific word "other" may be offensive or insulting to those participants, as it implicitly reinforces a gender binary.
Fortunately, there has been ample research and discussion on the topic of how to inclusively and validly measure gender (and sex). On DEAR day (2022-11-07), I reviewed multiple manuscripts and resources on the topic. Most authors recommend variations of a two-item approach, which I reproduce below. The two-item approach measures both sex and gender, thereby resolving the ambiguity of a standalone gender identity item. Furthermore, all authors recommend a separate response for nonbinary / genderfluid participants.
TransHub Australia, a digital information and resource platform for all trans and gender diverse people in New South Wales, recommends the following two items:
Bauer et al. (2017) recommend the following two items:
The authors are writing in the context of investigating gender in the general population of Canada, hence the recommendation of additional response options for Indigenous peoples. The authors also suggest an optional third item:
Fraser (2018) recommends the following two items:
After reviewing reading these papers, my current recommendation is to adopt something similar to the TransHub items:
Though I recognize the free-response approach recommended by Fraser (2018) provides the most freedom to participants, it also requires more work of researchers in our lab and increases the possibility of accidentally misgendering participants (i.e. when coding their responses).
If the above seems reasonable to the lab, I will make the recommended changes to our demographics form.
Convert all jspsych tasks from v6.3 to 7.0+
update categories to "Man" and "Woman"
Recent changes were made to the online experiments IRB (11986) that require changes to the Niv lab consent form. Specifically, the following needs to be updated /tasks/consent/niv.html
.
As of December, 2022, the following questionnaires have been approved under the online experiments IRB (11968), but have not yet been added to jspsych-demos:
These questionnaires should be added to this table. Ideally, jsPsych code should be made available for each scale. Placeholder code can be written if need be.
Move to CC BY-NC-SA 4.0 license
The mental health resources plugin (tasks/self-report/jspsych-mental-health-alert.js
) needs to be updated to reflect the latest changes to the online experiments IRB (11968).
Standardized self-report measure of task difficulty and participant ability:
https://humansystems.arc.nasa.gov/groups/tlx/downloads/TLXScale.pdf
Would be great to make a plug-in for this.
add parameter in survey template plugin such that self-report survey may be scored using non-0 indices.
As the title suggests, transfer the Ravens progressive matrices code from nivturk-templates to jspsych-demos.
Would be nice to add some jsPsych tutorials as part of the resources tab. All should feel free to suggest below.
after reading Pokropek et al. (2023), I was thinking it might be nice to add "areas of interest" to the survey-template
plugin. the basic idea is to divide the screen into objects (e.g., survey instructions, item prompts, item responses) and track how/when each of these objects is interacted with. not only might be this helpful for detecting C/IE responding, but also might provide insights into participants' response processes (e.g., linearity of item responding, doubling-back, time taken per item). when paired with other design features (e.g., masking/blurring items unless hovered over), this could allow for a more accurate measure of per-item response times.
(some alternative ideas might simply be to present each item, one at a time, with an ability to navigate between items)
Add a new page that points to libraries of stimuli that may be useful for the lab
for 7.0 version to init the jspsych object
replaced by niv lab internal resources page :)
remove all of the redundant jspsych libraries
It would be useful to a changelog file to make it more clear what changes with each commit, when it changed, and why it changed.
Example templates: https://gist.github.com/juampynr/4c18214a8eb554084e21d6e288a18a2c
Changelog generators: https://github.com/github-changelog-generator/github-changelog-generator
Add page for additional online resources, including:
After the update to jsPsych v7+, the symmetry span task has not worked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.