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: object

What the run list shows of a run.

name is the run directory’s path relative to the listed folder (the folder’s own name when the folder is the run directory). code_version is the commit of this package the run was last opened with, "unknown" when it could not be read. rounds counts the written rounds, trials and accepted their trials and accepted ones. stop is None while the run has not stopped, or crashed without stopping. updated is the time of the run’s last write (UTC). unreadable says which file of the run could not be read and why, for a run the list could not read (its counts are then 0); None for any other. state is "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_rounds is its round limit, None without 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#