Skip to content
Closed
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 miner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
name: "miner",
interpreter: "python3",
script: "./neurons/miner.py",
args: "--netuid 50 --logging.debug --logging.trace --wallet.name miner --wallet.hotkey default --axon.port 8091 --blacklist.force_validator_permit true --blacklist.validator_min_stake 1000",
args: "--netuid 50 --logging.debug --logging.trace --wallet.name miner --wallet.hotkey default --axon.port 8091 --blacklist.force_validator_permit true --blacklist.validator_min_stake 65000",
env: {
PYTHONPATH: ".",
},
Expand Down
9 changes: 1 addition & 8 deletions synth/utils/sequential_scheduler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from datetime import datetime, timedelta, timezone
from datetime import datetime, timedelta
import time


Expand Down Expand Up @@ -39,13 +39,6 @@ def run_cycle(
prompt_config = self.prompt_config

asset_list = prompt_config.asset_list
if get_current_time() <= datetime(
2026, 4, 10, 14, 0, 0, tzinfo=timezone.utc
):
if prompt_config.label == "low":
asset_list = prompt_config.asset_list[:9]
elif prompt_config.label == "high":
asset_list = prompt_config.asset_list[:4]

delay = self.select_delay(
cycle_start_time,
Expand Down
5 changes: 1 addition & 4 deletions synth/validator/prompt_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class PromptConfig:
label: str
time_length: int
time_increment: int
initial_delay: int
cycle_interval_minutes: int
timeout_extra_seconds: int
scoring_intervals: dict[str, int] # Define scoring intervals in seconds.
Expand Down Expand Up @@ -42,7 +41,6 @@ class PromptConfig:
label="low",
time_length=86400,
time_increment=300,
initial_delay=60, # avoid 2 prompts to start simultaneously
cycle_interval_minutes=5,
timeout_extra_seconds=60,
scoring_intervals={
Expand All @@ -60,11 +58,10 @@ class PromptConfig:
)

HIGH_FREQUENCY = PromptConfig(
asset_list=["BTC", "ETH", "XAU", "SOL", "HYPE"],
asset_list=["BTC", "ETH", "SOL", "XRP", "HYPE"],
label="high",
time_length=3600,
time_increment=60,
initial_delay=0,
cycle_interval_minutes=2,
timeout_extra_seconds=60,
scoring_intervals={
Expand Down
2 changes: 0 additions & 2 deletions tests/test_miner_data_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ def test_set_miner_scores_upsert_preserves_individual_values(
label="low",
time_length=86400,
time_increment=300,
initial_delay=0,
cycle_interval_minutes=5,
timeout_extra_seconds=60,
scoring_intervals={},
Expand All @@ -592,7 +591,6 @@ def test_set_miner_scores_upsert_preserves_individual_values(
label="high",
time_length=3600,
time_increment=60,
initial_delay=0,
cycle_interval_minutes=2,
timeout_extra_seconds=60,
scoring_intervals={},
Expand Down
1 change: 0 additions & 1 deletion tests/test_sequential_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def _config(cycle_interval_minutes: int) -> PromptConfig:
label="test",
time_length=86400,
time_increment=300,
initial_delay=0,
cycle_interval_minutes=cycle_interval_minutes,
timeout_extra_seconds=60,
scoring_intervals={},
Expand Down
2 changes: 1 addition & 1 deletion validator.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
name: "validator cycle scoring",
interpreter: "python3",
script: "./neurons/validator.py",
args: "--netuid 50 --logging.debug --wallet.name validator --wallet.hotkey default --neuron.nprocs 8 --softmax.low.beta -0.4 --softmax.high.beta -0.4 --sma.low.days 10 --sma.high.days 5 --validator.mode light --retention.low.days 11 --retention.high.days 6 --validator.cycle_name scoring",
args: "--netuid 50 --logging.debug --wallet.name validator --wallet.hotkey default --neuron.nprocs 8 --softmax.low.beta -0.15 --softmax.high.beta -0.3 --sma.low.days 10 --sma.high.days 5 --validator.mode light --retention.low.days 11 --retention.high.days 6 --validator.cycle_name scoring",
env: {
PYTHONPATH: ".",
},
Expand Down
Loading