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

Cap the computed unreduced score at 1. (hotfix of #2530) #2531

Merged

Conversation

drgrice1
Copy link
Sponsor Member

If an instructor increases a problem score using a problem grader, or an achievement item is used that increases the score, then the computed unreduced score can be greater than 1. This causes issues when that computed score is used at various places in the code (for example the progress bar). So this caps the computed score at 1.

This is an alternate and better solution than #2521 and #2525.

If an instructor increases a problem score using a problem grader, or an
achievement item is used that increases the score, then the computed
unreduced score can be greater than 1.  This causes issues when that
computed score is used at various places in the code (for example the
progress bar).  So this caps the computed score at 1.

This is an alternate and better solution than openwebwork#2521 and openwebwork#2525.
@Alex-Jordan Alex-Jordan merged commit 6fdc8d9 into openwebwork:main Aug 20, 2024
2 checks passed
@drgrice1 drgrice1 deleted the cap-computed-unreduced-score-hotfix branch August 20, 2024 20:45
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.

3 participants