-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
area: configRelated to course configurationRelated to course configurationarea: grading quizzesQuiz featureQuiz featureeffort: daysSolving this issue could take days. Starting with the creation of a new branch to the mergingSolving this issue could take days. Starting with the creation of a new branch to the mergingexperience: moderaterequired knowledge estimaterequired knowledge estimatepriority: lowrequester: Aalto teacherThe issue is raised by a teacher from Aalto UniversityThe issue is raised by a teacher from Aalto Universitytype: bugThis is a bug.This is a bug.
Description
If the exercise status is set to "enrollment" by using the append_content
variable in conf.py, then the grader code in the form feedback does not know that the exercise is for enrollment. The feedback contains the "correct/incorrect" lines that have been removed in enrollment exercises. In other words, the is_enrollment_exercise
only sees the status defined in the exercise config.yaml and it is unaware of the exercise status in index.yaml. (Using append_content
adds the status only in index.yaml.)
mooc-grader/access/types/forms.py
Lines 374 to 375 in 7ddb43a
def is_enrollment_exercise(self): | |
return self.exercise.get('status', '') in ('enrollment', 'enrollment_ext') |
If the status "enrollment" is added in the questionnaire RST directive or manually in the exercise config.yaml, then it works.
Metadata
Metadata
Assignees
Labels
area: configRelated to course configurationRelated to course configurationarea: grading quizzesQuiz featureQuiz featureeffort: daysSolving this issue could take days. Starting with the creation of a new branch to the mergingSolving this issue could take days. Starting with the creation of a new branch to the mergingexperience: moderaterequired knowledge estimaterequired knowledge estimatepriority: lowrequester: Aalto teacherThe issue is raised by a teacher from Aalto UniversityThe issue is raised by a teacher from Aalto Universitytype: bugThis is a bug.This is a bug.