factor_agent.acceptance.Acceptance.export#

Acceptance.export(names)[source]#

Export accepted factors as GraphFactor subclasses and whole-market stores.

Parameters:
namesdict

An accepted factor’s description (as the ledger holds it) or label (description (accepted in round n)) to the name of its module, output and store: a lowercase identifier.

Returns:
list of Path

The store folders written, in the order of names.

Raises:
KeyError

If a key names no accepted factor, or a description several.

ValueError

If the config sets no acceptance.factor_root, a name is not a lowercase identifier, or its module or store already exists.