-
Notifications
You must be signed in to change notification settings - Fork 30
Radio with custom integer values is not graded properly on correct answer #135
Copy link
Copy link
Open
Labels
area: configRelated to course configurationRelated to course configurationarea: grading quizzesQuiz featureQuiz featureeffort: hoursThe issue seems to be small and should be doable in hours or few days.The issue seems to be small and should be doable in hours or few days.experience: beginnerrequired knowledge estimaterequired knowledge estimaterequester: Aalto teacherThe issue is raised by a teacher from Aalto UniversityThe issue is raised by a teacher from Aalto Universitystatus: requires a priorityusing this label to flag that need EDIT decision ASAPusing this label to flag that need EDIT decision ASAPtype: bugThis is a bug.This is a bug.
Description
Metadata
Metadata
Assignees
Labels
area: configRelated to course configurationRelated to course configurationarea: grading quizzesQuiz featureQuiz featureeffort: hoursThe issue seems to be small and should be doable in hours or few days.The issue seems to be small and should be doable in hours or few days.experience: beginnerrequired knowledge estimaterequired knowledge estimaterequester: Aalto teacherThe issue is raised by a teacher from Aalto UniversityThe issue is raised by a teacher from Aalto Universitystatus: requires a priorityusing this label to flag that need EDIT decision ASAPusing this label to flag that need EDIT decision ASAPtype: bugThis is a bug.This is a bug.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
No status
If I have a submit exercise with a radio field:
All options are correct so I should receive points regardless of which one I pick, but the result is always 0 points.
I believe I've located the cause to the method
grade_radiomooc-grader/access/types/forms.py
Lines 742 to 759 in 5b8b120
Where on line 752 the
if name == valueis performing a str to int comparison, so it is always false.