Theme 6: Open Source Software for Cognitive Science

Smile logopsiTurk logo: the letters PSITURK being built with scaffolding
Much of our research depends on behavioral experiments that people complete in a web browser. These experiments are interactive programs: games, physical simulations, question-asking tasks, and learning tasks that unfold over many trials. Building them well takes real software engineering, and we think the tools for doing it should be open, shared, and reusable, so that other labs can run the same experiments and check our results.
For that reason the lab writes and maintains open-source software for running experiments online. All of it is on our GitHub page.

Smile #

Smile is our current framework for building online experiments. It is built on Vue.js and modern web tooling, and it prioritizes modularity and reuse: an experiment is made from components that can be shared between projects. Smile is designed for researchers who can program (or work with AI coding assistants) and want to build rich, interactive experiments in less time. The documentation covers how to start a new experiment, and the code is at github.com/nyuccl/smile.

psiTurk #

psiTurk is an open-source platform we developed for running replicable behavioral experiments on Amazon Mechanical Turk. It handled recruiting participants, serving the experiment, and storing data, and it was used by many labs (see Gureckis et al., 2015). Mechanical Turk has since been shut down, so new projects in the lab use Smile instead.