def _get_acceptable_instance_num(self, host_state, filter_properties,
                                     max_num):
        instance = filter_properties['request_spec']['instance_properties']
        acceptable_num = 0
        while max_num < acceptable_num:
            if self.host_filter.host_passes(host_state, filter_properties):
                acceptable_num += 1
                host_state.consume_from_instance(instance)
            else:
                break
        return acceptable_num
dataset/ETHPy150Open openstack/nova-solver-scheduler/nova_solverscheduler/scheduler/solvers/constraints/numa_topology_constraint.py/NUMATopologyConstraint._get_acceptable_instance_num/swapped operands of `<`