Skip to content

Commit

Permalink
KB-5545 | DEV| Assessment | BE | Enhancement in Consumption Logic fo…
Browse files Browse the repository at this point in the history
…r the OptionWeightage Assessment Type. (#623)

* KB-5545 | DEV| Assessment | BE | Enhancement in Consumption Logic for the OptionWeightage Assessment Type.

1. New Qtype added for option weightage.

* KB-5545 | DEV| Assessment | BE | Enhancement in Consumption Logic for the OptionWeightage Assessment Type.
  • Loading branch information
tarentomaheshvakkund authored Jun 24, 2024
1 parent 42900b6 commit bb2847b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ private void getMarkedIndexForEachQuestion(String questionType, List<Map<String,
break;
case Constants.MCQ_SCA:
case Constants.MCQ_MCA:
case Constants.MCQ_SCA_TF:
if (assessmentType.equalsIgnoreCase(Constants.QUESTION_WEIGHTAGE)) {
getMarkedIndexForQuestionWeightAge(options, marked);
} else if (assessmentType.equalsIgnoreCase(Constants.OPTION_WEIGHTAGE)) {
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/sunbird/common/util/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,9 @@ public class Constants {
public static final String SEQUENCE_NO = "seqno";
public static final String API_EXPLORE_COURSE_UPDATE = "api.explore.course.update";
public static final String API_EXPLORE_COURSE_DELETE = "api.explore.course.delete";
public static final String MCQ_MCA_W = "MCQ-MCA-W";
public static final String MCQ_MCA_W = "mcq-mca-w";
public static final String MCQ_SCA_TF = "mcq-sca-tf";

private Constants() {
throw new IllegalStateException("Utility class");
}
Expand Down

0 comments on commit bb2847b

Please sign in to comment.