we should be able to git blame an LLM
12 replies
@zachleat i do in my heart every single day, does that count
if an LLM generated the code, it should get full credit for the code
@zachleat credit maybe, but blame belongs to whoever submitted it.
@ardouglass merge commits!
@zachleat I make a commit "generated by ChatGPT 4o from this prompt: ...". Then I make more commits fixing it.
git blameshows me as the author, but with comments "ChatGPT 4o". Those comments are deleted if I end up re-writing it. 🤷
@zachleat i appreciate that aider does this
> Aider is tightly integrated with git so all of aider’s code changes are committed to the repo with proper attribution.
https://aider.chat/docs/faq.html
though admittedly this info is often lost through squash merges or rebases
@zachleat oops, it’s everyone’s fault
@zachleat oh, you meant the code the LLM writes not like the contents of the LLM itself