def setUp(self):
        alldiff = lambda vars_, values_: len(set(values_)) == len(values_)
        const = lambda vars_, values_: True

        self.variables = ('A', 'B', 'C')

        self.domains = {
            'A': [1, 2, 3],
            'B': [1, 3, 4],
            'C': [1, 2],
        }

        self.constraints = [
            (('A', 'B', 'C'), alldiff),
            (('A', 'C'), const),
            (('A', 'C'), const),
            (('A',), lambda _vars, _value: 2 % _value[0] == 0)
        ]
dataset/ETHPy150Open simpleai-team/simpleai/tests/search/test_hidden_variables.py/TestHiddenVariableRepr.setUp/swapped operands of `%`