A live version of the project is available at https://rsvp.latk.de
- Install node.js (https://nodejs.org/en/download/)
- Open terminal/cmd and cd into the project directory
- Run the command "npm i" to install all dependencies
- Start a MongoDB database and put the connection string into the
DATABASE
env variable - On the same command prompt after installing run the app with
node index.js
- Access the site on http://localhost:3000
- Install Docker and Docker-compose
- Run
docker-compose up --build
- this will automatically start a container with MongoDB and another container with the app
- Access the site on http://localhost:3000
Study results & analysis is found in the data/
directory.
The texts.json
file is an export of the data in texts.js
.
Text passages are identified by position.
The files demographics.json
, answers.json
, and text-order.json
are an export of the corresponding database collections.
Each participant was assigned a uid
upon providing consent
and completing the demographics questionnaire.
The participant's text order is in the text-order
collection.
The demographics
contain background info on the subjects,
compare views/demographic.ejs
for the corresponding questionnaire.
_id
,__v
: ignoreuid
: participant iddate
: timestampageRange
englishLevel
vision
source
: whether participant was a student from the same coursersvpExperience
device
light
The answers
contain participants interactions with each text snippet.
_id
,__v
: ignoreuid
: participant IDdate
: timestampinteractions
: counts for different interaction typespassage
: index into that user's text-order arrayposition
: unusedanswer
: response to the comprehension questionreadingDuration
: for the RSVP text including the question, excluding answering of the question
Associating the answer with a text is somewhat indirect. Roughly:
answer = ...
uid = answer.uid
textID = (textOrder WHERE textOrder.uid = uid)[answer.passage]
return texts[textID]
Copyright 2020 Renis Fejzo, Lukas Atkinson, Louis-César Pagès, Bogdan Gabriel Halmaghi, Anik Saha
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.