4

Update based on early comments:

  • I'm just wondering if we have such a feature, as my original question says.

Is there any feature we have that attempts to identify questions based on the same codebase, often a tutorial that many beginners may have copied from before running into problems?

I stumbled on this guy earlier, doing some Android spring-cleaning:

While reading, I realised the code was way more advanced than the OP's grasp of the concepts.

So a bit of the google using some phrases from the code and I came up with 3 other questions based on the same tutorial (possible original code from here):


It got me wondering if we have a way to detect this - although its more an intellectual question than something pragmatic or useful. Hence the "discussion" tag.

But perhaps it could feed back into our duplicates algorithm somehow.

6
  • 1
    What if it's exactly the same code but a totally different question?
    – Maroun
    Commented May 14, 2014 at 8:20
  • That's fine. My question is "do we have that feature?" and the context is "I'd be interested to know if we do" Commented May 14, 2014 at 8:22
  • And if we detect it, what do we do?
    – Joe
    Commented May 14, 2014 at 9:01
  • @Joe Perhaps I should tag my question as "feature-request"? Then I could propose that if we detect it, it would increase the score used to determine possible duplicates, in our duplicate engine. Commented May 14, 2014 at 9:06
  • As far as I am aware there are (or used to be) heuristics to detect duplication of post text (possibly including anything in a code block) within SO, but nothing to check outside that domain (as that is a pointless task - copied code/text doesn't necessarily indicate a problem). What I noticed/read was a long time ago though so treat it as anecdotal until proven otherwise.
    – slugster
    Commented May 14, 2014 at 10:10
  • @slugster the duplication of posted code is what I'm talking about. I don't think it is used anymore, or perhaps only contributes a small amount to the duplication score. Since the above examples use the same code base (and are not duplicates at all). Commented May 14, 2014 at 10:19

1 Answer 1

1

There isn't really a feature within the SE software that I know off that can do this.

I do know some smart attempts to detect plagiarized posts

and some even download and import the Data Dump to run these searches locally.

No matter how succesful these efforts are, it still needs some human intervention and judgement to verify the result and take the correct action. That is basiclly in line with the answers on: Can we get statistics on how much plagiarism is handled by the mods?

This gets even more complex and resoure consuming if you reduce the copied pieces to only code blocks and I would expect the number of false positives to be higher.

There are some tools that can help but the best option is still having enough eyes on the new posts in tags you follow to weed out the duplicates and spot the users that forget to add proper attribution to their copied code blocks, much in the same fashion you already did.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .