mlrl.testbed.modes.util module

Author: Michael Rapp (michael.rapp.ml@gmail.com)

Provides utility classes to be used by different modes of operation.

class mlrl.testbed.modes.util.OutputUtil(args: Namespace, recipe: Recipe, command: Command, input_directory: Path, file_sinks_only: bool = False)

Bases: object

A utility class for reading experimental results produced by a specific command.

class ReadProcedure

Bases: ExperimentalProcedure

A procedure that allows reading the output files produced by a single experiment.

check_if_output_files_exist() bool

Returns whether all experimental results do already exist or not.

Returns:

True, if all experimental results do already exist, False otherwise

read_output_files() ExperimentState

Reads the experimental results and writes them to sinks.

Returns:

A state that stores the experimental results that have been read in its extras