factor_agent.researcher.Researcher.revise#
- Researcher.revise(number, inconsistent, gate, zoo)[source]#
Send each candidate the reviewer found inconsistent back to be rewritten once; return the rewrites, in order.
Every candidate goes, with the reviewer’s reason and its output unit, in one rewrite request per proposal group, all sent at once, and its first review becomes an attempt of stage
"review". Each rewrite is checked by the parser andgateonce, with no further retries: a refused rewrite is a proposal withoutchecked. The refused versions’ graphs are withdrawn fromgatefirst, so a rewrite that keeps its graph is not its own duplicate.