diff --git a/HTML/Assets/Detectors/Lumilo/Critical_Struggle/critical_struggle.js b/HTML/Assets/Detectors/Lumilo/Critical_Struggle/critical_struggle.js index 5ccb249..cf7214f 100644 --- a/HTML/Assets/Detectors/Lumilo/Critical_Struggle/critical_struggle.js +++ b/HTML/Assets/Detectors/Lumilo/Critical_Struggle/critical_struggle.js @@ -386,7 +386,7 @@ function receive_transaction( e ){ //set conditions under which transaction should be processed //(i.e., to update internal state and history, without //necessarily updating external state and history) - if(e.data.actor == 'student' && e.data.tool_data.action != "UpdateVariable"){ + if(e.data.actor == 'student' && e.data.tool_data.selection !="done" && e.data.tool_data.action != "UpdateVariable"){ //do not touch rawSkills = e.data.tutor_data.skills var currSkills = [] diff --git a/HTML/Assets/Detectors/Lumilo/Struggle/struggle__moving_average.js b/HTML/Assets/Detectors/Lumilo/Struggle/struggle__moving_average.js index d11bac3..75f03cb 100644 --- a/HTML/Assets/Detectors/Lumilo/Struggle/struggle__moving_average.js +++ b/HTML/Assets/Detectors/Lumilo/Struggle/struggle__moving_average.js @@ -90,7 +90,7 @@ function receive_transaction( e ){ //set conditions under which transaction should be processed //(i.e., to update internal state and history, without //necessarily updating external state and history) - if(e.data.actor == 'student' && e.data.tool_data.action != "UpdateVariable"){ + if(e.data.actor == 'student' && e.data.tool_data.selection !="done" && e.data.tool_data.action != "UpdateVariable"){ //do not touch rawSkills = e.data.tutor_data.skills var currSkills = [] diff --git a/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js b/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js index 03d83dd..d55b0fc 100644 --- a/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js +++ b/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js @@ -50,7 +50,7 @@ function receive_transaction( e ){ //set conditions under which transaction should be processed //(i.e., to update internal state and history, without //necessarily updating external state and history) - if(e.data.actor == 'student' && isFirstAttempt == true && e.data.tool_data.action != "UpdateVariable"){ + if(e.data.actor == 'student' && e.data.tool_data.selection !="done" && isFirstAttempt == true && e.data.tool_data.action != "UpdateVariable"){ //do not touch rawSkills = e.data.tutor_data.skills var currSkills = [] diff --git a/HTML/Assets/Detectors/Lumilo/System_Misuse/system_misuse.js b/HTML/Assets/Detectors/Lumilo/System_Misuse/system_misuse.js index be66e17..d3e6bf4 100644 --- a/HTML/Assets/Detectors/Lumilo/System_Misuse/system_misuse.js +++ b/HTML/Assets/Detectors/Lumilo/System_Misuse/system_misuse.js @@ -343,7 +343,7 @@ function receive_transaction( e ){ //set conditions under which transaction should be processed //(i.e., to update internal state and history, without //necessarily updating external state and history) - if(e.data.actor == 'student' && e.data.tool_data.action != "UpdateVariable"){ + if(e.data.actor == 'student' && e.data.tool_data.selection !="done" && e.data.tool_data.action != "UpdateVariable"){ //do not touch rawSkills = e.data.tutor_data.skills var currSkills = []