bb8ea10297a7e3b59ca05e10190f0ac566f70756,testing/prow_artifacts.py,,create_finished,#Any#,49

Before Change



  path = os.path.join(args.artifacts_dir, "finished.json")
  logging.info("Creating %s", path)
  with open(path, "w") as hf:
    json.dump(finished, hf)

def _get_pr_gcs_dir(bucket):
  Return the GCS directory for this PR.
  pull_number = os.getenv("PULL_NUMBER")

After Change


      "metadata": {},
  }

  return json.dumps(finished)

def get_gcs_dir(bucket):
  Return the GCS directory for this job.
  pull_number = os.getenv("PULL_NUMBER")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: kubeflow/kubeflow
Commit Name: bb8ea10297a7e3b59ca05e10190f0ac566f70756
Time: 2018-01-09
Author: jeremy@lewi.us
File Name: testing/prow_artifacts.py
Class Name:
Method Name: create_finished


Project Name: studioml/studio
Commit Name: 81633e02b2c07bd6080e5639c04e4f73eb7d1cce
Time: 2017-09-10
Author: peter.zhokhov@sentient.ai
File Name: util/completion_service.py
Class Name: CompletionService
Method Name: submitTask


Project Name: studioml/studio
Commit Name: 82c402cb7fab567e5becea9b8c92dd01dea953c2
Time: 2017-06-12
Author: peter.zhokhov@sentient.ai
File Name: studio/runner.py
Class Name:
Method Name: main