From ff5b10aa746f95f3d01f0e40b13d7f9c3e232504 Mon Sep 17 00:00:00 2001 From: Jack Cushman Date: Tue, 21 Nov 2023 15:44:37 -0500 Subject: [PATCH] Fix pagerank percentile --- capstone/fabfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/capstone/fabfile.py b/capstone/fabfile.py index 39363948b..2bc394af5 100644 --- a/capstone/fabfile.py +++ b/capstone/fabfile.py @@ -1758,6 +1758,7 @@ def calculate_pagerank_scores( if score > last_score: percentile = i csv_output.writerow([id, score, percentile / total_rows]) + last_score = score @task