Files are organized by study, with the exception of the images folder. (**Note that studies 1-7 have been renumbered in the manuscript to 1a-g**) The images folder contains four illustrations of aliens which feature in the instructions of all of the studies. Each study folder (e.g., "Study1") contains a "task" subfolder. Within this subfolder are three files which together form the task:
* index.html
* studycssfile.css
* transitionstudycssfile.css
Javascript managing the task logic is embedded within the index.html file. The index also sources the two CSS files, as well as [jsPsych][1], [firebase][2] (for server support) and [jQuery][3].
Each study folder also contains the data from the experiment in question (.json file) and the R script used to analyze that data (Study[1-N]_analysis.R).
Studies 9 and 10 refer to Studies 2a and 2b in the manuscript, respectively. These directories contain i) the web task ii) stimuli (a only - reused for b), iii) the stimulus generation Rcode (a only - resused for b), iv) the data from the experiment and v) the analysis Rcode.
Study 8 (study 3a-d in the manuscript) consisted of neural network experiments rather than behavioral experiments. The analyses are contained in the jupyter notebooks in that folder. Study 3a in the manuscript is the 3d version, 3b is the 2d version, and 3c is the 1d version. The "hidden states" version is not included in the manuscript. The data for the neural network studies originate from the earlier studies of mental state prediction and situation representation linked to this repository.
[1]: https://www.jspsych.org/
[2]: https://firebase.google.com/
[3]: https://jquery.com/