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

Extractor of test is broken for open question

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.2, 4.2.1, 4.2.2
    • Questions
    • None
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE

      In a test, use the question where free text is expected.

      Fill in the test and in the question answer something with < and text without space after the inferior sign.

      I don't know in our University wich version with use, but it is a 4.x one

       

      Extract the results to the question (whatever the extractor). In the extracted file, the answer to the question is not the same as the text in the cell. Everything that comes after the < is omitted. More specifically everything that is between < and > is ommitted.

      Lets take an example:

      create a test and ask the following question:

      write a function in python to check if x is included in an interval.

      answer the cell with for example:

      def isIncludedIn(x, inf, sup):

          return inf<x and sup>x

      in the extractor, you will have:

      def isIncludedIn(x, inf, sup):    return infx

       

            Unassigned Unassigned
            anneetien Anne Etien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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