Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Score Adjustment #144

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bitmind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# DEALINGS IN THE SOFTWARE.


__version__ = "2.1.1"
__version__ = "2.1.2"
version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
Expand Down
2 changes: 1 addition & 1 deletion bitmind/base/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def update_scores(self, rewards: np.ndarray, uids: List[int]):

# Compute forward pass rewards, assumes uids are mutually exclusive.
# shape: [ metagraph.n ]
scattered_rewards: np.ndarray = self.scores.copy()
scattered_rewards: np.ndarray = np.full_like(self.scores, 0.5)
scattered_rewards[uids_array] = rewards
bt.logging.debug(f"Scattered rewards: {rewards}")

Expand Down
2 changes: 1 addition & 1 deletion bitmind/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def add_validator_args(cls, parser):
"--neuron.moving_average_alpha",
type=float,
help="Moving average alpha parameter, how much to add of the new observation.",
default=0.02,
default=0.05,
)

parser.add_argument(
Expand Down