Adaptive mode (multi-part questions) and formulas qtype

Adaptive mode (multi-part questions) and formulas qtype

от Bernat Martinez -
Количество ответов: 3

We are testing  M2.5+ (Build: 20130621)  we have installed formulas question type and it works fine .

WE have also installed  moodle-qbehaviour_adaptivemultipart  and tried different versions, but adaptative mode doesn't work  when using 2 subquestions.

Any help will be appreciated


Thanks in advance



Приложение Captura de pantalla 2014-10-25 a la(s) 19.42.39.png
В ответ на Bernat Martinez

Re: Adaptive mode (multi-part questions) and formulas qtype

от Jean-Michel Védrine -

Hello Bernat,

Can you explain what you see and what you think is wrong when you say " but adaptative mode doesn't work  when using 2 subquestions".

I remember very well I have used formulas and adaptivemultipart with Moodle 2.5.x for at least one year and it was working with no problem.

Something surprise me: you say "We are testing  M2.5+ (Build: 20130621)" is there a major reason for testing such an old version and not the latest one of the MOODLE_25_STABLE branch: 2.5.8 (Build: 20140908) or of course the latest version of a more recent branch ?

В ответ на Jean-Michel Védrine

Re: Adaptive mode (multi-part questions) and formulas qtype

от Bernat Martinez -

Hello Jean Michel,

Thank you for your answer and sorry for the delay in answering but we have been making a lot of tries.  Now it works perfectly , we are using M2.6 and Adaptive mode (multi-part questions) 3.3.

With other combinations we had a blank page or this message

Fatal error: Call to undefined method qbehaviour_adaptivemultipart::adjust_display_options_for_part() in /home/a002573/public_html/0prova/moodle25/question/type/formulas/renderer.php on line 127

On the other hand I was confused as I was waiting  for the formulas-adaptative with 2-parts, to show two submit-buttons, one for each subquestion (part). Now I see that only with one button it works OK.

Congratulations for your good work

Bernat


 

В ответ на Bernat Martinez

Re: Adaptive mode (multi-part questions) and formulas qtype

от Jean-Michel Védrine -

Hello Bernat,

Sorry, I apologize, most of your problems come for my lack of documenting things properly.

About one year ago an user reported that when using a formulas question in adaptive behaviour, when you were clicking on the "Check" button, feedback for each part (color and icon) were not displayed properly. After  a rapid investigation I found that my production website was suffering from the same problem but unfortunately none of my students reported it !

Studying the problem, I came to the conclusion that a solution involved changing the adaptive behaviour. I published a modified version of the adaptivemultipart behaviour on my github account introducing a new adjust_display_options_for_part function. This permit me to quickly solve the problem and fix my production website.

Tim reviewed this change and decided it would be good to add this function to the standard adaptivemultipart code, so now you just have to install adaptivemultipart release 3.3 from the Moodle plugin directory or from https://github.com/maths/moodle-qbehaviour_adaptivemultipart and it works without any change.

Yes, since I upgraded the formulas question type code for Moodle new question engine there is only one submit button (labeled "Check") in adaptive mode, but I think this solution is even better than Hon Wai Lau's one with one submit button per part in Moodle 1.9 and 2.0

I will try to explain why

  • If a student wants to check his answer to one part, he just need to fill the field(s) for that part he will not be penalised for other unanswered parts
  • only parts that had their answer(s) changed since last check will be taken into account for grading, unchanged answers for other parts will be ignored (even if they are empty or wrong)
  • if a wrong answer that has already be penalised in a previous check is used again, no new penalty will be added, the same mistake is only counted one

Discussing with my students I realized that most of them were unaware of these details (despite I have explained all this during my course and that there is a description detailing all these details at the beginning of each quiz !!) so they were in fact restraining themselves to input some answers in the fear of been penalized, so I guess I need to find a better way to document this ehaviour.