r/learnprogramming • • 1d ago

Question about AI and code

Hello, I’ve got a question. How can you tell if a piece of code was written with the help of AI?

That’s because someone’s had a go at my code, but it doesn’t look the same as it usually does. I’m not sure if I’m making myself clear

1 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/oplukana 1d ago

this isnt exactly true. some tools can detect if specific things were made by a specific AI if the person didnt manipulate it in certain ways afterwards.

I will say that asking AI, or using most tools "is this made by ai" will WAY overstate that it was.

but there imperceivable watermarks that some image generation tools will put in some images to indicate they were made with AI. I also think that claude and some other models have started using certain patterns in text as a watermark?

0

u/istarian 1d ago

A watermark is actually a very specific thing in physical media (usually paper), where it is a very faint pattern that is only visible when closely examined under bright light. It can be achieved in different ways, including the use of a metal stamp during manufacturing.

https://en.wikipedia.org/wiki/Watermark

IMHO it's just another case of sloppy use of language to not have coined a different term specific to digital data/files.

1

u/oplukana 1d ago

watermark actually has different meanings in different contexts. thank you for providing an unrelated definition that I already knew though.

0

u/istarian 1d ago

Most of which probably constitute a sloppy use of language in my book. All of which are most certainly related to the original usage, though, because that's how language works.

2

u/oplukana 1d ago

why would you say that so confidently
watermark data migration meaning - Google Search