generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Current Behavior
The archetypes/test.md show multiple-choice questions with multiple correct answers using type: "mcq" with an additional multiple_answers: true field. This configuration is incorrect and may cause rendering or functionality issues.
Current (Incorrect) Implementation
Environment
- Host OS: All (documentation issue)
--- Expected Behavior
Questions with multiple correct answers should use type: "multiple-answers" without the multiple_answers: true field. The type declaration alone should determine the question behavior.
- id: "q4"
text: "What are the purposes of the 'defer' keyword in Go? (Select all that apply)"
type: "multiple-answers"
marks: 2
explanation: "..."
options:
- id: "a"
text: "..."
is_correct: trueIssues
- The
typeshould be"multiple-answers"instead of"mcq" - The
multiple_answers: truefield should be removed (it's redundant)
Question Type Reference
type: "mcq"- Single correct answer (radio buttons)type: "multiple-answers"- Multiple correct answers (checkboxes)type: "short_answer"- Text input for short responses
Impact
This incorrect documentation may lead users to configure their test questions incorrectly, potentially causing rendering or functionality issues.
Contributor Guide and Resources
- 📚 Instructions for contributing to academy-theme
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working