Skip to content

A platform for measuring visual working memory based on Luck and Vogel's test.

License

Notifications You must be signed in to change notification settings

CarolinaMPereira/Visual-Working-Memory-Test-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL-3.0 Last release

Visual Working Memory Test Tool

Visual Working Memory (VWM) is the short-term memory associated with cognitive tasks, namely the retention of visual information between eye fixations. This Visual Working Memory Test Tool is a ReactJS App that measures VWM through an Image Change Detection task adapted from Luck and Vogel's study.

This free tool allows to measure VWM through a customizable change detection test.

Preview

The image change detection test consists of a sequence of images with colored squares as shown bellow:

VWM Test Tool Demo

Saved Data

user_id: Participant's unique identifier.

vwm_capacity: Visual Working Memory capacity (K) resulting from K = S(H-F), where S is the set size, H is the hit rate and F is the false alarm rate.

size4_score: Number of correct answers for sets of size 4.

size8_score: Number of correct answers for sets of size 8.

size4_hit_rate: Proportion of trials where a change trial was correctly identified as a change trial for sets of size 4.

size8_hit_rate: Proportion of trials where a change trial was correctly identified as a change trial for sets of size 8.

size4_false_alarm: Proportion of trials where a no change trial was incorrectly identified as a change trial for sets of size 4.

size8_false_alarm: Proportion of trials where a no change trial was incorrectly identified as a change trial for sets of size 8.

correct_answers: Correct answer for each trial. True if it is a change trial, False otherwise.

user_answers: Answers given by the user. True if user identified a change trial, False otherwise.

set_sizes: Sizes of the trials.

duration: Time spent taking the test in seconds.

Run the application

In order to save results in the PostgreSQL database, please create a .env file as shown in the sample provided.

Clone the repository and open the folder:

git clone https://github.com/CarolinaMPereira/Visual-Working-Memory-Test-Tool.git
cd Visual-Working-Memory-Test-Tool

Initialize backend:

cd backend
npm i
npm run start

Initialize frontend in another terminal tab:

cd Visual-Working-Memory-Test-Tool/frontend
npm i
npm run start

Open http://localhost:3000/ in your web browser.