Feature #3648
Updated by Ram Kordale 5 months ago
Instead of getting it from the GCS file, get questions from get_questions API (ticket 3647). API. High level scheme is to ask 5 questions of 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 can 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.