def report_config_defaults(report_config, test_harness=None):
  """Creates copy of report_config and sets defaults for missing entries."""
  config = report_config.copy()

  config['report_project'] = report_config.get(
      'report_project', 'google.com:tensorflow-performance')
  config['report_dataset'] = report_config.get('report_dataset',
                                               'benchmark_results_dev')
  config['report_table'] = report_config.get('report_table', 'result')
  # Details about where the test was run
  if test_harness:
    config['test_harness'] = test_harness
  else:
    config['test_harness'] = report_config.get('test_harness', 'unknown')
  config['test_environment'] = report_config.get('test_environment', 'unknown')
  config['platform'] = report_config.get('platform', 'unknown')
  config['platform_type'] = report_config.get('platform_type', 'unknown')
  config['accel_type'] = report_config.get('accel_type', 'unknown')
  config['framework_describe'] = report_config.get('framework_describe',
                                                   'unknown')
  return config