factor_agent.web.run_view.RunView#

class RunView(summary, trials, factors, correlation_limit, evaluated, threshold, never_evaluated, memory, acceptance, diagnosis, admission, health, running, now)[source]#

Bases: object

A read-only snapshot of one run: its summary, the trials of its written rounds, its accepted factors and its memory.

factors holds the accepted factors in the order they were accepted (by round, then slot). correlation_limit is the largest absolute correlation with an existing factor that admission allows: the one the run was last opened with, or for a run without events the one its latest refusal for it quotes, None while nothing gives it. admission holds the least coverage and monotonicity admission required, from the run’s last start; None for a run without events. evaluated places every trial the Evaluator scored, in round and slot order, and threshold is the t threshold of the latest round (see the module’s notes), None while nothing gives it. never_evaluated groups the trials it never scored, by stage (parse, Gate, review, then evaluation) and then by the first round of each reason. memory holds the versions of the memory by the round after which they were written, the earliest first; it is empty while the distiller has written none. acceptance holds the run’s Acceptance reports and hold-out opens. diagnosis holds at most three findings, the one concerning the most trials first; it is empty when no rule holds. health is what the run is doing now, and running the round in progress: None when the run has stopped, or has no events file (its health then counts the round’s calls by role). now is the time the view describes (UTC).

Methods#

RunView.read

Read the run in run_dir.

Attributes#

RunView.summary#
RunView.trials#
RunView.factors#
RunView.correlation_limit#
RunView.evaluated#
RunView.threshold#
RunView.never_evaluated#
RunView.memory#
RunView.acceptance#
RunView.diagnosis#
RunView.admission#
RunView.health#
RunView.running#
RunView.now#