mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
feat: Add total column to unsolved problems table
This commit is contained in:
parent
e1571dda9b
commit
50bb2cb1e6
1 changed files with 3 additions and 3 deletions
|
@ -198,13 +198,13 @@ def analyze_exercise_solutions(dirs=None, topn=None, copy_hard_set=False):
|
|||
lang_unsolved[lang] += 1
|
||||
|
||||
print("\nUnsolved problems by language:")
|
||||
print(f"{'Language':<12} {'Count':>5} {'Percent':>8}")
|
||||
print("-" * 28)
|
||||
print(f"{'Language':<12} {'Count':>5} {'Total':>7} {'Percent':>8}")
|
||||
print("-" * 35)
|
||||
for lang in sorted(lang_totals.keys()):
|
||||
count = lang_unsolved[lang]
|
||||
total = lang_totals[lang]
|
||||
pct = (count / total) * 100
|
||||
print(f"{lang:<12} {count:>5} {pct:>7.1f}%")
|
||||
print(f"{lang:<12} {count:>5} {total:>7} {pct:>7.1f}%")
|
||||
print()
|
||||
|
||||
# For each model, compute performance on hard set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue