Tags: labxchange/labxchange-xblocks
Tags
Case Studies/Teaching Guides return original item usage_ids (#43) when returning data about their child attachments. labxchange-xblocks#42 was only a partial fix -- it returned original item usage_ids for children of sections, but we forgot about attachments. This change fixes this.
Fixes errors parsing question OLX (#41) * Fixes errors in prod Sometimes the node.text is None, and so running strip() on it causes an error. Sometimes the node contains inner HTML, and so this needs to be treated as content, not just text. * Parses child nodes/inner html for question text only, leaves hints and choice/options alone. Also fixes parsing issues revealed by question_block_test by using the xml tostring method instead of the lxml one, and adds some more tests.
Parses optionresponse answers sent from Open edX (#40) and adds tests. Open edX's CAPA single-answer optionresponse problems store the actual content of the chosen answer instead of the index. This change allows us to match the student's answer content with the index of the chosen answer.
PreviousNext