factor_agent.researcher.Researcher.propose#
- Researcher.propose(number, directions, context, gate, zoo, retries, parents=None)[source]#
Ask for one candidate per direction and return one
Proposalper direction, in order.Each proposal group’s directions go in a request of their own, all sent at once. A candidate must have its direction’s mechanism type. Every candidate the parser or
gate(checking originality againstzoo) refuses is sent back with its reasons, all of a group’s in one request, up toretriestimes; the candidates are checked in slot order once every group’s reply is back. A direction with a parent inparents(a trial’s id, and the trial as_feedback.parentwrites it) carries that trial as itsparent_trial.