Bug in Quiz Passing Score

Home Forums Legacy Support Support queries Other issues Bug in Quiz Passing Score

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #197036
    info2grow
    Spectator
    In vibe-course-module\includes\bp-course-template.php Line 1849 says if($score <= $passing_score) then return Should be if($score < $passing_score) Example 7/10 is the passing score.  If the user gets 7 they pass. Thanks!
    #197037
    info2grow
    Spectator
    This is resulting the function bp_course_get_user_unit_completion_time failing if the user scored exactly the passing score which then causes issues like the course not resuming at the last unit completed.
    #197121
    Anshuman Sahu
    Keymaster
    Well yes you are absolutely correct in finding the bug but the issue is , we made this mistake a long time ago in our code with the quiz passing score thing. We have written the logic in a way : if user  marks greater than passing score you set in quiz only then continue otherwise stop . That is why you need to set one marks lesser than the expected passing marks in your quiz passing score settings . Example :  in a quiz if you want to set 15 marks as passing marks then you would need to set 14 as passing marks . Our problem is changing this logic is that there are many users who has set their passing scores according to above logic and if we change it then they might need to udpate all of their quizzes .
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Bug in Quiz Passing Score’ is closed to new replies.