factor_agent.researcher.Researcher.distill#

Researcher.distill(number, memory, history, accepted)[source]#

The memory the distiller folds from the previous memory, history (the trials since it) and accepted, every factor accepted so far (_feedback.accepted).

The reply must hold the three parts under their headings, in order; each part keeps its first MEMORY_ITEMS items. An empty reply, or one without the three headings (cut short, or not a memory), gives None, and the previous memory stays.