academic-moodle-cooperation / moodle-mod_offlinequiz

The Offline Quiz activity allows the creation of multiple choice tests with questions from the question bank of a Moodle course, which are handed out to students in printed form. After completion, the answer forms are scanned and can be automatically evaluated online directly in Moodle.
https://academic-moodle-cooperation.org/mod_offlinequiz/
GNU General Public License v3.0
30 stars 58 forks source link

Adding a field in correct page to allow teacher type the right user ID number #241

Open moodleulpgc opened 8 months ago

moodleulpgc commented 8 months ago

Hi, we at ULPGC, in Canary Islands, Spain, are using quite happily this module. One problem we had was de user ID. We use Spanish DNI that have just 8 digits as student ID. But we gather quite a large number of foreign students. Either Erasmus ones or iberoamerican ones. Those students use as username/idnumber in our moodle an alphanumeric code. It seems that there is no way to standarize that code. A letter can appear anywhere in the 8 positions, any letter.

So we have modified the correction page that the teacher use to fix problems with user identification or doubtful marks. We have added a field to allow the teacher to directly type the student ID number and use that number with precedence to the user ID checkmarks. As in the image below Screenshot_20240310_194041

We ask student to write down their full name and ID in the answer form. Sometimes this is also useful to fix the userID when the student has badly checked marks.
We find that in this way the module is much more usable, confortable fro teachers with some "bizarre ID" students among a population of people with regular ID. We have a common and institutional student code ID that also works here.

I've prepared a patch against lastest v4.1.4, the one we are using. The modification is quite simple adn do not break anything in other parts of the plugin. Please see useridnumber-typed.patch.zip

I can prepare another against latest 4.3 version. ¿Is there any hope to get this integrated in the regular plugin?

moodleulpgc commented 8 months ago

Reviewing other issues, this modification may help manage some use cases raised in #147 or #30 We are not using this mod to assign answers forms to all students, we use the regular way fro that. Just to manage exceptions or special cases.

univietw commented 7 months ago

Hey @moodleulpgc, sorry for coming back to you so late. This is a really nice solution you have here. For 4.3 we cannot implement it anymore since we do a full test of all the offlinequiz features before releasing any bigger change. It would mean a lot of extra testing. At the moment we are reprogramming this part of offlinequiz to make it more future proof. It is the almost last old part left that hasn't been rewritten. My guess is though that I'm not going to be finished with it for offlinequiz 4.4, but it'll have significant changes still. So you'd probably rewrite a couple of things for 4.4 to make them work together, since we are finally opening up to solve these problems. If you want you can adapt your solution after I've done this. I will publish it on the master here ASAP once I am done with this feature. For 4.5 we will have a new correction page. Your suggestion was still much better than what I have had planned, so after some discussion we chose to make a select box where you can search for any user via identification number, surname or given name and select the student from a list instead of clicking the boxes. Kind of like in the course's participants tab for adding users to a course.

So I don't know if it would be worth your effort to get your feature into your branch. If you still insist, we can try to make it work before our intense testing begins.

For 4.x (we will see when) we are planning to finally get OCR to get rid of this tedious box idnumber process. But before that I need to rewrite the correction page.

Still, thank you very much for the suggestion, it helped a lot to see these issues more clear.