Ruff fix x3 final fix

This commit is contained in:
墨梓柒
2025-11-29 14:43:22 +08:00
parent 163d527f3c
commit ed68f969c1
4 changed files with 7 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ def _compute_weights(population: List[Dict]) -> List[float]:
# 如果checked权重乘以3
weights = []
for base_weight, checked in zip(base_weights, checked_flags):
for base_weight, checked in zip(base_weights, checked_flags, strict=False):
if checked:
weights.append(base_weight * 3.0)
else: