Allow negative marks for a question#706
Open
prathamesh920 wants to merge 3 commits intoFOSSEE:masterfrom
Open
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.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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