cfb8afb2499b661d3a930e6b38af112977cb1a74,studio/tests/runner_test.py,RunnerTest,stub_runner_remote,#RunnerTest#Any#Any#Any#Any#Any#Any#,185

Before Change


        self.assertTrue(db[keybase + "/filename"] == test_script)

        db._download_modeldir(experiment_name)
        with open(os.path.join(fs_tracker.get_model_directory(experiment_name),
                               "output.log"), "r") as f:
            data = f.read()
            split_data = data.strip().split("\n")
            self.assertEquals(split_data[-1], expected_output)

After Change


        self.assertTrue(db[keybase + "/filename"] == test_script)

        db._download_modeldir(experiment_name)
        with open(fs_tracker.get_artifact_cache("output", experiment_name),
                  "r") as f:
            data = f.read()
            split_data = data.strip().split("\n")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: studioml/studio
Commit Name: cfb8afb2499b661d3a930e6b38af112977cb1a74
Time: 2017-06-19
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/runner_test.py
Class Name: RunnerTest
Method Name: stub_runner_remote


Project Name: pantsbuild/pants
Commit Name: 076e01d237ab3b58cdb395fb04a7f176ab02209d
Time: 2013-10-31
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/ivy_resolve.py
Class Name: IvyResolve
Method Name: execute


Project Name: studioml/studio
Commit Name: cfb8afb2499b661d3a930e6b38af112977cb1a74
Time: 2017-06-19
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/runner_test.py
Class Name: RunnerTest
Method Name: stub_runner_local