eqi.utils.state_keeper module

class eqi.utils.state_keeper.StateKeeper(directory)

Bases: object

EQI_CAMPAIGN_STATE_FILE_NAME = '.eqi_campaign_state.json'

Stores information about EQI execution

Parameters:
  • directory (string) – the root directory where the information will be stored
  • campaign (Campaign) – the EasyVVUQ Campaign object from which the StateKeeper will be inited
setup(campaign)

Initialises StateKeeper with campaign

Parameters:campaign (Campaign) – the EasyVVUQ Campaign object from which the StateKeeper will be inited
write_to_state_file(data)
get_from_state_file()