c68815a01e04ad21d0128b53235ab1bd915b6c6a,benchmarking/platforms/ios/ios_platform.py,IOSPlatform,preprocess,#IOSPlatform#,34

Before Change


        with open(programs["bundle_id"], "r") as f:
            bundle_id = f.read().strip()
            self.util.setBundleId(bundle_id)
        del programs["bundle_id"]
        // find the first zipped app file
        assert "program" in programs, "program is not specified"
        program = programs["program"]
        assert program[-8:] == ".app.zip", \

After Change


        app_dir = os.path.join(self.tempdir, "Payload")
        dirs = [f for f in os.listdir(app_dir)
                if os.path.isdir(os.path.join(app_dir, f))]
        assert len(dirs) == 1, "Only one app in the Payload directory"
        app_name = dirs[0]
        self.app = os.path.join(app_dir, app_name)
        del programs["program"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: facebook/FAI-PEP
Commit Name: c68815a01e04ad21d0128b53235ab1bd915b6c6a
Time: 2018-09-07
Author: sf_wind@hotmail.com
File Name: benchmarking/platforms/ios/ios_platform.py
Class Name: IOSPlatform
Method Name: preprocess


Project Name: NTMC-Community/MatchZoo
Commit Name: 2695924bd6605168cef51e9477faa1bacd3717f5
Time: 2018-12-07
Author: i@uduse.com
File Name: tests/unit_test/test_embedding.py
Class Name:
Method Name: test_embedding


Project Name: polyaxon/polyaxon
Commit Name: 3e835495e36b3e293ce6be2b191bc038043d4b45
Time: 2019-03-05
Author: mouradmourafiq@gmail.com
File Name: tests/test_environments.py
Class Name: TestEnvironmentsConfigs
Method Name: test_experiment_environment_config


Project Name: bokeh/bokeh
Commit Name: 21f4aa6eaca251dfa9404bc13097f27192460634
Time: 2017-03-01
Author: bryanv@continuum.io
File Name: bokeh/core/tests/test_properties.py
Class Name: Basictest
Method Name: test_simple_class


Project Name: tensorflow/magenta
Commit Name: fd58a0f6c24d48efa1b45b2f11766d4bef7554d4
Time: 2017-09-19
Author: curtis@thefjord.org
File Name: magenta/music/abc_parser_test.py
Class Name: AbcParserTest
Method Name: testParseEnglishAbc