From dc97e84c54fca21b1b67ce1f8dec9244bd2f87f5 Mon Sep 17 00:00:00 2001 From: Mark Sinclair Date: Wed, 8 Oct 2025 18:46:04 +0100 Subject: [PATCH] change score thresholds --- .../nym-node-status-api/src/http/models.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nym-node-status-api/nym-node-status-api/src/http/models.rs b/nym-node-status-api/nym-node-status-api/src/http/models.rs index 5e53e3706a..6a3b981bdd 100644 --- a/nym-node-status-api/nym-node-status-api/src/http/models.rs +++ b/nym-node-status-api/nym-node-status-api/src/http/models.rs @@ -406,13 +406,13 @@ fn calculate_score(gateway: &Gateway, probe_outcome: &LastProbeResult) -> ScoreV / 1024f64; let speed_mbps = file_size_mb / duration_sec; - let file_download_score = if speed_mbps > 100.0 { + let file_download_score = if speed_mbps > 10.0 { 1.0 - } else if speed_mbps > 50.0 { + } else if speed_mbps > 5.0 { 0.75 - } else if speed_mbps > 20.0 { + } else if speed_mbps > 2.0 { 0.5 - } else if speed_mbps > 10.0 { + } else if speed_mbps > 1.0 { 0.25 } else { 0.1