original_docstring: Sum up two dictionaries, maybe with different keys.
  
      >>> sum_dict({'in': 100, 'out': 10}, {'in': 50, 'error': 5, 'uuid': '1234-xyz'})
      {'in': 150, 'error': 5, 'out': 10}
      
docstring: Sum up two dictionaries, maybe with different keys.
docstring_tokens: Sum up two dictionaries maybe with different keys .
code: def sum_dict(dict1, dict2):
      """Sum up two dictionaries, maybe with different keys.
  
      >>> sum_dict({'in': 100, 'out': 10}, {'in': 50, 'error': 5, 'uuid': '1234-xyz'})
      {'in': 150, 'error': 5, 'out': 10}
      """
      total = {}
      for key, value in dict1.items():
          if not is_numeric(value):
              continue
          if key in total:
              total[key] += value
          else:
              total[key] = value
      for key, value in dict2.items():
          if not is_numeric(value):
              continue
          if key in total:
              total[key] += value
          else:
              total[key] = value
      return total
code_tokens: def sum_dict ( dict1 , dict2 ) : total = { } for key , value in dict1 . items ( ) : if not is_numeric ( value ) : continue if key in total : total [ key ] += value else : total [ key ] = value for key , value in dict2 . items ( ) : if not is_numeric ( value ) : continue if key in total : total [ key ] += value else : total [ key ] = value return total
short_docstring: Sum up two dictionaries, maybe with different keys.
short_docstring_tokens: Sum up two dictionaries maybe with different keys .
comment: """Sum up two dictionaries, maybe with different keys.
  
      >>> sum_dict({'in': 100, 'out': 10}, {'in': 50, 'error': 5, 'uuid': '1234-xyz'})
      {'in': 150, 'error': 5, 'out': 10}
      """