How do you determine how much was written by you vs the LLM? I assume it consists of parsing the git log and getting LoC from that or similar?
If the scripts are public could you point me at them? I’d love to run it on a recent project I did using aider.
There’s a faq entry about how these stats are computed [0]. Basically using git blame, since aider is tightly integrated with git.
The faq links to the script that computes the stats. It’s not designed to be used on any repo, but you (or aider) could adapt it.
You’re not the first to ask for these stats about your own repo, so I may generalize it at some point.
[0] https://aider.chat/docs/faq.html#how-are-the-aider-wrote-xx-...
uv run --with=semver,PyYAML,tqdm https://raw.githubusercontent.com/Aider-AI/aider/refs/heads/main/scripts/blame.py
If a small change is made by an end-user to adjust an Aider result, who gets "credit"?
Whoever changed a line last gets credit. Only the new or newly changed lines in each release are considered.
So no, "lines/diffs otherwise untouched" are NOT considered written by aider. That wouldn't make sense?
How do you determine how much was written by you vs the LLM? I assume it consists of parsing the git log and getting LoC from that or similar?
If the scripts are public could you point me at them? I’d love to run it on a recent project I did using aider.