Skip to content

jspsych/experiment-demos

Repository files navigation

experiment-demos

Repository for hosting working experiments created in jsPsych.

Experiments should be based on already published work, with an emphasis on well-known/influential studies - this is not the place for new studies.

We have two goals with this repository:

  1. Supporting Education in Experimental Psychology by providing a set of experiments that can be hosted online so that students can collect behavioral data from themselves and each other, and analyze the data, as a part of lab and programming courses.
  2. Supporting new research with jsPsych by providing inspiration and a starting point for researchers interested in using jsPsych to develop new studies.

How Do I Contribute an Experiment?

  1. Raise an issue here to announce the experiment that you plan to contribute. Provide enough detail so that your other contributors can know which experiment you are planning to do. After you have raised the issue, maintainers will apply label "DemoTaskDevelopment" and assign you to the issue.
  2. Make a branch of the experiment-demos repository. Add your new experiment as a subfolder at the top-level. Please read the guidelines for contribution carefully. If this is your first contribution you can also add your name and github to the list of contributors.
  3. Make a pull request. Other contributors may reach out to you about adaptating or optimizing the experiment.

How Do I Test an Experiment?

Simply clone the repository or download the files to your local machine. Each experiment (or in some cases: set of sub-experiments) lives within in its own self-contained folder. Opening the index.html folder in your browser will launch the experiment.

How Do I Collect Data Using an Experiment?

Cognition.run

...

Pavlovia

...

Self-hosting

...