diff --git a/helper/constants.py b/helper/constants.py index 2692aef..975a5b6 100644 --- a/helper/constants.py +++ b/helper/constants.py @@ -16,7 +16,7 @@ GRADING_FIELDS = ['comment', 'overall', 'task_response'] GEN_FIELDS = ['topic'] GEN_TEXT_FIELDS = ['title'] LISTENING_GEN_FIELDS = ['transcript', 'exercise'] -READING_EXERCISE_TYPES = ['multipleChoice', 'fillBlanks', 'writeBlanks', 'trueFalse'] +READING_EXERCISE_TYPES = ['fillBlanks', 'writeBlanks', 'trueFalse'] LISTENING_EXERCISE_TYPES = ['multipleChoice', 'writeBlanksQuestions', 'writeBlanksFill', 'writeBlanksForm'] TOTAL_READING_PASSAGE_1_EXERCISES = 13 diff --git a/helper/exercises.py b/helper/exercises.py index 63f8c24..f09a19a 100644 --- a/helper/exercises.py +++ b/helper/exercises.py @@ -297,11 +297,7 @@ def generate_reading_exercises(passage: str, req_exercises: list, number_of_exer for req_exercise in req_exercises: number_of_exercises = number_of_exercises_q.get() - if req_exercise == "multipleChoice": - question = gen_multiple_choice_exercise(passage, number_of_exercises, start_id, difficulty) - exercises.append(question) - print("Added multiple choice: " + str(question)) - elif req_exercise == "fillBlanks": + if req_exercise == "fillBlanks": question = gen_summary_fill_blanks_exercise(passage, number_of_exercises, start_id, difficulty) exercises.append(question) print("Added fill blanks: " + str(question))