jhudsl / ottrpal

Tools for converting OTTR courses into Leanpub or Coursera courses :otter:
https://jhudatascience.org/ottrpal/
GNU General Public License v3.0
3 stars 1 forks source link

Accommodate `!` to start questions #112

Closed avahoffman closed 1 year ago

avahoffman commented 1 year ago

Purpose/implementation Section

https://github.com/datatrail-jhu/DataTrail_Quizzes/actions/runs/3605669950/jobs/6076290643

Leanpub quiz checks are failing because fill-in-the-blank questions that use regex (e.g., the second quiz here) are not considered "correct answers" by the ottrpal check. the parse_quiz_df function looks only for a uppercase) pattern, not the ! pattern, which should be fine according to markua docs.

What changes are being implemented in this Pull Request?

Accommodate correct fill in the blank questions that start with ! . Basically, looks for C) OR ! to start the answer.

carriewright11 commented 1 year ago

Also sorry I didn't see this! I am going to check my email further to see why I missed it :(