From bee88421508620a95e28f109e258553f3b070522 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 17 Apr 2025 10:57:44 +0200 Subject: [PATCH] update rating in analyst db --- app/cron_analyst_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron_analyst_db.py b/app/cron_analyst_db.py index e17b85b..0654a4a 100755 --- a/app/cron_analyst_db.py +++ b/app/cron_analyst_db.py @@ -161,7 +161,7 @@ def calculate_rating(data): elif total_ratings > 30 and overall_success_rate > 50 and overall_average_return > 50: normalized_rating += 0.5 - elif total_ratings > 20 and overall_success_rate >= 50 and overall_average_return >= 15: + elif total_ratings >= 10 and overall_success_rate >= 50 and overall_average_return >= 15: normalized_rating += 0.3 # Apply additional conditions based on return and success rate thresholds