This handles migration of selections of sections from pools, as needed for Logic and Proofs migration (and also used in Chem II). A section may contain a mix of content pieces -- typically exactly one at the beginning -- and multiple questions. It works by forming a single merged multi-input (or response_multi) question from the section elements, including all content elements in the question stem and with all constituent questions as parts. This only works for constituent questions of type multi-input, response_multi, or multiple choice, but these are the only types we have encountered in actual courses.
This also adds question titles to stems, needed to migrate the L&P pools, and takes the opportunity to embed any optional common pool prologue content into the question stem in all cases (not just sections).
This handles migration of selections of
sections
from pools, as needed for Logic and Proofs migration (and also used in Chem II). A section may contain a mix of content pieces -- typically exactly one at the beginning -- and multiple questions. It works by forming a single merged multi-input (or response_multi) question from the section elements, including all content elements in the question stem and with all constituent questions as parts. This only works for constituent questions of type multi-input, response_multi, or multiple choice, but these are the only types we have encountered in actual courses.This also adds question titles to stems, needed to migrate the L&P pools, and takes the opportunity to embed any optional common pool prologue content into the question stem in all cases (not just sections).