e15780e23333ab6be7a6e9b6b96988ade5f9a9cc,reframe/core/schedulers/__init__.py,Job,finished,#Job#,339

Before Change


        if self.jobid is None:
            raise JobNotStartedError("cannot poll an unstarted job")

        return self.scheduler.finished(self)


class Node(abc.ABC):
    @abc.abstractmethod

After Change



        res = self.scheduler.finished(self)
        if res:
            self._completion_time = self._completion_time or datetime.now()

        return res

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: eth-cscs/reframe
Commit Name: e15780e23333ab6be7a6e9b6b96988ade5f9a9cc
Time: 2019-12-11
Author: eirini.koutsaniti@cscs.ch
File Name: reframe/core/schedulers/__init__.py
Class Name: Job
Method Name: finished


Project Name: eth-cscs/reframe
Commit Name: 5402151b21e1b370f055baec4074e7c7e79be68e
Time: 2019-12-06
Author: eirini.koutsaniti@cscs.ch
File Name: reframe/core/schedulers/__init__.py
Class Name: Job
Method Name: wait


Project Name: pfnet/optuna
Commit Name: 1b12a45ddd604bdcbb01ef7016e6da491e8d3c10
Time: 2020-05-21
Author: ytsmiling@gmail.com
File Name: optuna/storages/cached_storage.py
Class Name: _CachedStorage
Method Name: set_trial_state