diff --git a/courses.dist/modelCourse/templates/achievements/persistance.at b/courses.dist/modelCourse/templates/achievements/persistance.at index ba4a1f600a..33d18f7d8e 100644 --- a/courses.dist/modelCourse/templates/achievements/persistance.at +++ b/courses.dist/modelCourse/templates/achievements/persistance.at @@ -1,7 +1,7 @@ #This checks to see if the student has solved the problem after a certain # number of incorrect attempts - if ($problem->status == 1 && $problem->num_incorrect >= 20) { + if ($problem->status == 1 && $problem->num_correct == 1 && $problem->num_incorrect >= 20) { return 1 } else { return 0; diff --git a/courses.dist/modelCourse/templates/achievements/super_persistance.at b/courses.dist/modelCourse/templates/achievements/super_persistance.at index 0565f1271b..2a1e8a2127 100644 --- a/courses.dist/modelCourse/templates/achievements/super_persistance.at +++ b/courses.dist/modelCourse/templates/achievements/super_persistance.at @@ -1,7 +1,7 @@ #This checks to see if the student has solved the problem after a certain # number of incorrect attempts - if ($problem->status == 1 && $problem->num_incorrect >= 100) { + if ($problem->status == 1 && $problem->num_correct == 1 && $problem->num_incorrect >= 100) { return 1 } else { return 0; diff --git a/courses.dist/modelCourse/templates/achievements/third_time.at b/courses.dist/modelCourse/templates/achievements/third_time.at index f9dd6d9b62..3d76898e3d 100644 --- a/courses.dist/modelCourse/templates/achievements/third_time.at +++ b/courses.dist/modelCourse/templates/achievements/third_time.at @@ -1,6 +1,6 @@ #This checks to see if the student has a certain number of attempts - if ($problem->num_correct == 1 and $problem->num_incorrect == 2) { + if ($problem->num_correct == 1 and $problem->num_incorrect == 2 and $problem->status == 1) { return 1; } else { return 0;