diff --git a/validator/weight_setting/validator.py b/validator/weight_setting/validator.py index 678aa556..47c0aa87 100644 --- a/validator/weight_setting/validator.py +++ b/validator/weight_setting/validator.py @@ -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 = ( diff --git a/validator/weight_setting/winner_selection.py b/validator/weight_setting/winner_selection.py index 78a6fc11..95922a33 100644 --- a/validator/weight_setting/winner_selection.py +++ b/validator/weight_setting/winner_selection.py @@ -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: