1147d0a4c7a196b9a5aadb445542518df2f2fa02,studio/local_worker.py,,worker_loop,#Any#Any#Any#Any#Any#Any#Any#,176

Before Change


                        logger.info(
                            "Setting up python packages for experiment")
                        for pkg in experiment.pythonenv:
                            pipp = subprocess.Popen(
                                ["pip", "install", pkg],
                                stdout=subprocess.PIPE,
                                stderr=subprocess.STDOUT)

                            pipout, _ = pipp.communicate()
                            logger.info("pip output: \n" + pipout)

                    for tag, art in six.iteritems(experiment.artifacts):
                        if fetch_artifacts or "local" not in art.keys():

After Change


                                "trying one package at a time")

                        for pkg in experiment.pythonenv:
                            pip_install_packages([pkg], logger)

                    for tag, art in six.iteritems(experiment.artifacts):
                        if fetch_artifacts or "local" not in art.keys():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: studioml/studio
Commit Name: 1147d0a4c7a196b9a5aadb445542518df2f2fa02
Time: 2017-09-30
Author: peter.zhokhov@sentient.ai
File Name: studio/local_worker.py
Class Name:
Method Name: worker_loop


Project Name: idaholab/raven
Commit Name: 559e68fcac66c449772be2b21af92f502df70e5f
Time: 2019-11-07
Author: paul.talbot@inl.gov
File Name: scripts/TestHarness/testers/CrowPython.py
Class Name: CrowPython
Method Name: CrowPython_1


Project Name: EducationalTestingService/skll
Commit Name: f2caf089885a591c79ee531cc1f13b7995ba7607
Time: 2014-11-01
Author: nmadnani@ets.org
File Name: tests/test_utilities.py
Class Name:
Method Name: check_generate_predictions_console