def METHOD_NAME(scores_and_configs):
    """Example argument to `_FindOptimalParameter`
  Args:
    scores_and_configs: a list of configs and scores, in the form
                        described in _FindOptimalParameter
  Returns:
    numeric value, the sum of all scores
  """
    res = 0
    for score_config in scores_and_configs:
        res += sum(score_config['scores'].values())
    return res