Issue Details (XML | Word | Printable)

Key: MDL-4004
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Hunt
Reporter: Mark Nielsen
Votes: 24
Watchers: 15
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Make the manual grading report work with random questions that pick manually graded questions

Created: 01/Sep/05 07:32 AM   Updated: 18/Feb/09 02:35 AM
Return to search
Component/s: Quiz
Affects Version/s: 1.6.4, 1.7.1
Fix Version/s: 1.9.4

File Attachments: 1. Text File MDL-4004-essay_questions_in_random.patch (2 kB)
2. Text File moodle-1.6.4plus-MDL4004-essay_questions_in_random.patch (2 kB)

Environment: All
Issue Links:
Blockers
 
Dependency
 
Duplicate
 

Participants: A. T. Wyatt, Ashley Holman, Mark Nielsen, Martin Dougiamas, Matt Oquist, Paulo Matos and Tim Hunt
Security Level: None
Resolved date: 28/Nov/08
Affected Branches: MOODLE_16_STABLE, MOODLE_17_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Encountered a problem for grading Essay Questions.

To reproduce the problem:
0. Edit the essay question type so that the method is_usable_by_random returns true.
1. Add a random question to a quiz and select category X for the random question.
2. In category X only have Essay Question(s)
3. Take the quiz as a student.
4. Go to the Manual Grading Tab as a Teacher and you will find that there are no essay questions to grade.

This is because of how the code checks for essay questions in the quiz. Go to line 256 in grading.php to see how it does this.

The random question type causes a lot of problems for grading Essay Questions because if the random question is pulling from Essays and non-essays then not every student will answer the question.

So, the method for how the grading code looks for essay questions in a quiz and the interface for grading essay questions need to be altered. I'm not entirely sure how random questions work so I am stuck on this problem at the present time.

Another solution is to add ESSAY to the excludedtypes array in random question type.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Paulo Matos made changes - 25/Oct/06 09:48 PM
Field Original Value New Value
Attachment MDL-4004-essay_questions_in_random.patch [ 10280 ]
Paulo Matos made changes - 30/Jan/07 10:46 PM
Tim Hunt made changes - 22/Mar/07 04:57 AM
Component/s Questions [ 10087 ]
Issue Type New Feature [ 2 ] Bug [ 1 ]
Summary Grading Random Essay Questions Manually grading random questions does not work
Component/s Quiz [ 10059 ]
Affects Version/s 1.6.4 [ 10150 ]
Priority Minor [ 4 ] Major [ 3 ]
Affects Version/s 1.7.1 [ 10151 ]
Affects Version/s 1.6 [ 10110 ]
Tim Hunt made changes - 22/Mar/07 04:58 AM
Link This issue is duplicated by MDL-8341 [ MDL-8341 ]
Tim Hunt made changes - 22/Mar/07 05:01 AM
Link This issue is duplicated by MDL-7698 [ MDL-7698 ]
Tim Hunt made changes - 14/Apr/07 05:38 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Tim Hunt made changes - 14/Apr/07 05:38 AM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Tim Hunt made changes - 21/Sep/07 12:32 AM
Link This issue blocks MDL-8648 [ MDL-8648 ]
Tim Hunt made changes - 21/Sep/07 12:43 AM
Issue Type Bug [ 1 ] New Feature [ 2 ]
Summary Manually grading random questions does not work Make the manual grading report worth with random questions that pick manually graded questions
Description Encountered a problem for grading Essay Questions.



To reproduce the problem:



1. Add a random question to a quiz and select category X for the random question.



2. In category X only have Essay Question(s)



3. Take the quiz as a student.



4. Go to the Manual Grading Tab as a Teacher and you will find that there are no essay questions to grade.



This is because of how the code checks for essay questions in the quiz. Go to line 256 in grading.php to see how it does this.



The random question type causes a lot of problems for grading Essay Questions because if the random question is pulling from Essays and non-essays then not every student will answer the question.



So, the method for how the grading code looks for essay questions in a quiz and the interface for grading essay questions need to be altered. I'm not entirely sure how random questions work so I am stuck on this problem at the present time.



Another solution is to add ESSAY to the excludedtypes array in random question type.
Encountered a problem for grading Essay Questions.

To reproduce the problem:
0. Edit the essay question type so that the method is_usable_by_random returns true.
1. Add a random question to a quiz and select category X for the random question.
2. In category X only have Essay Question(s)
3. Take the quiz as a student.
4. Go to the Manual Grading Tab as a Teacher and you will find that there are no essay questions to grade.

This is because of how the code checks for essay questions in the quiz. Go to line 256 in grading.php to see how it does this.

The random question type causes a lot of problems for grading Essay Questions because if the random question is pulling from Essays and non-essays then not every student will answer the question.

So, the method for how the grading code looks for essay questions in a quiz and the interface for grading essay questions need to be altered. I'm not entirely sure how random questions work so I am stuck on this problem at the present time.

Another solution is to add ESSAY to the excludedtypes array in random question type.
Component/s Quiz [ 10059 ]
Component/s Questions [ 10087 ]
Tim Hunt made changes - 26/Nov/08 05:19 PM
Fix Version/s 1.9.4 [ 10300 ]
Tim Hunt made changes - 28/Nov/08 03:06 PM
Resolution Fixed [ 1 ]
Status Reopened [ 4 ] Resolved [ 5 ]
Tim Hunt made changes - 28/Nov/08 03:07 PM
Link This issue will help resolve MDL-8648 [ MDL-8648 ]
Wen Hao Chuang made changes - 18/Feb/09 02:35 AM
Summary Make the manual grading report worth with random questions that pick manually graded questions Make the manual grading report work with random questions that pick manually graded questions