+
+
+
type: MultipleChoiceChallenge
+unit: {html.escape(item.unit)}
+subskill: {html.escape(item.subskill)}
+
+
📋 Stem (Assignment)
+
{html.escape(item.assignment)}
+
+
🔘 Options {length_status}
+
{options_html}
+ {length_warnings_html}
+
+
📚 Course Alignment
+
+ {embedded_refs_html if embedded_refs_html else curated_refs_html if curated_refs_html else '
No course content reference found - add course_content_reference field
'}
+
+
+
🔍 Keyword Matches (automated fallback)
+
+ {video_refs_html if video_refs_html else '
No keyword matches found
'}
+
+
'''
+
+ # Calculate rotation info
+ positions = [ei.item.correct_position for ei in enriched_items]
+ rotation_html = " → ".join(str(p) for p in positions)
+
+ return f'''
+
+
+