Git commits in Moodle 1.1.x by kaipe

commit 5a22076b10abf4d20e1c9cc0f6ce25ae725e065b
Author: kaipe <kaipe>
Date:   Sat, 23 Aug 2003 02:20:04 +0800
Tag:    v1.1.0

Correction

commit 1ecbe2c4760ac38b0ec1c76ea3d18221489c9c76
Author: kaipe <kaipe>
Date:   Sat, 23 Aug 2003 02:18:09 +0800
Tag:    v1.1.0

All question types now have help texts in Swedish

commit f5626b4c6b418da1789da4980bf4224e620c53b4
Author: kaipe <kaipe>
Date:   Fri, 22 Aug 2003 23:58:57 +0800
Tag:    v1.1.0

Corrected the help text for numerical.html and also included Numerical in questiontypes.html

commit bb9d73d9e15c47efa8e2f817bbcc9fdb576ea8ab
Author: kaipe <kaipe>
Date:   Fri, 22 Aug 2003 21:44:12 +0800
Tag:    v1.1.0

Corrected translation

commit bfe3068c7838a6acd3b41f83004f9fa3494e41ad
Author: kaipe <kaipe>
Date:   Fri, 22 Aug 2003 21:34:41 +0800
Tag:    v1.1.0

*** empty log message ***

commit 608ed9800d3f8f7ef69667f287057e457a6bbe71
Author: kaipe <kaipe>
Date:   Mon, 11 Aug 2003 20:37:54 +0800
Tag:    v1.1.0

Debug This fix rids warnings that used to come when a student for the first time attempts a quiz with the option "Each attempt builds on the last" = Yes (attemptonlast). Now the option is not in effect when a student attempts a quiz for the first time, i.e. when there is no last attempt to build on.

commit 85c06eab07ac73b4d0a2daf90235e8bfc8aaea47
Author: kaipe <kaipe>
Date:   Mon, 11 Aug 2003 19:47:30 +0800
Tag:    v1.1.0

quiz option - "Each attempt builds on the last"

commit 175462491693534dfc8bfa94549f3537611da798
Author: kaipe <kaipe>
Date:   Sun, 10 Aug 2003 20:09:49 +0800
Tag:    v1.1.0

Fixed bug that was pointed out by Tom Cat: The reuse of old quiz_answers records for question type multianswer/embedded did not work properly.

commit 5ee8d89f659264735638b42e5fb5d8b361911ce5
Author: kaipe <kaipe>
Date:   Tue, 05 Aug 2003 19:39:49 +0800
Tag:    v1.1.0

The message "Recently added question!" is shown for questions that have been added since the reviewed attempt was finished. Closing bug #576

commit 586b2c82ed58196ad9df5f91da6ab5c451b10afd
Author: kaipe <kaipe>
Date:   Mon, 04 Aug 2003 07:00:45 +0800
Tag:    v1.1.0

New quiz option - "Each attempt builds on the last" This makes it possible for students to take a tedious quiz, save it half-way and have it graded. The student can then, at a later point, get back to the quiz and have the previous answers already filled in and graded. The student can then continue with the remaining questions as well as redo all the answers that got wrong at the previous attempt. It seems to work fine with one little twisted exception: Say that the student attempts the quiz first and that the teacher thereafter edits the quiz and removes or adds a few questions. This will work out fine for as long as the teacher do not get the idea of adding a question with question type RANDOM. The quiz will be fully functional again after removing that RANDOM question or resetting the option 'Each attempt builds on the last" to NO. Not a very serious problem but it takes someone with greater insight in question type RANDOM to resolve it.

commit 0f36ecb9ea9634c6b0732ebf06bc36707d3ecba6
Author: kaipe <kaipe>
Date:   Mon, 04 Aug 2003 06:54:02 +0800
Tag:    v1.1.0

New quiz option - "Each attempt builds on the last" This makes it possible for students to take a tedious quiz, save it half-way and have it graded. The student can then, at a later point, get back to the quiz and have the previous answers already filled in and graded. The student can then continue with the remaining questions as well as redo all the answers that got wrong at the previous attempt. It seems to work fine with one little twisted exception: Say that the student attempts the quiz first and that the teacher thereafter edits the quiz and removes or adds a few questions. This will work out fine for as long as the teacher do not get the idea of adding a question with question type RANDOM. The quiz will be fully functional again after removing that RANDOM question or resetting the option 'Each attempt builds on the last" to NO. Not a very serious problem but it takes someone with greater insight in question type RANDOM to resolve it.

commit 5a24a01868d9e263c592579085b7eaeb2aa77e50
Author: kaipe <kaipe>
Date:   Mon, 04 Aug 2003 05:39:32 +0800
Tag:    v1.1.0

Resolving bug #576. This solution shows the message "Recently added question!" and the question text for each question that has been added since the reviewed attempt. The advantage with the chosen solution is that it will work fine for the (soon to come) "Each attempt builds on the last" quiz option.

commit bdb63d64f2625312ad7f7266ddaa59dc40103650
Author: kaipe <kaipe>
Date:   Mon, 04 Aug 2003 04:02:43 +0800
Tag:    v1.1.0

Debugged question types NUMERICAL and MULTIANSWER (known as embedded answers) as these did not do things right whenever a student had not given any response (was treated as zero etc). For numerical there was also a need to allow typical shortanswer responses whenever there could be answers like n/a, inf, -inf, nan etc. Further more about numerical, there can be more than one answer alternative defined (just like for shortanswer). This is not supported by numerical.html but everywhere else. MULTIANSWER included, it is up to any taker to update numerical.html. This is more than likely to lead to overlappings between numerical ranges if more than one is defined. Think of the case where the highest grade answer ranges between 0 and 2 and the half grade answer ranges between 2 and 4. How should we grade 2? We should pick the highest grade!

commit 2e3e1ac76b543f42c82c9c922e61705282361aa8
Author: kaipe <kaipe>
Date:   Fri, 01 Aug 2003 21:24:05 +0800
Tag:    v1.1.0

Added the choice of 16.666% for multichoice fraction

commit 8b439f8c164c15d39c3fa1bec029b616df5281dc
Author: kaipe <kaipe>
Date:   Fri, 01 Aug 2003 16:37:11 +0800
Tag:    v1.1.0

New question type - multianswer

commit 44fc346f459c6ebd50585a31ec5117435b35afb2
Author: kaipe <kaipe>
Date:   Tue, 29 Jul 2003 17:11:06 +0800
Tag:    v1.1.0

Refactoring only, no new features - Modified methods are quiz_get_answers and quiz_grade_attempt_results. For quiz_grade_attempt_results, the switch statement has been separated out into method quiz_grade_attempt_question_result.