factor_agent.web.run_view.RunSummary#
- class RunSummary(name, code_version, rounds, trials, accepted, stop, updated, unreadable=None, state='unknown', max_rounds=None)[source]#
Bases:
objectWhat the run list shows of a run.
nameis the run directory’s path relative to the listed folder (the folder’s own name when the folder is the run directory).code_versionis the commit of this package the run was last opened with,"unknown"when it could not be read.roundscounts the written rounds,trialsandacceptedtheir trials and accepted ones.stopisNonewhile the run has not stopped, or crashed without stopping.updatedis the time of the run’s last write (UTC).unreadablesays which file of the run could not be read and why, for a run the list could not read (its counts are then 0);Nonefor any other.stateis"stopped","running"while the process that opened it last still runs,"crashed"once that process exited without recording a stop, or"unknown"when the process cannot be checked: a run without an events file, or opened on another host.max_roundsis its round limit,Nonewithout an events file.
Attributes#
- RunSummary.max_rounds = None#
- RunSummary.state = 'unknown'#
- RunSummary.unreadable = None#
- RunSummary.name#
- RunSummary.code_version#
- RunSummary.rounds#
- RunSummary.trials#
- RunSummary.accepted#
- RunSummary.stop#
- RunSummary.updated#