improve assignment grading_type conversion
Merge pull request #62 from maneframe/grading

improve assignment grading_type conversion