https://github.com/cty20010831/incomplete_drawing_task

This repository stores the JsPsych code for setting up the experiment for my MA thesis at UChicago.

https://github.com/cty20010831/incomplete_drawing_task

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

This repository stores the JsPsych code for setting up the experiment for my MA thesis at UChicago.

Basic Info
  • Host: GitHub
  • Owner: cty20010831
  • Language: JavaScript
  • Default Branch: main
  • Size: 98.2 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

incompletedrawingtask

This repository stores the JsPsych code for setting up the experiment for my MA thesis at UChicago. It utilizes Cognition.run to run the experiment and store participants' responses on the server provided by Cognition.run and further allows users to download the data in json format.

Hosting and Running the Experiment Website

In order to stream the three large-size videos, I used the team account from Akram Bakkour's lab to clone this github repository to Cognition.run.

From the participants' side, they can participate in this experiment by clicking the experiment website hosted by Cognition.run web server.

After participants have completed the experiment, their submitted response will be available on incompleteshapedrawing task section on Cognition.run homepage (team account from Akram Bakkour's lab), allowing me to download json-format data (see the example output data).

Github Repository Navigation

The following is the directory layout of this repo:

.
├── \.github/workflows                     # deploy website via Cognition.run       
├── \public
    ├── \images                            # folder to store incomplete shapes and SAM Arousal and Valence Images
    ├── \jspsych                           # folder to store jspsych css and javscript files, alongside plugins used in this study
    ├── \videos                            # folder to store videos for mood induction
    ├── public/mood_creativity.html        # html file of the experiment webpage
├── .gitignore
├── README.md
├── reshape_imcomplete_shape_stimuli.py    # python script to reshape incomplete shape stimuli images to the target size
├── sample_output.json                     # sample output data
├── sample_response.gif                    # sample response using the website

Mood Induction Videos

The three mood induction videos (for positive valence and high arousal, positive valence and low arousal, and neutral conditions) are stored in Google Drive.

Resize the Incomplete Shape Stimuli

In order to match the shapes of the incomplete shape stimuli (and also make them consistent) and that of the canvas size of jspsych sketchpad plugin. I used the python script reshape_imcomplete_shape_stimuli.py to resize the incomplete shape stimuli images. bash python3 reshape_imcomplete_shape_stimuli.py

Adjust sample output and resonse later!!

Owner

  • Login: cty20010831
  • Kind: user

GitHub Events

Total
  • Push event: 11
Last Year
  • Push event: 11

Dependencies

.github/workflows/cognition-github-actions.yml actions
  • actions/checkout v3 composite
  • javidalpe/cognition-deploy-action v1.1.2 composite