-
New Feature
-
Resolution: Fixed
-
Major
-
4.0, 4.3
-
MOODLE_400_STABLE, MOODLE_403_STABLE
-
MOODLE_404_STABLE
-
In the past people have asked for this in different ways. For example, calculating the grade for each section of the quiz, or based on the question bank category each question is in, but these are all just variants of the same underlying requirement: Having a student’s attempt at a particular quiz lead to several grades in the gradebook.
There are other related grading requirements I have seen people ask for here. One goes like this: “To pass this quiz, students need to get an overall grade of 70%, but also, they need to get at least 50% on questions 7, 8 and 9 combined”. I think that the changes we propose to make can solve this. If the quiz puts two grades into the gradebook, one “overall grade” and one “grade for questions 7, 8 and 9” then you can use gradebook calculations to work out the right final result based on those two. Since this can be done in the gradebook, we should not duplicate that type of logic in the Quiz itself.
Obviously, more detail is required before this can be implemented.
Note, there are several duplciates, or near-duplicates of this, which I need ot sort out properly at some point:
- MDL-21977 Quiz Reporting by Standards or Objectives
MDL-61548Implement subscores in Quiz moduleMDL-53639Quizzes should be able to report scores/marks/grades for each section/question category/tag
Proposed DB structure:
quiz_grade_items ( -- New table.
|
id INT AUTOINCREMENT,
|
quizid INT NOT NULL FK -> quiz.id
|
sortorder INT NOT NULL
|
name CHAR(255) NOT NULL,
|
)
|
-- Unique index on (quizid, sortorder)
|
|
|
quiz_slots ( -- Adding column to an existing table.
|
...
|
+ quizgradeitemid INT FK -> quiz_grade_items.id -- can be null, the default.
|
Here are some screen-grabs of what was implemented:
Initial state of the setup screen:
- caused a regression
-
MDL-83048 Quiz index bug when calling grade_out_of
- Waiting for peer review
-
MDL-81627 Quiz multiple grades: grade item for each slot is not being backed up and restored correctly
- Closed
-
MDL-82592 Quiz grade items: Set up a grade for each section does not handle descriptions correctly
- Closed
-
MDL-83038 Missing PAGE->url debugging when calling quiz grading page service
- Closed
- has a non-specific relationship to
-
MDL-21977 Quiz Reporting by Standards or Objectives
- Open
-
MDL-53639 Quizzes should be able to report scores/marks/grades for each section/question category/tag
- Closed
-
MDL-61548 Implement subscores in Quiz module
- Closed
- has a QA test
-
MDLQA-18441 Exploratory testing for multiple total grades in Quiz
- Open
-
MDLQA-18920 CLONE - Exploratory testing for multiple total grades in Quiz
- Passed
- has been marked as being related by
-
MDL-81599 mod_quiz_get_attempt_review WS should return null gradeitemmarks.grade before grading
- Open
-
MOBILE-4553 Apply multiple total grades in quiz (MDL-74610)
- Closed
- is blocked by
-
MDL-78962 core/loadingicon jsdocs needs updating to say that jQuery is not required
- Closed
-
MDL-76897 Move functions related to computing the quiz grade into a new class
- Closed
-
MDL-80880 Improve "Summary of your previous attempts" display on the quiz intro screen
- Closed
- is duplicated by
-
MDL-53639 Quizzes should be able to report scores/marks/grades for each section/question category/tag
- Closed
-
MDL-61548 Implement subscores in Quiz module
- Closed
- Testing discovered
-
MDL-81375 Quiz multiple grades - integrate grading setup into the main 'Questions' page
- Open