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

Before Change


    if section != GLOBAL:
      sections[section] = dict(sections[section])
      sections[section].update(global_metadata)
    del sections[section]["__name__"]
  return dict(sections)


def FioParametersToJob(fio_parameters):

After Change


    if section != GLOBAL:
      metadata = {}
      metadata.update(dict(config.items(section)))
      metadata.update(global_metadata)
      if JOB_STONEWALL_PARAMETER in metadata:
        del metadata[JOB_STONEWALL_PARAMETER]
      section_metadata[section] = metadata
  return section_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: merenlab/anvio
Commit Name: 04bd843050842490a291ce610079a268f043a287
Time: 2019-12-12
Author: alon.shaiber@gmail.com
File Name: anvio/migrations/config/v0_to_v1.py
Class Name:
Method Name: migrate


Project Name: catalyst-cooperative/pudl
Commit Name: c509693e2c3c34836bb6c429fbe8d2c6746f91ac
Time: 2019-03-27
Author: karldw@users.noreply.github.com
File Name: pudl/transform/eia.py
Class Name:
Method Name: _add_additional_epacems_plants