0bf75c51bbf06060cdbd375b080d54e0e40255e2,studio/local_worker.py,,worker_loop,#Any#Any#Any#Any#Any#,300
Before Change
pip_install_packages([pkg], python, logger)
for tag, art in six.iteritems(experiment.artifacts):
if fetch_artifacts or "local" not in art.keys():
logger.info("Fetching artifact " + tag)
if tag == "workspace":
art["local"] = retry(lambda: db.get_artifact(
art,
only_newer=False),
sleep_time=10,
logger=logger)
else:
art["local"] = retry(
lambda: db.get_artifact(art),
sleep_time=10,
logger=logger
)
returncode = executor.run(experiment)
if returncode != 0:
retval = returncode
finally:
After Change
logger=logger
)
else:
logger.info("Skipping mutable artifact " + tag)
print("MUTABLE: {0} {1}".format(tag, json.dumps(art.to_dict(), indent=4)))
returncode = executor.run(experiment)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: studioml/studio
Commit Name: 0bf75c51bbf06060cdbd375b080d54e0e40255e2
Time: 2020-11-13
Author: andrei.denissov@cognizant.com
File Name: studio/local_worker.py
Class Name:
Method Name: worker_loop
Project Name: jsalt18-sentence-repl/jiant
Commit Name: 05a5e9c7c71571a1396adacd305bb0415e9c4170
Time: 2018-07-04
Author: wang.alex.c@gmail.com
File Name: src/evaluate.py
Class Name:
Method Name: write_preds
Project Name: ray-project/ray
Commit Name: d434ba6518a83dfde682e52373b526df4c3933ec
Time: 2021-01-08
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/controller.py
Class Name: ServeController
Method Name: shadow_traffic
Project Name: GoogleCloudPlatform/healthcare
Commit Name: 8a43360b5683edc8d8e4b9461b01a9d1f8dcd782
Time: 2019-05-21
Author: umairidris@google.com
File Name: deploy/create_project.py
Class Name:
Method Name: deploy_project_resources