Skip to content

Commit

Permalink
added explicit "last step correct" condition to help model
Browse files Browse the repository at this point in the history
  • Loading branch information
d19fe8 committed Jul 5, 2017
1 parent b821aee commit 2fa4151
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions HTML/Assets/Detectors/Lumilo/System_Misuse/system_misuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ var elaborationString;
//[optional] single out TUNABLE PARAMETERS below
var windowSize = 7; //arbitrary: need to tune
var threshold = 1; //arbitrary: need to tune
var errorThreshold = 0.7; //currently somewhat arbitrary
var newStepThreshold = 0.7; //currently somewhat arbitrary
var errorThreshold = 2; //currently somewhat arbitrary
var newStepThreshold = 1; //currently somewhat arbitrary
var familiarityThreshold = 0.4;
var senseOfWhatToDoThreshold = 0.6;
var hintIsHelpfulPlaceholder = true; //currently a dummy value (assumption that hint is always helpful...)
Expand Down Expand Up @@ -335,9 +335,12 @@ function updateHistory(e){
help_variables.seenAllHints[e.data.tutor_data.selection] = (e.data.tutor_data.current_hint_number == e.data.tutor_data.total_hints_available);
}
}
if (e.data.tutor_data.action_evaluation.toLowerCase() == "incorrect"){
else if (e.data.tutor_data.action_evaluation.toLowerCase() == "incorrect"){
help_variables.lastAction = "error";
}
else{
help_variables.lastAction = "correct";
}

help_variables.lastSenseOfWhatToDo = senseOfWhatToDo(e);

Expand Down

0 comments on commit 2fa4151

Please sign in to comment.