Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

@Jean-Michel,

There is no one better word sequence as regards grading. It really depends on the type of items being ordered  Let me take 2 examples only.

Example 1. Order those US presidents in chronological order of presidency: , Bill Clinton, Barack Obama, George Washington, George H. W. Bush, Theodore Roosevelt, John F. Kennedy.

correct order: George Washington, Theodore Roosevelt, John F. Kennedy, George H. W. Bush, Bill Clinton, Barack Obama.

student answer: Theodore Roosevelt, George Washington, John F. Kennedy, Bill Clinton, George H. W. Bush, Barack Obama.

Correctly placed items (regardless of "neighbouring items" : 2 -> score: 2/6

Example 2. Re-order this jumbled sentence: cooks many too the broth spoil

Correct answer: too many cooks spoil the broth

student answer 1: too many broth spoil the cooks

number of correct sequences of words (italicized above): 2  + initial word correctly placed: total score = 3/6

student answer 2: too many cooks broth the spoil

number of correct sequences of words (italicized above): 2  + initial word correctly placed: total score = 3/6

student answer 3: too many cooks spoil broth the

number of correct sequences of words (italicized above): 4  + initial word correctly placed: total score = 5/6

In example 1 we give points to items in their correct "place". In example 2 we are concerned with context, sequence of words, so we give points to correct sequences of 2 words, regardless of their correct "place" in the sentence. Obviously this consideration makes the programming of an acceptable scoring system quite difficult.sad

Joseph

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

You are right, time spent in successive attempts at a lesson is not cumulative. It starts at zero with each new attempt.

The best solution to this problem would be the development of a new "stop-watch/chronometer" feature, as described in this other discussion: .Measuring "Time spent" in Lesson

EDIT.- Just found out a very simple hack to make time spent in successive attempts at a lesson cumulative. This is for current version 2.7 of Moodle, but should work in previous versions too.

In file yourmoodle/mod/lesson/view.php, around line 105, locate this comment: "// check for the timespent condition". A few lines below, replace line:

$duration = $attempttime->lessontime - $attempttime->starttime;

with:

$duration += $attempttime->lessontime - $attempttime->starttime;

That's it! Of course, usual warning applies that it may be risky to hack a moodle core file and cause problems when updating your moodle site. So use at own rixk.