Project

General

Profile

Task #3750

Handle new format of questions numbers in FE. (except grade 5 and 6)

Added by Shubham Boke about 1 month ago. Updated about 1 month ago.

Status:
Review
Priority:
Urgent
Start date:
10/17/2024
Due date:
% Done:

100%

Estimated time:
0.65 h

Description

Currently we receive a question number in the format <chapter>.<exercise num>.<question num>. List of such question numbers is used to map:
1) Chapter to a list of exercises
2) Exercise to a list of questions
These lists are then used in their corresponding dropdowns

Going forward we have question numbers in the new format <chapter>-<section num>-<exercise num>-<type>-<difficulty>-<question num>. Write a separate logic to parse a list of such question numbers and map:
1) Chapter to a list of sections
2) Section to a list of exercises
3) Exercise to a list of questions
These list should facilitate the 'Section' dropdown that will be added by ticket http://34.67.50.25/issues/3747

Note: For grade 5 and 6, the current logic should be maintained. Only for grades other that these should be using the new logic.

#1

Updated by Shubham Boke about 1 month ago

  • Description updated (diff)
#2

Updated by Ram Kordale about 1 month ago

  • Priority changed from Normal to Urgent
#3

Updated by Ram Kordale about 1 month ago

  • Assignee set to Shubham Boke
  • Estimated time set to 0.65 h
#4

Updated by Shubham Boke about 1 month ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100
#5

Updated by Shubham Boke about 1 month ago

  • Status changed from In Progress to Resolved
#6

Updated by Shubham Boke about 1 month ago

  • Status changed from Resolved to Review
  • Assignee changed from Shubham Boke to Dewakar Chaubey

Also available in: Atom PDF