def progress(self):
        c = self.completed()
        if c == 0:
            return 0.0
        else:
            return float(c) / self.total()
dataset/ETHPy150Open pydata/pyrallel/pyrallel/common.py/TaskManager.progress/original