2ccd86bf5f2eb92dc8f9f33b6113a2d06163c464,benchmarking/harness.py,BenchmarkDriver,run,#BenchmarkDriver#,196

Before Change


                            shutil.rmtree(f["location"], True)

    def run(self):
        tempdir = tempfile.mkdtemp(prefix="aibench")
        getLogger().info("Temp directory: {}".format(tempdir))
        info = self._getInfo()
        frameworks = getFrameworks()
        assert self.args.framework in frameworks, \

After Change


                            shutil.rmtree(f["location"], True)

    def run(self):
        tempdir = tempfile.mkdtemp(
            prefix="_".join(["aibench", str(self.args.user_identifier), ""])
        )
        getLogger().info("Temp directory: {}".format(tempdir))
        info = self._getInfo()
        frameworks = getFrameworks()
        assert self.args.framework in frameworks, \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: facebook/FAI-PEP
Commit Name: 2ccd86bf5f2eb92dc8f9f33b6113a2d06163c464
Time: 2020-02-21
Author: huaminli@fb.com
File Name: benchmarking/harness.py
Class Name: BenchmarkDriver
Method Name: run


Project Name: pantsbuild/pants
Commit Name: 0a6edd21b9ab29a1f733b90ff15092e7a03f665d
Time: 2014-01-15
Author: jsirois@twitter.com
File Name: src/python/twitter/pants/python/thrift_builder.py
Class Name: PythonThriftBuilder
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: 3f5e994767718a930681d75bd59154525b02cd18
Time: 2014-01-19
Author: benjyw@gmail.com
File Name: src/python/twitter/pants/python/thrift_builder.py
Class Name: PythonThriftBuilder
Method Name: __init__


Project Name: facebook/FAI-PEP
Commit Name: 2ccd86bf5f2eb92dc8f9f33b6113a2d06163c464
Time: 2020-02-21
Author: huaminli@fb.com
File Name: benchmarking/harness.py
Class Name: BenchmarkDriver
Method Name: runBenchmark