factor_agent.events.GateOutcome#

class GateOutcome(*, time=<factory>, round, slot, step, item, passed, stage=None, reasons=<factory>, hints=<factory>)[source]#

Bases: Event

One version of a slot’s candidate checked by the parser and the Gate.

step is "proposed" (the first version), "fixed" (a version sent back by the parser or the Gate) or "rewritten" (a version the reviewer sent back). item is the version as the proposer wrote it. stage is "parse" or "gate" for a refusal, with its reasons and hints, and None when it passed.

Attributes#

GateOutcome.stage = None#
GateOutcome.type = 'gate'#

The event’s type in the file; each event class sets its own.

GateOutcome.round#
GateOutcome.slot#
GateOutcome.step#
GateOutcome.item#
GateOutcome.passed#
GateOutcome.reasons#
GateOutcome.hints#
GateOutcome.time#