flexeval.classes.eval_runner#
Classes
|
Class for maintaining database connection, logs, and run state Does not need to write anything to database itself. |
- class flexeval.classes.eval_runner.EvalRunner(evalrun: EvalRun)[source]#
Bases:
objectClass for maintaining database connection, logs, and run state Does not need to write anything to database itself.
- database: SqliteDatabase#
- initialize_database()[source]#
Initializes database and tables. If config.clear_tables, then current contents of tables are dropped.
- initialize_logger(add_stream_handler: bool = False)[source]#
Configure the logger for this class.
- Parameters:
add_stream_handler (bool, optional) – If True, will add a stream handler at the INFO level. Defaults to False.