factor_agent.config.CampaignConfig.load_factors#

CampaignConfig.load_factors()[source]#

Rebuild the reference factors and the known factors, (reference, known), each in config order.

An output of a known factor is dropped when a reference factor shows the same output of the same class (through zoo.owner, so a neutralised store counts as the factor it neutralises); the factor keeps its other outputs, and one left with none is dropped.

Raises:
FactorsError

Naming every entry that cannot be rebuilt (load: its store is missing, its class cannot be imported or does not fit), each with its cause.