From c2ab2f57c7394aa38341b3ca8fc2352a635438c5 Mon Sep 17 00:00:00 2001 From: Phillip Jensen Date: Mon, 4 Mar 2024 20:15:44 +0100 Subject: [PATCH] Update tasks.py --- stats-backend/api2/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats-backend/api2/tasks.py b/stats-backend/api2/tasks.py index 094cb95..9ff174a 100644 --- a/stats-backend/api2/tasks.py +++ b/stats-backend/api2/tasks.py @@ -195,7 +195,7 @@ def v2_network_online_to_redis(): for node in serialized_data: node_id = node["node_id"] if node_id in success_rate_mapping: - node["taskReputation"] = success_rate_mapping[node_id] + node["taskReputation"] = success_rate_mapping[node_id] * 100 else: node["taskReputation"] = None