ruff fix但指定了--unsafe-fixes

This commit is contained in:
minecraft1024a
2025-10-05 21:48:32 +08:00
parent 0b4e1f5b7b
commit 9d705463ce
76 changed files with 300 additions and 315 deletions

View File

@@ -18,13 +18,11 @@ def dyn_select_top_k(
normalized_score = []
for score_item in sorted_score:
normalized_score.append(
tuple(
[
(
score_item[0],
score_item[1],
(score_item[1] - min_score) / (max_score - min_score),
]
)
)
)
# 寻找跳变点score变化最大的位置