From 79451a4474de0ee02ea5718e134e38b4d75c958b Mon Sep 17 00:00:00 2001 From: Chazum <72999867+Chazum@users.noreply.github.com> Date: Thu, 8 Jun 2023 09:52:44 -0400 Subject: [PATCH] add tags for important trials --- experiment/experiment.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/experiment/experiment.js b/experiment/experiment.js index 37fc2ee..1e0ca52 100644 --- a/experiment/experiment.js +++ b/experiment/experiment.js @@ -91,6 +91,9 @@ const cameraSetup = {
Before we begin, will you be wearing glasses for the experiment? Your data will be included whether you wear glasses or not.
", choices: ["Yes, I am wearing glasses.", "No, I am not wearing glasses."], + data: { + task: "glasses" + } }, ], }; @@ -130,6 +136,9 @@ const getAspectRatio = { { type: jsPsychBrowserCheck, features: ["width", "height", "fullscreen"], + data: { + task: 'browser-check' + }, on_finish: function(data) { data.aspect_ratio = data.width / data.height }, @@ -397,6 +406,9 @@ const final_survey = {This will help the research community develop better tools for eye tracking on the web.
If you do not want your videos to be part of this public dataset, you can opt out by clicking the button below.
`, choices: ["It is OK for my videos to be public", "I do not want my videos to be public"], + data: { + task: 'public-videos' + } }, { timeline: [ @@ -404,7 +416,10 @@ const final_survey = { type: jsPsychHtmlButtonResponse, stimulus: `We will remove your videos from the public dataset.
Is it OK for us to use these videos in our own research? Only members of our research team will have access.
`, - choices: ["You can use my videos for research", "Please delete my videos completely"] + choices: ["You can use my videos for research", "Please delete my videos completely"], + data: { + task: 'research-videos' + } } ], conditional_function: () => {