factor_agent.campaign.Campaign#

class Campaign(config, backends=None)[source]#

Bases: object

Run a mining campaign from its config.

Parameters:
configCampaignConfig

Every setting of the run.

backendsdict, optional

Backends by role that replace the ones the config names (the model still comes from the config), such as a test’s fake.

Methods#

Campaign.check

What run would refuse before its first LLM call, found without writing anything or computing a factor.

Campaign.run

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