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

Allow question types to validate responses before grading

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.9.3
    • Questions
    • None
    • MOODLE_19_STABLE

      Suppose answering a particular question type involves typing some particularly complex syntax. Then the educational goals are better served if we do not penalise simple syntax errors. Here are two examples:

      1. Suppose we want to create a version of the short answer question type that automatically spell check's the student's answer, so their answer is only marked after they have corrected any spelling mistakes.

      2. Süreç Özcan's JUnit question type. Here the student's goal is to write some code that passes a set of unit tests given by the teacher. In this case, we may want the option to let the student verify that the code they have typed compiles without errors before they have to submit it for grading.

      There was a vague attempt to implement this once before (for example, there is an QUESTION_EVENTVALIDATE constant defined at the top of lib/questionlib.php) but it never went very far.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.