From 62b6206a31492ce56cd5b60d85dbede4b8f98c65 Mon Sep 17 00:00:00 2001 From: Ken Holstein Date: Mon, 10 Jul 2017 18:19:17 -0400 Subject: [PATCH] updated BKT_skill_and_error_tracker with skill probabilities previously omitted --- .../Assets/Detectors/Lumilo/BKT_skill_and_error_tracker.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/HTML/Assets/Detectors/Lumilo/BKT_skill_and_error_tracker.js b/HTML/Assets/Detectors/Lumilo/BKT_skill_and_error_tracker.js index dbae14d..a4645ba 100644 --- a/HTML/Assets/Detectors/Lumilo/BKT_skill_and_error_tracker.js +++ b/HTML/Assets/Detectors/Lumilo/BKT_skill_and_error_tracker.js @@ -193,15 +193,18 @@ function receive_transaction( e ){ var skill_1__name = "fakeSkill1"; var skill_1__attempt_count = "22"; var skill_1__error_history = " 2x + 3x = 10 \\n _____ = [x] @ 2x + 3x = 10 \\n _____ = [10x] @ 2x + 3x = 10 \\n [2x] = 10 @ 2x + 3x = 10 \\n [x] = 10 @ 2x + 3x = 10 \\n [5 + x] = 10"; + var skill_1__probability = "0.22"; var skill_2__name = "fakeSkill2"; var skill_2__attempt_count = "47"; var skill_2__error_history = " 2x + 3x = 10 \\n _____ = [x] @ 2x + 3x = 10 \\n _____ = [10x] @ 2x + 3x = 10 \\n [2x] = 10 @ 2x + 3x = 10 \\n [x] = 10 @ 2x + 3x = 10 \\n [5 + x] = 10"; + var skill_2__probability = "0.46"; var skill_3__name = "fakeSkill3"; var skill_3__attempt_count = "172"; var skill_3__error_history = " 2x + 3x = 10 \\n _____ = [x] @ 2x + 3x = 10 \\n _____ = [10x] @ 2x + 3x = 10 \\n [2x] = 10 @ 2x + 3x = 10 \\n [x] = 10 @ 2x + 3x = 10 \\n [5 + x] = 10"; + var skill_3__probability = "0.67"; - var dummyValue1 = skill_1__name + "," + skill_1__attempt_count + "," + skill_1__error_history + ";" + skill_2__name + "," + skill_2__attempt_count + "," + skill_2__error_history; - var dummyValue2 = skill_3__name + "," + skill_3__attempt_count + "," + skill_3__error_history + ";" + skill_2__name + "," + skill_2__attempt_count + "," + skill_2__error_history; + var dummyValue1 = skill_1__name + "," + skill_1__attempt_count + "," + skill_1__error_history + "," + skill_1__probability + ";" + skill_2__name + "," + skill_2__attempt_count + "," + skill_2__error_history + "," + skill_2__probability; + var dummyValue2 = skill_3__name + "," + skill_3__attempt_count + "," + skill_3__error_history + "," + skill_3__probability + ";" + skill_2__name + "," + skill_2__attempt_count + "," + skill_2__error_history + "," + skill_2__probability; var dummyValues = [dummyValue1, dummyValue2]; detector_output.value = String(dummyValues[Math.floor(Math.random() * dummyValues.length)]);