saving the stats at each repo, so that we can see

the progress
This commit is contained in:
Karma Riuk
2025-03-10 10:42:56 +01:00
parent fc0fdd2e43
commit 5416b2ba15

View File

@ -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)