factor_agent.web.run_view.Check#

class Check(by, step, passed, stage, reasons, hints, time)[source]#

Bases: object

One check of a pending trial’s candidate: the parser and the Gate on one version of it, or the reviewer.

by is "gate" or "reviewer". For the Gate, step is the version’s: "proposed" (the first), "fixed" (sent back by the parser or the Gate) or "rewritten" (sent back by the reviewer), and stage is "parse" or "gate" when it refused the version, None when it passed it. passed is true when the Gate passed the version or the reviewer found it consistent. reasons are the Gate’s reasons for a refusal, or the reviewer’s reason for its verdict either way; hints are the Gate’s.

Attributes#

Check.by#
Check.step#
Check.passed#
Check.stage#
Check.reasons#
Check.hints#
Check.time#