MDL-42105 questions: let attempts have a max fraction > 1.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Wed, 2 Oct 2013 13:48:33 +0000 (14:48 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 4 Oct 2013 16:52:19 +0000 (17:52 +0100)
commit4e3d829350867491c3cf6d8651a09d26904c7b85
treec976b033041e49da7ed657400aac607a5c5a3e42
parent474aa125ca2f79cc6cfe6e2a3932ea25aa294c62
MDL-42105 questions: let attempts have a max fraction > 1.

This parallels question_attempt->minfraction, which allows the
fractional mark to go below zere.

This is needed to allow the certainty-base marking behaviours to work
better.
38 files changed:
admin/tool/qeupgradehelper/locallib.php
backup/moodle2/backup_stepslib.php
backup/moodle2/restore_stepslib.php
lang/en/question.php
lib/db/install.xml
lib/db/upgrade.php
question/behaviour/behaviourbase.php
question/behaviour/deferredcbm/behaviour.php
question/behaviour/immediatecbm/behaviour.php
question/behaviour/missing/behaviour.php
question/behaviour/missing/tests/missingbehaviour_test.php
question/behaviour/rendererbase.php
question/engine/datalib.php
question/engine/lib.php
question/engine/questionattempt.php
question/engine/questionattemptstep.php
question/engine/tests/helpers.php
question/engine/tests/questionattempt_db_test.php
question/engine/tests/questionattempt_with_steps_test.php
question/engine/tests/questionusagebyactivity_test.php
question/engine/tests/unitofwork_test.php
question/engine/upgrade/behaviourconverters.php
question/preview.php
question/type/calculated/tests/upgradelibnewqe_test.php
question/type/calculatedmulti/tests/upgradelibnewqe_test.php
question/type/calculatedsimple/tests/upgradelibnewqe_test.php
question/type/description/tests/upgradelibnewqe_test.php
question/type/essay/tests/upgradelibnewqe_test.php
question/type/match/tests/upgradelibnewqe_test.php
question/type/multianswer/question.php
question/type/multianswer/tests/upgradelibnewqe_test.php
question/type/multichoice/tests/upgradelibnewqe_test.php
question/type/numerical/tests/upgradelibnewqe_test.php
question/type/questionbase.php
question/type/random/tests/upgradelibnewqe_test.php
question/type/shortanswer/tests/upgradelibnewqe_test.php
question/type/truefalse/tests/upgradelibnewqe_test.php
version.php