oioioi.programs.utils
¶
Module Contents¶
Functions¶
|
|
|
Adds results of all tests inside a test group. |
|
Gets minimal result of all tests inside a test group. |
|
|
|
Full score if took less than half of limit and then decreasing to 1 |
|
|
|
Returns the submission source and filename |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- oioioi.programs.utils.sum_group_scorer(test_results)[source]¶
Adds results of all tests inside a test group.
- exception oioioi.programs.utils.UnequalMaxScores[source]¶
Bases:
ValueError
Inappropriate argument value (of correct type).
- oioioi.programs.utils.min_group_scorer(test_results)[source]¶
Gets minimal result of all tests inside a test group.
- oioioi.programs.utils.threshold_linear_test_scorer(test, result)[source]¶
Full score if took less than half of limit and then decreasing to 1