:py:mod:`oioioi.testrun.models` =============================== .. py:module:: oioioi.testrun.models Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.testrun.models.TestRunProgramSubmission oioioi.testrun.models.TestRunConfig oioioi.testrun.models.TestRunReport Functions ~~~~~~~~~ .. autoapisummary:: oioioi.testrun.models.make_custom_input_filename oioioi.testrun.models.make_custom_output_filename .. py:function:: make_custom_input_filename(instance, filename) .. py:class:: TestRunProgramSubmission(*args, **kwargs) Bases: :py:obj:`oioioi.programs.models.ProgramSubmission` Make subclasses preserve the alters_data attribute on overridden methods. .. py:attribute:: __test__ :annotation: = False .. py:attribute:: input_file .. py:function:: make_custom_output_filename(instance, filename) .. py:class:: TestRunConfig(*args, **kwargs) Bases: :py:obj:`django.db.models.Model` Represents a test run config for problem instance. Test run for program is enabled iff this model exits. .. py:class:: Meta Bases: :py:obj:`object` .. py:attribute:: verbose_name .. py:attribute:: verbose_name_plural .. py:attribute:: __test__ :annotation: = False .. py:attribute:: problem_instance .. py:attribute:: test_runs_limit .. py:attribute:: time_limit .. py:attribute:: memory_limit .. py:class:: TestRunReport(*args, **kwargs) Bases: :py:obj:`django.db.models.Model` Make subclasses preserve the alters_data attribute on overridden methods. .. py:attribute:: __test__ :annotation: = False .. py:attribute:: submission_report .. py:attribute:: status .. py:attribute:: comment .. py:attribute:: time_used .. py:attribute:: test_time_limit .. py:attribute:: output_file