diff --git a/VERSION b/VERSION index b38ebbfc..7da3c168 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.4 \ No newline at end of file +3.0.5 \ No newline at end of file diff --git a/bitmind/__init__.py b/bitmind/__init__.py index 85fef45e..15a7376e 100644 --- a/bitmind/__init__.py +++ b/bitmind/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.0.4" +__version__ = "3.0.5" version_split = __version__.split(".") __spec_version__ = ( diff --git a/bitmind/scoring/eval_engine.py b/bitmind/scoring/eval_engine.py index c84fd93c..d396f3f9 100644 --- a/bitmind/scoring/eval_engine.py +++ b/bitmind/scoring/eval_engine.py @@ -126,7 +126,7 @@ def _update_scores(self, rewards: dict): scattered_rewards[vali_uids] = 0.0 scattered_rewards[no_response_uids] = 0.0 scattered_rewards[uids_array] = rewards - bt.logging.debug(f"Scattered rewards: {rewards}") + bt.logging.debug(f"Scattered rewards: {scattered_rewards}") # Update scores with rewards produced by this step. # shape: [ metagraph.n ] @@ -288,7 +288,7 @@ def sync_to_metagraph(self): handles clearing predictio history in `update` when a new hotkey is detected""" hotkeys = self.tracker.miner_hotkeys - for uid, hotkey in enumerate(hotkeys): + for uid, hotkey in hotkeys.items(): if hotkey != self.metagraph.hotkeys[uid]: self.scores[uid] = 0 # hotkey has been replaced self.maybe_extend_scores(self.metagraph.n)