From 20ec7c73dd6813461d3470f8206716a3efc300c6 Mon Sep 17 00:00:00 2001 From: Jona Date: Thu, 21 Nov 2024 12:32:32 -0500 Subject: [PATCH] Oh no! Rank was being generated by coincidence_score instead of collated_score --- cerulean_cloud/cloud_function_ais_analysis/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cerulean_cloud/cloud_function_ais_analysis/main.py b/cerulean_cloud/cloud_function_ais_analysis/main.py index d8bcf9ff..3ac6d31e 100644 --- a/cerulean_cloud/cloud_function_ais_analysis/main.py +++ b/cerulean_cloud/cloud_function_ais_analysis/main.py @@ -110,7 +110,7 @@ async def handle_asa_request(request): ) if len(ranked_sources) > 0: ranked_sources = ranked_sources.sort_values( - "coincidence_score", ascending=False + "collated_score", ascending=False ).reset_index(drop=True) async with db_client.session.begin(): for idx, source_row in ranked_sources.iloc[:5].iterrows():