Skip to content

Commit

Permalink
Fix reversed tier selection
Browse files Browse the repository at this point in the history
  • Loading branch information
MsRandom committed Oct 23, 2024
1 parent f429c7d commit 0084b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion validator/weight_setting/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from .wandb_args import add_wandb_args
from .winner_selection import get_scores, get_contestant_scores, get_tiers

VALIDATOR_VERSION: tuple[int, int, int] = (4, 3, 0)
VALIDATOR_VERSION: tuple[int, int, int] = (4, 3, 1)
VALIDATOR_VERSION_STRING = ".".join(map(str, VALIDATOR_VERSION))

WEIGHTS_VERSION = (
Expand Down
2 changes: 1 addition & 1 deletion validator/weight_setting/winner_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_scores(tiers: list[list[Uid]], blocks: list[int | None], node_count: int

last_tier = None

for tier in ordered_tiers:
for tier in reversed(ordered_tiers):
if last_tier:
modified_tiers.append([tier[0], *last_tier[1:]])
else:
Expand Down

0 comments on commit 0084b35

Please sign in to comment.