This commit is contained in:
Tiago Ribeiro
2024-03-25 00:46:38 +00:00
parent 8ec72ff539
commit 08f05ac3e0

View File

@@ -383,7 +383,7 @@ def generate_reading_exercises(passage: str, req_exercises: list, number_of_exer
else: else:
exercises.append({}) exercises.append({})
print("Did not add write blanks because it did not respect word limit") print("Did not add write blanks because it did not respect word limit")
elif req_exercise == "paragraphMatch": elif req_exercise == "matchSentences":
question = gen_paragraph_match_exercise(passage, number_of_exercises, start_id) question = gen_paragraph_match_exercise(passage, number_of_exercises, start_id)
exercises.append(question) exercises.append(question)
print("Added paragraph match: " + str(question)) print("Added paragraph match: " + str(question))