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

[#12547] Empty weights for MCQ #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

peasantbird
Copy link
Owner

@peasantbird peasantbird commented Dec 21, 2024

My experimental PR for CS3281! Targets Issue 12547

Outline of Solution

  1. Allow weights to be null in validateQuestionDetails()
  2. Update tooltip for "Options are weighted" checkbox
  3. Show '-' for weighted percentages for options with empty weights
  4. Update headers in per recipient statistics to show empty weights (denoted by Option[-])
  5. Calculate correct total and average scores (skip over empty weights)
  6. Show '-' for total and average when all options have empty weights

Screenshots

MCQ with empty weights can be saved:

image

MSQ with empty weights can be saved:

image

MCQ Feedback session results:

When all weights are empty:

image

With one or more non-empty weights:

image

MSQ Feedback session results:

When all weights are empty:

image

With one or more non-empty weights:

image

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 this pull request may close these issues.

1 participant