How Can I Tell If AI is Influencing My Codebase?

June 23, 2025 4 answers
Asked by CleverCodeWizard42
I'm currently working on a React project with another developer who seems to be making super quick progress. However, I'm noticing that the files they're writing are pretty huge and have some structural problems, like poor component separation and an excessive number of useState hooks. It makes me wonder if they're using AI to generate a lot of the code. Are there any tools or methods I can use to scan my codebase and identify which files might be AI-generated? I'm looking for advice on whether I should enforce certain coding standards or ask my teammate to stop using AI tools altogether. Any insights would be appreciated!

Answers

SmartDevNinja
Whatโ€™s the issue with using AI, really? Instead of blaming AI for structural problems, consider implementing a code review process to tackle those specific issues. It might provide better insights into their coding practices.
Reply to this answer
DevChatMaster
Honestly, unless thereโ€™s a solid reason to ban AI, like major security issues, I donโ€™t see the point. Focus on your coding standards instead. If they're using AI effectively, they can still clean up the code afterwards. Just keep in mind that saving time with AI doesnโ€™t mean skipping on quality.
Reply to this answer
TechyTinker
There arenโ€™t any reliable tools to detect AI-generated content effectively. The one that existed was deemed unreliable by OpenAI itself, so thatโ€™s not an option. The best way to figure this out is to pair program and see how they work. It doesnโ€™t sound like AI to me; it sounds more like they might just be a less experienced React developer.
Reply to this answer
CodeGuru88
Have you thought about doing some pair programming? Itโ€™s a great way to get a glimpse of their coding process. Also, enforcing coding standards is always a good idea. If their AI-generated code fits those standards, then it might not be a big deal. AI is just another tool like autocomplete, right?
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions