Fix for #14841: Properly weight wrong answers
Previously, a single wrong answer was sufficient for a question to get a 0% score. With this change, they are counted as much as a correct answer. The only difference now is that they reduce the overall score of a question. See test cases for a few examples.
Showing
- src/main/java/de/thm/arsnova/domain/QuestionBasedLearningProgress.java 10 additions, 13 deletions.../de/thm/arsnova/domain/QuestionBasedLearningProgress.java
- src/test/java/de/thm/arsnova/domain/QuestionBasedLearningProgressTest.java 75 additions, 0 deletions...thm/arsnova/domain/QuestionBasedLearningProgressTest.java
Please register or sign in to comment