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

Adaptive mode always gives a penalty for checking an answer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.1.3
    • Component/s: Questions, Quiz
    • Labels:
    • Testing Instructions:
      Hide
      • Create a quiz with "How questions behave: Adaptive mode" (otherwise, with standard settings)
      • Add two questions (both on the same page):
        • Q1: "Short Answer" question, question text: "What is the great answer?", answer text: "42" (100%)
        • Q2: "Numerical" question, question text: "What is 2 times 2", answer text: "4" (100%)
      • Log in as a student and attempt the quiz.
      • Enter the following answer in this sequence, click "Check" on the corresponding question after each entry.
        • What is the great answer? a
          VERIFY penalty message present: "This answer attracted a penalty of 0.33".
        • What is the great answer? 42
          VERIFY penalty message absent.
        • What is the great answer? b
          VERIFY penalty message absent.
        • What is 2 times 2? 3
          VERIFY penalty message present.
        • What is 2 times 2? 4
          VERIFY penalty message absent.
        • What is 2 times 2? 5
          VERIFY penalty message absent.

      Now proceed to next screen. Click "Submit all and Finish". Review the quiz as a teacher.

      VERIFY: The history of either of the two questions shows exactly 5 steps, with grades shown as:

      • empty
      • 0.00
      • 0.67
      • 0.67
      • 0.67
      Show
      Create a quiz with "How questions behave: Adaptive mode" (otherwise, with standard settings) Add two questions (both on the same page): Q1: "Short Answer" question, question text: "What is the great answer?", answer text: "42" (100%) Q2: "Numerical" question, question text: "What is 2 times 2", answer text: "4" (100%) Log in as a student and attempt the quiz. Enter the following answer in this sequence, click "Check" on the corresponding question after each entry. What is the great answer? a VERIFY penalty message present: "This answer attracted a penalty of 0.33". What is the great answer? 42 VERIFY penalty message absent . What is the great answer? b VERIFY penalty message absent . What is 2 times 2? 3 VERIFY penalty message present . What is 2 times 2? 4 VERIFY penalty message absent . What is 2 times 2? 5 VERIFY penalty message absent . Now proceed to next screen. Click "Submit all and Finish". Review the quiz as a teacher. VERIFY: The history of either of the two questions shows exactly 5 steps, with grades shown as: empty 0.00 0.67 0.67 0.67
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When taking a quiz in adaptive mode with a calculated or numerical question the check answer feature always attracts a penalty even if the the checked answer is correct and an incorrect answer is never entered.

        Gliffy Diagrams

          Attachments

          1. adaptive1.PNG
            adaptive1.PNG
            18 kB
          2. adaptive11.PNG
            adaptive11.PNG
            19 kB
          3. adaptive2.PNG
            adaptive2.PNG
            4 kB
          4. adaptive3.PNG
            adaptive3.PNG
            4 kB
          5. adaptive4.PNG
            adaptive4.PNG
            4 kB
          6. adaptive5.PNG
            adaptive5.PNG
            28 kB
          7. adaptive6.PNG
            adaptive6.PNG
            37 kB
          8. adaptive7.PNG
            adaptive7.PNG
            9 kB
          9. adaptive8.PNG
            adaptive8.PNG
            43 kB
          10. adaptive9.PNG
            adaptive9.PNG
            7 kB

            Issue Links

              Activity

                People

                • Votes:
                  5 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    28/Nov/11