factor_agent.config.ScoringConfig.from_dict#

classmethod ScoringConfig.from_dict(raw)[source]#

Read the scoring section.

Raises:
TypeError

If the section holds another key than neutralize, or neutralize another key than its fields.

KeyError

If neutralize is missing.