Skip to content

Commit

Permalink
Aider wrote 29% of the code in this release (157/547 lines).
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Jul 16, 2024
1 parent b67ba03 commit e91a580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/blame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit e91a580

Please sign in to comment.