factor_agent.web.run_view.Collision#

class Collision(label, name, kind, accepted_round, known)[source]#

Bases: object

A trial’s refusal for being too like an existing factor: a reference, known or accepted one.

label names the factor as the Gate and the Evaluator do; name is how a page names it, as Neighbour.name. kind is "code" (the Gate found a rewrite, the same graph with other parameters, or a too large shared subtree) or "ranking" (admission found a correlation above the limit). accepted_round is the round that accepted the factor, None for one of the user’s own factors; known is true for a known factor, false for a reference or accepted one.

Attributes#

Collision.label#
Collision.name#
Collision.kind#
Collision.accepted_round#
Collision.known#