EzerIT / BibleOL

Web-based instruction in Biblical Hebrew and Greek
Other
26 stars 16 forks source link

Timeout Error #15

Closed tmccormack165 closed 10 months ago

tmccormack165 commented 10 months ago

The timeout function for exams is sometimes malfunctioning. An example of an exam that is always working is test 5, and an exam that sometimes fails is SDATSAU Final Exam Valentin. The error is not reproducible.

oliverglanz commented 10 months ago

Thanks for reporting this! I just need to correct the "not reproducible". We can reproduce it with the exam that malfunctions. Thus, if an exam malfunctions it always malfunctions. If an exam does not malfunction it never malfunctions. We just do not know at this moment what it is that makes an exam malfunction.

oliverglanz commented 10 months ago

This has been solved and the problem has been identified. This is the message I wrote to Timothy and Adrian:

I was able to identify the problem! It has to do with the amount of questions one sets. If you use an exercise as an exam, you cannot set a limit to the questions in the exercise. The number needs to stay "0":

image1

If you set it to a fixed number, the deadline feature of the exam mode will not function. So do not write something like this:

image2

The number of questions must be set in the exam mode:

image3

Conclusion: Problem solved! Well, we need to improve the documentation and inform the user that he/she cannot set a fixed number of questions in the exercise that is being used for the exam.