:py:mod:`oioioi.zeus.controllers` ================================= .. py:module:: oioioi.zeus.controllers Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.zeus.controllers.ZeusProblemController .. py:class:: ZeusProblemController(problem) Bases: :py:obj:`oioioi.programs.controllers.ProgrammingProblemController` Defines rules for handling specific problem. Every method should: * be called from contest controller * or be specific for problems that this controller controls Please note that a global problem instance exists for each problem. That problem instance has no contest (``contest`` is ``None``), so methods can't be overridden by a contest controller which means they behave in a default way. .. py:attribute:: description .. py:method:: generate_base_environ(environ, submission, **kwargs) .. py:method:: generate_recipe(kinds) .. py:method:: fill_evaluation_environ(environ, submission, **kwargs) Fills a minimal environment with evaluation receipt and other values required by the evaluation machinery. Passed ``environ`` should already contain entries for the actiual data to be judged (for example the source file to evaluate). Details on which keys need to be present should be specified by particular subclasses. As the result, ``environ`` will be filled at least with a suitable evaluation ``recipe``.