@staticmethod
    def make_scorer(scorer_type):
        return QueryScorer._scorers[scorer_type]()
Check quota and return min(requested_instances, allowed_instances).
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/query_scorer.py/QueryScorer.make_scorer--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/quota.py/allowed_instances