Moodle

Matching Questions Will not Regrade

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.5.4, 1.9
  • Fix Version/s: None
  • Component/s: Questions
  • Labels:
    None

Description

This challenge is occurring in both 1.5.3 and on the 1.6 test server at remote-learner.

Here is the Scenario:

I create a matching questions that asks students to put the months in the correct order, so the student matches the Month name with the correct number:

January -1
Feb - 2
March - 3
April - 4

But lets say when I created the question I accidentally put them in the wrong order and entered:

January -2
Feb - 1
March - 3
April - 4

Ooops...after the students have finished taking the quiz I realize my error so I edit the matching question matches so they look like this:

January -1
Feb - 2
March - 3
April - 4

I save and select regrade attempts and the attempts ARE NOT regraded. Nothing changes. The students who answered the question correctly but got 50% credit because the instructor accidentally had the wrong matching question still are only getting 50% credit.

What gives? When you adjust the Multiple Choice or T/F question it regrades and gives the students the correct points based on your edit.

I see in 1.6 that you can manually override but that is not an option in 1.5.3 and could take A LOT of time to manually override every single student attempt.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Gustav Delius (gwd2 at york.ac.uk) Friday, 26 May 2006, 03:14 PM:

This is due to the way the edited question is saved. I believe that there is a comment in the code saving the question options that says that this is a problem.

Assigning this to Tim, the new question engine maintainer.

Show
Martin Dougiamas added a comment - From Gustav Delius (gwd2 at york.ac.uk) Friday, 26 May 2006, 03:14 PM: This is due to the way the edited question is saved. I believe that there is a comment in the code saving the question options that says that this is a problem. Assigning this to Tim, the new question engine maintainer.
Hide
Tim Hunt added a comment -

I have looked into this, and the bad news is that it is essentially impossible to fix. The problem is how we store the student's response in the database. We don't store the values the student selected, that is, we don't store '1', '2', '3', '4', but instead 'the id of the answer corresponding to jan', 'the id of the answer corresponding to feb', and so on.

So when you edit the question, it the student's response starts to appear as '2', '1', '3', '4' - and this is then regraded correctly.

So the only way to fix this would be a complete rewrite of the matching question, which is not going to happen any time soon. (However, the matching question could benefit from a rewrite for other reasons too.)

In the mean-time, the only work-around is to check your matching questions carefully before students attempt the quiz.

Show
Tim Hunt added a comment - I have looked into this, and the bad news is that it is essentially impossible to fix. The problem is how we store the student's response in the database. We don't store the values the student selected, that is, we don't store '1', '2', '3', '4', but instead 'the id of the answer corresponding to jan', 'the id of the answer corresponding to feb', and so on. So when you edit the question, it the student's response starts to appear as '2', '1', '3', '4' - and this is then regraded correctly. So the only way to fix this would be a complete rewrite of the matching question, which is not going to happen any time soon. (However, the matching question could benefit from a rewrite for other reasons too.) In the mean-time, the only work-around is to check your matching questions carefully before students attempt the quiz.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: