diff --git a/validators/weight_setter.py b/validators/weight_setter.py index 4306f0fe..6013e235 100644 --- a/validators/weight_setter.py +++ b/validators/weight_setter.py @@ -275,10 +275,10 @@ def pop_synthetic_tasks_max_100_per_miner(self, synthetic_tasks): uid_to_task_cnt = defaultdict(int) for uid, synthetic_task in synthetic_tasks: if uid_to_task_cnt[uid] < max_query_cnt_per_miner: - batch_tasks.append(synthetic_task) if len(batch_tasks) > batch_size: remain_tasks.append((uid, synthetic_task)) continue + batch_tasks.append(synthetic_task) uid_to_task_cnt[uid] += 1 continue else: