From 8c1b147705fb63c3c5e7f70cef2a6e2daf709569 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 18 Dec 2024 12:46:02 -0800 Subject: [PATCH] style: Fix string formatting in problem stats --- benchmark/problem_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/problem_stats.py b/benchmark/problem_stats.py index 3f40df0b9..9e87d5a52 100755 --- a/benchmark/problem_stats.py +++ b/benchmark/problem_stats.py @@ -127,7 +127,7 @@ def analyze_exercise_solutions(dirs=None, topn=None): for testcase in all_exercises: # Language is already in the testcase string - lang = testcase.split('/')[0] # First part is the language + lang = testcase.split("/")[0] # First part is the language models = exercise_solutions[testcase] num_solved = len(models) percent = (num_solved / total_models) * 100