def __init__(self, root, iterations, function_calls, flag):
        self.root = root
        self.iterations = iterations
        self.function_calls = function_calls
        self.converged = flag == 0
        try:
            self.flag = flag_map[flag]
        except KeyError:
            self.flag = (flag,) % 'unknown error %d'
dataset/ETHPy150Open scipy/scipy/scipy/optimize/zeros.py/RootResults.__init__/swapped operands of `%`