factor_agent.researcher.Direction#

class Direction(mechanism_type, action, parent, direction)[source]#

Bases: object

One planned slot of a round: its mechanism type, the action, the parent trial and the idea.

parent is the id of the evaluated trial a mutation or a refinement builds on (_feedback.trial_id), and is empty for a new direction.

Methods#

Direction.to_dict

The direction as the ledger and the prompts hold it.

Attributes#

Direction.mechanism_type#
Direction.action#
Direction.parent#
Direction.direction#