Bug #3768
Handle correct options in FE
Start date:
11/12/2024
Due date:
% Done:
100%
Estimated time:
0.25 h
Description
If there are multiple correct options for a given question, we save the 'Answer' data in format: <correct_option1>%^&<correct_option2>%^&<correct_option3>%^&.....
Taking example if we have the data Answer: "AA%^&DD", otherChoices: "BB%^&CC"
- a. BB
- b. CC
- c. AA%^&DD
While there are expected 4 options (answer expected from FE should be: 'c, d' OR 'd, c'): - a. BB
- b. CC
- c. AA
- d. DD
Currently FE is directly parsing the answer data as a single option. Going forward handle this type of answer data and display each option separately. The accepted answer can be any permutation of correct answers (suppose option a and c are correct): a, c and c, a should be accepted.
Updated by Shubham Boke 18 days ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
Updated by Shubham Boke 18 days ago
- Status changed from Resolved to Review
- Assignee changed from Shubham Boke to Parag Patil