From e91a5805405e63933e569172b754545f161c5444 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 16 Jul 2024 15:41:54 +0100 Subject: [PATCH] Aider wrote 29% of the code in this release (157/547 lines). --- scripts/blame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/blame.py b/scripts/blame.py index 6f21997ea4a..4a437340ee7 100755 --- a/scripts/blame.py +++ b/scripts/blame.py @@ -76,7 +76,7 @@ def main(): print(f"- {author}: {count} lines ({percentage:.2f}%)") aider_percentage = (aider_total / total_lines) * 100 if total_lines > 0 else 0 - print(f"\nAider wrote {aider_percentage:.0f}% of the {total_lines} lines edited in this release.") + print(f"\nAider wrote {aider_percentage:.0f}% of the code in this release ({aider_total}/{total_lines} lines).") def get_counts_for_file(tag, authors, fname): text = run(['git', 'blame', f'{tag}..HEAD', '--', fname])