Project

General

Profile

Task #3755

Updated by Ram Kordale about 1 month ago

See 'test book v3.txt'. 

 1. Questions can come with following line formats with different amount of spacing before/after delimiters: 
 #$%Question <string><number> <number> 
 ###Question <string><number> <number> 
 ** Question <string><number> <number> ** 

 2. One or more of Text, Reference, Concepts or Explanation may be missing. If neither Text nor Explanation is available, skip showing that step to the user. Otherwise, show everything other than the Concepts part. 

 3. When Reference is missing from all parts of detailed solution, categorize that question to be from the 'All Sections' Category. 

 4. Normally, a clarification question will be immediately followed by <answer>. Sometimes, it will be followed by "Answer: <answer>". This will be followed by pairs of clarification question and answer. However, sometimes, all clarification questions will be together followed by answers to all the clarification questions. This needs to be handled by looking for "Answer:" in these 2 ways. 

 5. Ensure delimiters are not shown to the user. 

 6. Support the following by not showing any clarification questions 
 #$%Clarification questions: 
 None. 

 7. Components can appear in any order. For example, clarification questions may appear after Detailed Solution. 

 8. Sometimes, detailed solution will have 'Step' with or without a step number. Dont show this "Step" line to the user. 

 9. If the values for 'Text' is less than 6 words and contains the words 'No' and 'Match', please do not show 'Text' key-value pair. Same for 'Reference' also. 

 10. "Answer:" is followed by one or more correct options and sometimes followed with text. Use just the options part of the answer from the system and the user. 

 11. Multiple key value pairs may be on the same line. 

 12. If Text is less than 6 words or Reference field is absent for one or more of the steps of the detailed solution, unless 'Concepts' contains only any of these phrases 'Substitution', 'Simplification', 'and', 'Integration', 'Definite Integration', 'Algebra', do the following: 
 -If non-numerical MCQ, add 2 to 'Difficulty Score' 
 -If numerical MCQ, add 1 to 'Difficulty Score'  

 13. Maintain whitespace characters in the input while showing to the user. 

 14. If keys without delimiters are found, print out "#$%Problem found in Question <Question number>, line <line number of file>". [We are printing line number of the file also because question numbers are not unique.

Back