sensei
sensei copied to clipboard
Learning mode: The number of quiz questions is incorrect on the quiz page.
This is the situation: the quiz question base is 20, but the quiz only includes 15 randomly selected questions from this base. So the correct information should show that there are 15 questions, but the test page says that there are 20 questions (i.e. the total number of questions).
quiz settings - the number of questions to be displayed = 15 (see picture) The quiz view shows incorrect information about the total number of questions (20). See drawing. The number of questions in the text itself is correct (15).
This misleads the students because they expect 20 questions and only see 15. So they ask us a lot of questions and we waste our time explaining them.
There are only multiple choice questions in this quiz.
20 is the number of all questions added to the quiz question base, but the "number of questions to display = 15" option is enabled
The inscriptions on the drawings are mainly in Polish, but I think I have explained everything that needs to be done, so there will be no problem with understanding. If you have any questions - write to us ;-)
After uploading to Sensei Pro (WC Paid Courses) [Sensei LMS Version: 4.1.1, Sensei Pro Version: 1.0.2]
The error and the number of questions still exists.
The student sees the information: "Quiz length: 8 questions" (see picture below)
despite the fact that in the quiz there are only 5 randomly selected questions from (base) 8 questions (fig. below)
### This misleads the students
And one more thing: The student is not shown the time limit for solving the quiz even though it is set!
There are pictures in the previous comment and you can see this error on them, so there is probably no need to post new ones.
When will you fix this error?
Hey @tomlee234. I really appreciate your effort to document these bugs, so thank you!
When will you fix this error?
I can't really give you an ETA, because we are in "feature" mode right now, but I will do my best to push this one because it looks really annoying.
The student is not shown the time limit for solving the quiz even though it is set!
Could you open a separate issue for this so we could prioritize it? Thanks again!
Hi,
As you asked, I put this topic on github.
In addition, I have inserted the topic of the translation problem for the Sensei Pro. This is an urgent matter, because it will keep us updated on the production pages.
serdecznie pozdrawiam
śr., 16 mar 2022 o 18:52 Miroslav Mitev @.***> napisał(a):
Hey @tomlee234 https://github.com/tomlee234. I really appreciate your effort to document these bugs, so thank you!
When will you fix this error?
I can't really give you an ETA, because we are in "feature" mode right now, but I will do my best to push this one because it looks really annoying.
The student is not shown the time limit for solving the quiz even though it is set!
Could you open a separate issue for this so we could prioritize it? Thanks again!
— Reply to this email directly, view it on GitHub https://github.com/Automattic/sensei/issues/4905#issuecomment-1069396694, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYEPTE3XLHAF5HKPO7CIUKDVAINWHANCNFSM5QI52W4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
I did a quick code investigation and found some info that might help fix the issue:
The problem is that the Sensei_Block_Quiz_Progress::render
(the progress bar) is called before Quiz_Content::render_quiz
(the quiz loop). One solution would be to find a way to call the quiz loop first and use the generated $sensei_question_loop
global to get the total.