Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
feat: log uptime scores
Browse files Browse the repository at this point in the history
  • Loading branch information
renesweet24 committed May 29, 2024
1 parent b02c1cf commit 79e44e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neurons/validators/uptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,6 @@ def get_uptime_scores(self, hotkey):
month = 2629746
result = self.calculate_uptimes(hotkey, [day, week, month])
average = (result[day] + result[week] + result[month]) / 3
bt.logging.debug('Uptime Scores', result = result)
return {'daily': result[day], 'weekly': result[week], 'monthly': result[month], 'average': average}

0 comments on commit 79e44e8

Please sign in to comment.