oioioi.programs.views
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets tests' ids from |
|
Prepares re-submission for generating user outputs and runs judging. |
|
|
|
Attributes¶
- oioioi.programs.views._testreports_to_generate_outs(request, testreports)[source]¶
Gets tests’ ids from
testreports
without generated or processing right now outs. Returns list of tests’ ids.
- oioioi.programs.views.generate_user_output_view(request, testreport_id=None, submission_report_id=None)[source]¶
Prepares re-submission for generating user outputs and runs judging.
If there are no test reports’ ids given as argument, then all tests from reports with the
submission_report_id
would be used for generating user outs. In that casesubmission_report_id
is required. Note that it uses only tests without already generated outs.Also adjusts already generated outs visibility for users on tests originally generated by admin.