Allow negative marks for a question#706
Conversation
Moderator can set negative marks for a question. This handles the partial marks situation as well.
Negative marks will be available only for mcq and mcc questions on the add question interface. Also, on the safer side the negative marks are given only to the mcc and mcq questions at the backend.
|
Hello @prathamesh920! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
Codecov Report
@@ Coverage Diff @@
## master #706 +/- ##
==========================================
+ Coverage 76.69% 81.28% +4.58%
==========================================
Files 53 40 -13
Lines 7684 5732 -1952
Branches 1166 884 -282
==========================================
- Hits 5893 4659 -1234
+ Misses 1408 741 -667
+ Partials 383 332 -51
Continue to review full report at Codecov.
|
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #706 +/- ##
==========================================
+ Coverage 76.69% 76.72% +0.03%
==========================================
Files 53 53
Lines 7684 7694 +10
Branches 1166 1167 +1
==========================================
+ Hits 5893 5903 +10
Misses 1408 1408
Partials 383 383 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Moderator can set negative marks for a question.
This handles the partial grading situation as well.
Note: This is a basic negative marking feature.
This completely depends on the question attribute negative marks
Negative marks setting from Quiz is not included here(can be done as a separate PR if needed).
closes #333