Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple choice grading policy for multiple selectable answers: You need select n correct options to get the quiz item right. #767

Open
HegePI opened this issue May 6, 2021 · 0 comments · May be fixed by #784
Assignees

Comments

@HegePI
Copy link
Contributor

HegePI commented May 6, 2021

enum MultipleSelectedOptionsGradingPolicy {
  NeedToSelectAllCorrectOptions,
  NeedToSelectNCorrectOptions,
}

quiz_item:

multiple_selected_options_grading_policy MultipleSelectedOptionsGradingPolicy
integer multiple_selected_options_grading_policy_n

min 1 oikein

[x] Oikein
[x] Oikein
[ ] Oikein
[ ] Väärin
[ ] Väärin

The relevant code branch is where the quizItem.multi is true:

quizItemAnswer.correct = quizItem.multi

@HegePI HegePI self-assigned this May 17, 2021
@HegePI HegePI linked a pull request May 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant