factor_agent.gate.Gate.check#
- Gate.check(candidate, zoo)[source]#
Return
Passedwith the candidate’s graph, orRejectedwith why not.zooholds the factors the candidate must be original against. A writing error carries the hints of the vocabulary’s fixes it matches, a broken stage rule its own (Rejected.hints).- Raises:
- RuntimeError
If the sandbox cannot be started or replies with something that is not its protocol.