gryphonshafer / cbqz

CBQZ Systems and Tools
MIT License
0 stars 1 forks source link

Quizmaster Language Prepending to Questions #13

Closed scottpeterson closed 6 years ago

scottpeterson commented 7 years ago

When writing questions, you don't write all the things the quizmaster has to say. But when the questions are presented to the QM, or when printed, they should include all the prescribed language:

REF: According to [BOOK], Chapter [x], verse [x], [Question]

QT: Quote [BOOK], Chapter [x], verse(s) [x]

Situation: I need to know [Who/how/to whom, etc], [Quotation Text]

gryphonshafer commented 7 years ago

I don't trust being able to do this without error across all cases (including all edge cases) live in a quiz. I think I'd feel safer if the automation-y work is done in the question editor, which would give the author the opportunity to override the automation-y results. This could be accomplished when the author selects the question type.

Doing it this way would break the writing flow a bit for some question types. For example, if an author selects INT, nothing happens, and so the flow of question, answer, type is logical. But if an author selects CVR after writing a valid CVR question, the appended "According to" may result in a duplication, so the flow would be better as type, question, answer (the way it was originally in QMA).

I'll need to think on this more, but it think moving type up above question will solve the flow issues in all cases and only result in a slightly less-than-ideal flow for INTs, which wouldn't be all that strange/weird for authors.

scottpeterson commented 7 years ago

I think there are only five different scenarios, and with the exception of Situation questions, simple to program. We should chat more.

scottpeterson commented 7 years ago

Though now that I am thinking about some of my edge question writing, vetting, fixing use cases, I can see some problems if you’re saving the entire question and any prepensing, in a single database column.