Issue with Default Marks in Randomly Selected Questions Using Code Runner

Issue with Default Marks in Randomly Selected Questions Using Code Runner

by sab sab -
Number of replies: 3

Hello,

I’m encountering an issue with the Code Runner tool that I hope you can help with. In my folder, I have a list of questions, each assigned a specific "default mark." When I manually select questions for a test, the default marks are correctly applied. However, when questions are selected randomly, each question is assigned a mark of exactly 1, disregarding the predefined default marks.

I have not been able to find a workaround for this problem. Could you please provide assistance or a solution?

Thank you in advance for your help.

Best regards,

Sea

In reply to sab sab

Re: Issue with Default Marks in Randomly Selected Questions Using Code Runner

by Richard Lobb -
I think this is a Moodle design feature rather than a CodeRunner issue. In my understanding, a quiz has a set of slots into which questions are placed. The maximum mark a question can have is a property of the slot. When a slot is populated with a question manually, the slot mark is initialised to the question's default mark, which you can then override if you wish. However, if a random question is being used, this wouldn't be possible as different questions have different default marks, so the maximum mark is just set to 1 (I think). You can set it manually to any other value you might like.

I think it would be problematic to have a slot worth different marks depending on what question landed in it. Either the quiz would then be worth different marks to different students (surely a bad idea?) or the total would have to be normalised, so the values of all other questions in the quiz would change according to the mark awarded to the randomly-populated slot (also a bad idea).
In reply to Richard Lobb

Re: Issue with Default Marks in Randomly Selected Questions Using Code Runner

by Tim Hunt -
I just wanted to confirm that Richard's explanation is correct.
In reply to Tim Hunt

Re: Issue with Default Marks in Randomly Selected Questions Using Code Runner

by sab sab -

Thak you for your reply. In fact it is a moodle issue and it is not possible to have the "default mark" considered when the questions are randomly chosen.

It is explained here: https://moodle.org/mod/forum/discuss.php?d=193464


Regards,


sea