From 15328d413184b93479d0a96b9aa3879ca22faa38 Mon Sep 17 00:00:00 2001 From: moblim Date: Mon, 23 May 2022 13:46:31 -0400 Subject: [PATCH] Changed Quiz to reflect removed probability --- src/config/main.js | 2 +- src/config/practice.js | 3 --- src/language/en_us.json | 8 ++++---- src/trials/instructions.js | 2 +- src/trials/quizTrials.js | 13 ++----------- 5 files changed, 8 insertions(+), 20 deletions(-) diff --git a/src/config/main.js b/src/config/main.js index c1a9772..2d64478 100644 --- a/src/config/main.js +++ b/src/config/main.js @@ -69,7 +69,7 @@ try { // then assume it's online in the browser // with MTurk or Prolific ONLINE = AT_HOME && !IS_ELECTRON ? true : false; -ONLINE = true; +ONLINE = false; console.log("ONLINE:", ONLINE); // note: it _is_ possible to do both firebase & mturk if desired diff --git a/src/config/practice.js b/src/config/practice.js index 3d8dd59..10fc2e2 100644 --- a/src/config/practice.js +++ b/src/config/practice.js @@ -8,7 +8,6 @@ import { deepCopy } from "../lib/utils"; let practiceBlock1 = deepCopy(defaultBlockSettings); practiceBlock1.is_practice = true; -practiceBlock1.probs = ["100%"]; practiceBlock1.value = [1, 0]; practiceBlock1.effort = [20, 0]; practiceBlock1.high_effort = [false, false]; @@ -19,7 +18,6 @@ practiceBlock1.get_reward = [true, true]; let practiceBlock2 = deepCopy(defaultBlockSettings); practiceBlock2.is_practice = true; -practiceBlock2.probs = ["100%"]; practiceBlock2.value = [0, 5]; practiceBlock2.effort = [0, 200]; practiceBlock2.high_effort = [false, true]; @@ -30,7 +28,6 @@ practiceBlock2.get_reward = [true, true]; let practiceBlock3 = deepCopy(defaultBlockSettings); practiceBlock3.is_practice = true; -practiceBlock3.probs = ["100%"]; practiceBlock3.value = [1, 5]; practiceBlock3.effort = [20, 200]; practiceBlock3.high_effort = [false, true]; diff --git a/src/language/en_us.json b/src/language/en_us.json index 4deece5..5d88a9e 100644 --- a/src/language/en_us.json +++ b/src/language/en_us.json @@ -64,10 +64,10 @@ "any_questions": "Do you have any questions?", "prompt": { "more_pumps": "1. Which balloon requires more pumps? BLUE or GREEN?", - "bonus_blue": "3. True or False: You can get bonus points on the BLUE balloon.", - "bonus_green": "4. True or False: You can get bonus points on the GREEN balloon.", - "total_shown": "5. True or False: You will be shown your total number of points after each round.", - "points_to_money": "6. True or False: You will receive real money from your total number of points at the end of the task." + "bonus_blue": "2. True or False: You can get bonus points on the BLUE balloon.", + "bonus_green": "3. True or False: You can get bonus points on the GREEN balloon.", + "total_shown": "4. True or False: You will be shown your total number of points after each round.", + "points_to_money": "5. True or False: You will receive real money from your total number of points at the end of the task." }, "rules": { "preface": "Summary of Instructions/Rules:", diff --git a/src/trials/instructions.js b/src/trials/instructions.js index dda92c4..67f7f89 100644 --- a/src/trials/instructions.js +++ b/src/trials/instructions.js @@ -162,7 +162,7 @@ const greenPracticeInstructions = () => { // where both balloons are possible choices const realPracticeInstructions = () => { let realPracticeInstructionsArray = [ - realPracticeScreenOne,, + realPracticeScreenOne, realPracticeScreenThree, realPracticeScreenFour, ]; diff --git a/src/trials/quizTrials.js b/src/trials/quizTrials.js index f5991b6..f42f361 100644 --- a/src/trials/quizTrials.js +++ b/src/trials/quizTrials.js @@ -19,7 +19,6 @@ const blueOrGreen = [ const quizPrompts = [ `${lang.quiz.prompt.more_pumps}`, - `${lang.quiz.prompt.reward_certainty_reach_spike}`, `${lang.quiz.prompt.bonus_blue}`, `${lang.quiz.prompt.bonus_green}`, `${lang.quiz.prompt.total_shown}`, @@ -28,7 +27,6 @@ const quizPrompts = [ ]; const quizRules = [ - `${lang.quiz.rules.shown_probability}`, `${lang.quiz.rules.shown_blue_green_on_screen}`, `${lang.quiz.rules.job}`, `${lang.quiz.rules.blue_req_20}`, @@ -55,7 +53,7 @@ const quiz = (blockSettings) => { prompt: quizPrompts[1], options: quizOptions(), required: true, - }, + }, { prompt: quizPrompts[2], options: quizOptions(), @@ -71,11 +69,6 @@ const quiz = (blockSettings) => { options: quizOptions(), required: true, }, - { - prompt: quizPrompts[5], - options: quizOptions(), - required: true, - }, ]; return { @@ -163,7 +156,6 @@ const retakeLoop = (blockSettings) => { const correctAnswers = [ `${lang.quiz.answer_opts.green}`, `${lang.quiz.answer_opts.false}`, - `${lang.quiz.answer_opts.false}`, `${lang.quiz.answer_opts.true}`, `${lang.quiz.answer_opts.true}`, `${lang.quiz.answer_opts.true}`, @@ -191,8 +183,7 @@ const checkRetake = (blockSettings) => { const prevAnswers = prevData.answer; const correctAnswers = [ - `${lang.quiz.answer_opts.green}`, - `${lang.quiz.answer_opts.false}`, + `${lang.quiz.answer_opts.green}`, `${lang.quiz.answer_opts.false}`, `${lang.quiz.answer_opts.true}`, `${lang.quiz.answer_opts.true}`,