From 5416b2ba151f7abc96bf732a41586a1c124c63cb Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 10 Mar 2025 10:42:56 +0100 Subject: [PATCH] saving the stats at each repo, so that we can see the progress --- stats_pull_requests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stats_pull_requests.py b/stats_pull_requests.py index 5385bc8..ddc5598 100644 --- a/stats_pull_requests.py +++ b/stats_pull_requests.py @@ -104,6 +104,7 @@ def main(): for _, row in tqdm.tqdm(repos.iterrows(), total=len(repos)): if "name" not in row or not isinstance(row["name"], str): continue + pd.DataFrame(stats).to_csv("pr_stats.csv", index=False) stats.extend(process_repo(row["name"])) finally: pd.DataFrame(stats).to_csv("pr_stats.csv", index=False)