I'm thinking about writing one or more xblocks to present problems exactly like Khan Academy does: in a modal, asking students to get a certain number right in a row.
I feel that I'd like the xblock to be on the subsection level instead of the unit level, so I can use existing problem types.
The philosophy behind Khan Academy is called mastery learning. So what I would like to create is a mastery learning xblock.
Because learners could get questions wrong a lot, the library would need to contain maybe around one or two hundred variations on the same question. Question variations could be generated outside Open edX in OLX and imported, so I'm not very concerned about that.
My questions at this point in time are:
Is an xblock on the subsection level a good idea? Could I capture and 'hijack' grading events of lower xblocks?
There is not much documentation on writing xblocks not on the unit level. Maybe writing a 'mastery learning' version of every major problem type would be better, but somehow it doesn't feel right. (Or DRY, do not repeat yourself, an important coding principle).
Thanks for your input.