983aedb23057629605c8a7c8d9757945651d48f5,perfkitbenchmarker/packages/fio.py,,ParseJobFile,#Any#,59

Before Change


    A dictionary of dictionaries of sample metadata, using test name as keys,
        dictionaries of sample metadata as value.
  
  job_file = job_file.replace(JOB_STONEWALL_PARAMETER, "")
  config = ConfigParser.ConfigParser()
  config.readfp(io.BytesIO(job_file))
  sections = config.__dict__["_sections"]
  global_metadata = {}

After Change


  config.readfp(io.BytesIO(job_file))
  global_metadata = {}
  if GLOBAL in config.sections():
    global_metadata = dict(config.items(GLOBAL))
  section_metadata = {}
  for section in config.sections():
    if section != GLOBAL:
      metadata = {}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 983aedb23057629605c8a7c8d9757945651d48f5
Time: 2015-03-27
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/fio.py
Class Name:
Method Name: ParseJobFile


Project Name: MolSSI/QCEngine
Commit Name: d1155b13ce2068a59b955fe0dba7925666f20bea
Time: 2019-11-04
Author: malorian@me.com
File Name: qcengine/programs/qchem.py
Class Name: QChemHarness
Method Name: execute


Project Name: jaakkopasanen/AutoEq
Commit Name: 5798262e2f9d254f37cbe762f89747b7049a8acc
Time: 2020-10-18
Author: jaakko.o.pasanen@gmail.com
File Name: measurements/crinacle/crinacle_crawler.py
Class Name: CrinacleCrawler
Method Name: get_urls