Spaces:
Running
Running
Commit
·
db5145d
1
Parent(s):
83891df
fix the is subnet active calculations, but im still guesssing how to do it correctly
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def fetch_incentive_data() -> pd.DataFrame:
|
|
39 |
if incentive <= 0:
|
40 |
continue
|
41 |
|
42 |
-
is_active = metagraph.pending_root_emission.tao > 0
|
43 |
data.append([
|
44 |
f"[netuid: {sn} / {subnet.subnet_name}](https://taostats.io/subnets/{sn})",
|
45 |
is_active,
|
|
|
39 |
if incentive <= 0:
|
40 |
continue
|
41 |
|
42 |
+
is_active = metagraph.pending_root_emission.tao > 0 and metagraph.alpha_out_emission > 0 and metagraph.moving_price > 0
|
43 |
data.append([
|
44 |
f"[netuid: {sn} / {subnet.subnet_name}](https://taostats.io/subnets/{sn})",
|
45 |
is_active,
|