testing/merge_scripts/results_merger.py
def sum_dicts(source, dest):
  """ Adds values from source to corresponding values in dest.

  This is intended for use as a merge_func parameter to merge_value.
  """
  for k, v in source.items():
    dest.setdefault(k, 0)
    dest[k] += v

  return dest
 Adds values from source to corresponding values in dest.

  This is intended for use as a merge_func parameter to merge_value.
  
Adds values from source to corresponding values in dest.
This is intended for use as a merge_func parameter to merge_value.
Adds values from source to corresponding values in dest . This is intended for use as a merge_func parameter to merge_value .
def sum_dicts(source, dest):
  for k, v in source.items():
    dest.setdefault(k, 0)
    dest[k] += v
  return dest
def sum_dicts ( source , dest ) : for k , v in source . items ( ) : dest . setdefault ( k , 0 ) dest [ k ] += v return dest
Adds values from source to corresponding values in dest.
Adds values from source to corresponding values in dest .
""" Adds values from source to corresponding values in dest.

  This is intended for use as a merge_func parameter to merge_value.
  """
source
dest