fubralimited/WP-Survey-And-Quiz-Tool — pull request #187 by iteaman (2012-08-24 19:17:21+00:00)
Title: Automark incaseof freetext

Now automarking is disabled when there is 1 or more "freetext questions".
However, automarking is a neat feature that people would want to use even if there is an element that cannot be automarked (e.g. the freetext is a "bonus" question)

Therefore added the option "Auto mark when freetext questions" to the interface of the "quiz -> edit" tab, with three values:

- no
- yes - include freetext
- yes - exclude freetext

They are an answer to the question:

"Automark questions that can be automarked, although the quiz contains freetext or open questions which cannot?"

Values: 'no' and 'yes - include freetext' will mark freetext questions as 'incorrect',
Value: 'yes - exclude freetext' will ignore the freetext questions' and not add them to the $totalPoints (which results in a higher score)

examples:
2 freetext, 1 multiple, 3 single
all muliple/single questions answered correctly.
Result for setting the option AutoMarkWhenFreetext to:

- no	"Total Points quiz can't be auto marked"
- yes include freetext	"Total Points 4 correct out of 6" (66%)
- yes exclude freetext	"Total Points 4 correct out of 4" (100%)

which can make a difference whether the quiz result is marked as a fail.