257025c14db1b1a901a4454b4f463422b4915276,src/sos/sos_step.py,TaskManager,run,#TaskManager#,373

Before Change


    def run(self):
        while True:
            if self._terminate:
                break
            self.submit(all_tasks=False)
            time.sleep(0.01)

After Change


    def run(self):
        while True:
            if self._terminate:
                env.logger.warning("Task manager terminated")
                break
            self.submit(all_tasks=False)
            time.sleep(0.01)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: vatlab/SoS
Commit Name: 257025c14db1b1a901a4454b4f463422b4915276
Time: 2017-10-14
Author: ben.bog@gmail.com
File Name: src/sos/sos_step.py
Class Name: TaskManager
Method Name: run


Project Name: dickreuter/Poker
Commit Name: 8bf363c6c4c6741ce773575cd9bdf2b88e104a9e
Time: 2016-11-10
Author: dickreuter@yahoo.com
File Name: decisionmaker/montecarlo_python.py
Class Name: MonteCarlo
Method Name: run_montecarlo


Project Name: vatlab/SoS
Commit Name: a1815e085f74f74c4d820eae57575b11390f1b20
Time: 2019-12-02
Author: ben.bog@gmail.com
File Name: src/sos/workflow_executor.py
Class Name: Base_Executor
Method Name: run_as_master


Project Name: vatlab/SoS
Commit Name: ecb620b20567af3a5cbc1a29f8938335e66aa669
Time: 2017-04-08
Author: ben.bog@gmail.com
File Name: sos/sos_executor.py
Class Name: Base_Executor
Method Name: run


Project Name: dickreuter/Poker
Commit Name: 1ce87e3a3b331e37f5c47a9d2e7de389169ff605
Time: 2016-11-08
Author: dickreuter@yahoo.com
File Name: decisionmaker/montecarlo_python.py
Class Name: MonteCarlo
Method Name: run_montecarlo


Project Name: vatlab/SoS
Commit Name: 9e805c5f17d868a9d2a266e96600cfdbdee9dbfa
Time: 2017-04-07
Author: ben.bog@gmail.com
File Name: sos/sos_executor.py
Class Name: Base_Executor
Method Name: run