diff --git a/HISTORY.md b/HISTORY.md index 489cb9136..a586f3d70 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -10,6 +10,7 @@ - Default `--model-settings-file` is now `.aider.model.settings.yml`. - Default `--model-metadata-file` is now `.aider.model.metadata.json`. - Bugfix affecting launch with `--no-git`. +- Aider wrote 17% of the 511 lines edited in this release. ### Aider v0.42.0 diff --git a/scripts/blame.py b/scripts/blame.py index d782d4338..6f21997ea 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:.2f}% of {total_lines} lines edited in this release.") + print(f"\nAider wrote {aider_percentage:.0f}% of the {total_lines} lines edited in this release.") def get_counts_for_file(tag, authors, fname): text = run(['git', 'blame', f'{tag}..HEAD', '--', fname])