0a1286ec7473ff645f9965fdd3a9be69f1a0f1ba,studio/tests/runner_test.py,RunnerTest,stub_runner_local,#RunnerTest#Any#Any#Any#Any#Any#Any#,82

Before Change



        experiment = db.get_experiment(experiment_name)
        db._download_modeldir(experiment_name)
        db._download_dir(
            fs_tracker.get_artifact_cache("output", experiment_name),
            experiment.artifacts["output"]["key"]
        )

        with open(fs_tracker.get_artifact_cache("output", experiment_name),
                  "r") as f:
            data = f.read()

After Change


        // db.store.get_artifact(experiment.artifacts["modeldir"])
        // db.store.get_artifact(experiment.artifacts["output"])

        with open(db.store.get_artifact(experiment.artifacts["output"]),
                  "r") as f:
            data = f.read()
            split_data = data.strip().split("\n")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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


Project Name: studioml/studio
Commit Name: 8ade5aad97b8519cd742091bc0c9145efba596b0
Time: 2017-06-23
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: get_experiment_logtail


Project Name: studioml/studio
Commit Name: 0a1286ec7473ff645f9965fdd3a9be69f1a0f1ba
Time: 2017-06-22
Author: peter.zhokhov@sentient.ai
File Name: studio/local_worker.py
Class Name:
Method Name: worker_loop