Skip to content

Commit

Permalink
Merge pull request #605 from tarentomaheshvakkund/4.8.15-assessmentBu…
Browse files Browse the repository at this point in the history
…gFix

KB-5130 | DEV| Assessment | BE | Enhancement in Consumption Logic for  the QuestionWeightage Assessment Type.
  • Loading branch information
sureshece16 authored Jun 15, 2024
2 parents 6c0460d + 2c6c163 commit da0e19f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,10 @@ public Map<String, Object> validateQumlAssessmentV2(Map<String, Object> question
String assessmentType= (String)questionSetDetailsMap.get(Constants.ASSESSMENT_TYPE);
String negativeWeightAgeEnabled;
int negativeMarksValue = 0;
int minimumPassPercentage = (int) questionSetDetailsMap.get(Constants.MINIMUM_PASS_PERCENTAGE);
int minimumPassPercentage = 0;
if (questionSetDetailsMap.get(Constants.MINIMUM_PASS_PERCENTAGE) != null) {
minimumPassPercentage = (int) questionSetDetailsMap.get(Constants.MINIMUM_PASS_PERCENTAGE);
}
Integer totalMarks= (Integer) questionSetDetailsMap.get(Constants.TOTAL_MARKS);
Map<String, Object> resultMap = new HashMap<>();
Map<String, Object> answers = getQumlAnswers(originalQuestionList,questionMap);
Expand Down

0 comments on commit da0e19f

Please sign in to comment.