From 8b5bae858e65d55e3fe920393c2982b7d68e58ea Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 10 Mar 2025 10:38:56 +0100 Subject: [PATCH] getting stats for repos that actually have tests --- stats_pull_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats_pull_requests.py b/stats_pull_requests.py index 2c1c424..5385bc8 100644 --- a/stats_pull_requests.py +++ b/stats_pull_requests.py @@ -97,7 +97,7 @@ def process_repo(repo_name): def main(): repos = pd.read_csv("results.csv") - repos = repos[repos["good_repo_for_crab"] == True] + repos = repos[(repos["good_repo_for_crab"] == True) & (repos["n_tests"] > 0)] stats = [] try: