Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70574

Cloze multianswer question leaks percentage if with decimal

    XMLWordPrintable

Details

    Description

      When the grade in a cloze multianswer questions contains a percentage value with decimal places, the percentage value is leaked to the question.

      {5:MULTIRESPONSE_H:~%100%A~%50%B~%33.33333%C}

      In this example the third answer reads

      %33.33333%C

      ,which is unfortunate as it can give the right or wrong answer away to the student.
      Removing the decimal places solves the problem, but then giving 1/3 of the points for an answer is not possible.
      The above example was created with the Cloze editor that gives you 33.33333% as a selectable option.

      To reproduce, create a cloze question, in the Atto editor use the cloze editor. Select MULTIRESPONSE_H, fill in answer and feedback and select a grade with decimal places. Insert and save changes. Then go to preview.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            wolfstettler Wolf Stettler
            Luca Bösch Luca Bösch
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Mar/21

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h