def answer(self, values):
        if len(values) != self.parentCount:
            raise ValueError(self.parentCount % 'You must supply %d values')
        tree = self.tree
        while True:
            if tree.isLeaf():
                return tree.default(values)
            else:
                tree = tree[values[tree.parentId]]
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/DT.answer/swapped operands of `%`