

def add_iteration(self, iteration):
    self.total += 1
    if iteration['error']:
        self.errors += 1
    self.error_rate = ((iteration.errors * 100.0) / self.total)
    self.success = (self.min_percent <= self.error_rate <= self.max_percent)
    return self.success

dataset/ETHPy150Open openstack/rally/rally/plugins/common/sla/failure_rate.py FailureRate.add_iteration/VarMisuse@39/45 `self`->`iteration`