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

Also set sub_status when giving credit with achievement items (hotfix of #2521) #2525

Merged

Conversation

somiaj
Copy link
Contributor

@somiaj somiaj commented Aug 17, 2024

This is a hotfix of #2521.

This ensures that the progress bar reflects they have 'earned' full
credit on the problems.
'Gives half credit' seems ambiguous, for it could mean set the score
to 50% instead of increase the score by 50%. This updates the description
to indicate the score is increased to a maximum of 100%.
drgrice1 added a commit to drgrice1/webwork2 that referenced this pull request Aug 18, 2024
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.
drgrice1 added a commit to drgrice1/webwork2 that referenced this pull request Aug 18, 2024
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.
@somiaj somiaj force-pushed the full-credit-update-sub-status-hotfix branch from 311a2bf to 592eb2c Compare August 19, 2024 00:52
@drgrice1 drgrice1 merged commit bdeee61 into openwebwork:main Aug 20, 2024
4 checks passed
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