mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 23:05:00 +00:00
style: Fix linting issues in problem_stats.py
This commit is contained in:
parent
14af6f1fba
commit
5dddaac006
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def analyze_exercise_solutions(dirs=None, topn=None):
|
|||
testcase = testcase.replace("exercises/", "") # Remove the exercises/ prefix
|
||||
# Remove duplicate language prefix (e.g. javascript/javascript/ -> javascript/)
|
||||
if testcase.startswith(f"{lang}/{lang}/"):
|
||||
testcase = testcase[len(lang)+1:]
|
||||
testcase = testcase[len(lang) + 1 :]
|
||||
exercise_stats.append((lang, testcase, num_solved, percent))
|
||||
|
||||
# Sort all exercises by solve rate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue