feat: Add alternate CI hash in the valid list (for qwen2.5) (#412)

* feat: Add alternate CI hash in the valid list (for qwen2.5)

* ruff
This commit is contained in:
Vinay Umrethe
2026-07-16 18:58:48 +05:30
committed by GitHub
parent e7b783ed85
commit 02ebf7a751
2 changed files with 15 additions and 11 deletions
+9 -11
View File
@@ -773,18 +773,16 @@ def run():
# Best trials isn't sorted, so sort by all the scores in non-decreasing order.
sorted_trials = sorted(
study.best_trials,
key=lambda trial: (
tuple(
next(
(
score["score"]["value"]
for score in trial.user_attrs["scores"]
if score["name"] == name
),
None,
)
for name in objective_names
key=lambda trial: tuple(
next(
(
score["score"]["value"]
for score in trial.user_attrs["scores"]
if score["name"] == name
),
None,
)
for name in objective_names
),
)