The Experiment Factory is an open software framework which aims to address the technological barriers to replication in psychology and behavioural science. This talk will demonstrate how the framework can be used to rapidly create and deploy a study in the lab and online.
- Avoid programming altogether by creating a study from freely available experimental tasks, surveys and games
- Use jsPsych to develop your own experiments and surveys that run in a browser. (This is relatively easy if you have experience with ePrime, PsychoPy, OpenSesame etc.)
- Deploy your study locally or online using Docker, with data written to files or a database
- No code sharing, Procedure section should be executable
- Same study, different code (different bugs!)
- Unreliable code == unreliable data
- Everybody writes tests, right?!
- Open Science (software, data)
- Experiment development tools: PsychoPy, OpenSesame, Psychtoolbox, jsPsych
- Collaboration: git(hub)
- A software development algorithm
- Find something that does what I want
- Find someone to do what I want
- Find someone to help me do what I want
- DIY
- copy, Stack Overflow, Google
- think
Github repositories containing experiments, surveys, and games
- Can be run stand-alone or via a web server
git clone [email protected]:expfactory-experiments/test-task.git
python3 -m http.server 9999
- Surveys are simply TSVs
- Experiments are anything you can do with HTML, CSS and JavaScript, but easiest using jsPsych
- Productivity
- Low bar to producing new tasks
- Quality control
- Continuous integration testing
- Acceptance Testing with Selenium
- Distribution
- Containers are simple to distribute and can contain anything e.g. PsychoPy, OpenSesame, Psychtoolbox, ePrime?!
Sochat, V. V., Eisenberg, I. W., Enkavi, A. Z., Li, J., Bissett, P. G., & Poldrack, R. A. (2016). The Experiment Factory: Standardizing Behavioral Experiments. Frontiers in Psychology, 7. https://doi.org/10.3389/fpsyg.2016.00610
Whilst the objectives in this paper remain the same, this is a fast-moving project and many of the technical elements have been superceeded by the latest version of the software.