Skip to content

Commit 8187f6d

Browse files
committed
chore: decrease task count
1 parent a962019 commit 8187f6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

neurons/validators/score_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def get_winner(self, total_scores: np.ndarray, solved_tasks: np.ndarray, number_
169169
if self.is_blacklisted(uid):
170170
continue
171171

172-
if solved_tasks[uid] >= max(1, number_of_tasks - 3):
172+
if solved_tasks[uid] >= max(1, number_of_tasks - 10):
173173
avg_scores[uid] = total_scores[uid] / solved_tasks[uid]
174174
else:
175175
avg_scores[uid] = 0
@@ -222,7 +222,7 @@ def print_session_result(self, session_upto: int, console: Console):
222222

223223
avg_scores = np.zeros(self.neuron.metagraph.n, dtype=np.float32)
224224
for uid in range(self.neuron.metagraph.n):
225-
if solved_tasks[uid] >= max(1, number_of_tasks - 3):
225+
if solved_tasks[uid] >= max(1, number_of_tasks - 10):
226226
avg_scores[uid] = scores[uid] / solved_tasks[uid]
227227
else:
228228
avg_scores[uid] = 0

webgenie/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import psutil
44
# Change this value when updating your code base.
55
# Define the version of the webgenie.
6-
__VERSION__ = "1.1.26" # version
6+
__VERSION__ = "1.1.27" # version
77

88
SPEC_VERSION = (
99
(1000 * int(__VERSION__.split(".")[0]))

0 commit comments

Comments
 (0)