
| Key: |
MDL-4004
|
| Type: |
New Feature
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Tim Hunt
|
| Reporter: |
Mark Nielsen
|
| Votes: |
24
|
| Watchers: |
15
|
|
|
|
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.
|
|
Description
|
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. |
Show » |
tjhunt committed 6 files to 'Moodle CVS' - 28/Nov/08 03:07 PM
random essay questions: MDL-8648 Allow essay questions to be selected by random question.
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.
The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.
I also changed the random question code so that I could remove some global variables.
|
|
|
tjhunt committed 6 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 28/Nov/08 03:07 PM
random essay questions: MDL-8648 Allow essay questions to be selected by random question.
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.
The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.
I also changed the random question code so that I could remove some global variables.
|
|
|
|