Project

General

Profile

Feature #3648

FE: get questions according to user's style preferences using get_questions api

Added by Ram Kordale 5 months ago. Updated 5 months ago.

Status:
New
Priority:
High
Assignee:
-
Start date:
07/10/2024
Due date:
% Done:

100%

Estimated time:
0.40 h (Total: 1.25 h)

Description

Instead of getting it from the GCS file, get questions from get_questions API (ticket 3647).

High level scheme is to ask 5 questions each in each of the user's preferred styles. This should be done across sessions also. The last style used S, the last question asked Q and the list of questions L should be kept track in browser storage.

If L is not in browser storage, call gcf get_questions_list(1) (ticket 3656) and store L.

Ask user questions in order from L.

Styles that user selects as per ticket 3638 are user preferred styles. Decide on the style for the next 5 questions in round-robin order.

Based on the above, decide on the style for the next 5 questions and call get_questions (ticket 3647).

For this ticket, fetch the question just before you have to show the question. later, we will cache it before hand.

Some notes:
-Everything between one occurrence of #$Exercise: <exercise#> and the next is one question.


Subtasks

Feature #3657: FE: Decide next question to ask and its styleClosed07/10/2024Ram Kordale

Actions
Feature #3658: FE: get questions from get_questions API instead of GCS fileFeedback07/10/2024Ayanava Karmakar

Actions

Also available in: Atom PDF