factor_agent.campaign.Campaign.run#

Campaign.run()[source]#

Run, or resume, the campaign until a stop condition holds; return every candidate’s outcome.

Raises:
PromptError

Before anything is written, naming every placeholder a replaced template lacks or may not use.

SnapshotMismatch

Before any LLM call, on a resume whose field, operator or template files differ from the run’s snapshot.

VocabularyError

Before any LLM call, with every problem of the field and operator files.

Warns:
CodeVersionChanged

On a resume on other commits than the run was last opened with.