-
-
Notifications
You must be signed in to change notification settings - Fork 166
Make the problem graders also save the sub_status when needed. #2875
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
base: develop
Are you sure you want to change the base?
Make the problem graders also save the sub_status when needed. #2875
Conversation
|
Perhaps this should be considered for a hotfiix. |
|
Also note that achievement item usage does not need a fix here. Achievement items already set the |
1e1bf20 to
0ba60d9
Compare
Basically, anytime that reduced scoring is not enabled or if it is but it is before the reduced scoring period, then the sub_status needs to also be set to the same thing as the status. Otherwise the "unreduced" score will not be computed correctly. So the problem graders now take this into account. This fixes issue openwebwork#2873.
0ba60d9 to
81dc61b
Compare
|
I set out to test this, starting out by going to the develop branch (on both pg and sebwork2). I wanted to repeat the issue first. For both repos, I ran npm ci, and then restarted webwork2. But now when I click to Save the score I enter, I get an error message This is any time I try to use the grader, not just the conditions from #2873. Are you still able to produce the original issue on develop? Does this other error arise for you? |
|
I must be having some other issue. The library browser is all messed up too, not rendering problems. |
|
Do you have a configuration issue with your development server (maybe the rpc isn't trying to talk to the right location?) |
|
Do you have perlcritic installed? That is a new dependency due to the merge of the pg critic pull requests. I tested the develop branch on my remove production server and had the same issue, and the reason was that I did not have perlcritic installed. On Ubuntu install the Note that the server will work without having the package installed, but the webwork web service will fail to compile, particularly the We need to remember to add this to the installation instructions and release notes. |
|
Note that the |
|
Also note that |
Basically, anytime that reduced scoring is not enabled or if it is but it is before the reduced scoring period, then the sub_status needs to also be set to the same thing as the status. Otherwise the "unreduced" score will not be computed correctly. So the problem graders now take this into account.
This fixes issue #2873.