-
Notifications
You must be signed in to change notification settings - Fork 22
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
Attestation not possible although task expired #306
Comments
This problem also appears on our Praktomat instance. A fix would be nice. |
Today I found out that .../admin/tasks/task/ -> Action: Run all checkers -> Go after selecting the respective task does set the flag, so that attestation then is possible. Chris |
I think a small change in python or template could solve the issue. But I have to much "open H-BRS pullrequests" which I had to update all the time, so that they stay mergeable in case KITPraktomatTeam want to merge them suddenly... |
Inside the template I had a look to the corresponding code inside function Praktomat/src/attestation/views.py Line 191 in aafbeb1
But your point is independent from the way to determine the Praktomat/src/templates/attestation/attestation_list.html Lines 75 to 80 in aafbeb1
If you do not start "run_all_checkers" for a task and want to attest final solutions of a task after |
@chris21k @kfriedberger If you remove the lines 78 to 80 from Praktomat/src/templates/attestation/attestation_list.html Lines 78 to 80 in aafbeb1
than you should be able to attest the solutions without having to run task.run_all_checkers .
But why do you want to attest a solution without having the checker outputs? |
Well, I can only answer this from my perspective: if a task only contains checkers that run at submission time, there's no need to run all checkers again after the task expired. All the checker outputs are present already. In this case, it makes sense that |
I see, that is true. In our setting we are using "Pretests" and "Posttests". Our Pretests show students if they are on the right way. |
I hink, this issue is light connected to #219 . |
Although a task is expired, no attestation is possible. The .../task/<task_no>/attestation/ page shows "Not all checker have yet been run." Note, this is also true after selecting all solutions and "Run Checker for selected solutions" on .../admin/solutions/solution/ .
After setting "UPDATE tasks_task SET all_checker_finished=true WHERE id=<task_no>;" in the db, attestation is possible.
Thx for Praktomat and its maintenance,
Chris
The text was updated successfully, but these errors were encountered: