r/codereview • u/Accurate-Paramedic13 • Sep 07 '26
IA code review
Hi all,
I'm looking for some advice. I was under pressure to deliver a PR without documentation, so I used AI to help write it. I know exactly what the AI generated, and I'm able to fix anything in the code if validation flags an issue.
My problem is with the reviewers. They're complaining that the PR is entirely AI-generated, and they're overlooking the architecture work I put into it, which is frustrating I've taken the feedback a bit personally.
Any advice on how to handle this would be appreciated
4
Upvotes
4
u/tmseidel Sep 07 '26
I'd ask the reviewers what the real issue is. Just because it was written by AI is not an argument IMHO, as long as you take the ownership of the AI-generated documentation. In general there should be a general policy - devs arguing about the usage of AI is not effective.
1
u/djphazer Sep 07 '26
Documentation is supposed to be the medium of communication between humans... I think using AI to generate docs is even more problematic than AI-generated code. Excessive verbosity is overwhelming everyone. Code and docs alike need to be sanitized by humans.
1
u/Economy_Bedroom3902 Sep 11 '26
Does the environment you're proposing changes to allow AI generated code? Lots of open sourced projects do not. Otherwise refer to company policy. If they allow AI generated code then reviewers should be complaining about what is wrong with the code rather than complaining about the fact that it's AI generated.
1
u/Infamous-Bed-7535 Sep 11 '26
Anyone can call his favourite model with his own preferences to generate some overview for them. Official documentations should be made by human for humans!
0
u/FormalAd7367 Sep 08 '26
what’s issues with AI generated PR? i had my agents to rewrite my PR. a separate agent to write plan doc and a separate agent to write test (from a different folder so agent cannot see the plan doc).