29

I have spent the last 48 hours going over the Documentation (for the SQL topic primarily) and have noticed a large volume of plagiarized code.

It seems people are just ripping off the MSDN technical documentation and changing field names. I saw a couple that even had AdventureWorks.

I guess there are a couple of questions.

  1. What do people find to be the best method of managing plagiarism?
  2. Should we possibly increase the rep limit for users who can Contribute / Approve?
  3. How can greater onus be placed on reviewers to ensure that code plagiarism doesn't occur?
  4. In some instances code will appear plagiarized when it's not (basic best practices resulting in similar code); how do you determine that it is legitimate?
6
  • 8
    First offence should be a warning. Multiple offences should result in a (temporary) contribution ban, kind of like how review queue bans work.
    – user247702
    Commented Sep 7, 2016 at 13:53
  • 1
    Related, if not duplicate: meta.stackoverflow.com/q/330016/215552 or meta.stackoverflow.com/q/330454/215552 Commented Sep 7, 2016 at 16:20
  • 3
    Plagiarism is one thing, but creating an example using a widely available and known sample database is something else. Not saying that example isn't plagiarism, but be careful of assuming so just because they're using Adventureworks Cycles or Contoso as an example company...
    – user1228
    Commented Sep 7, 2016 at 16:58
  • 9
    Suspensions. Lots and lots of suspensions.
    – Undo Mod
    Commented Sep 7, 2016 at 18:06
  • See here as well for pointers from Jon Ericson on what to do if it's already approved: meta.stackoverflow.com/questions/330016/… Commented Sep 7, 2016 at 19:17
  • 2
    I think we are tackling the wrong problem. What motivates these users to plagiarize in first place? Lets start with that.
    – Braiam
    Commented Sep 9, 2016 at 10:13

1 Answer 1

23

I have a bit of experience with fighting plagiarism in Docs. I've actually proposed that getting caught should have consequences. In other words, the people who plagiarize should be locked out of contributing early, before they contribute a lot.

The way I generally catch plagiarism is by searching for phrases in quotes on Google. If it's something really basic, then you're going to find lots of different instances in the search results. I do this before approving anything more than a grammatical or formatting fix.

Of course, this does not work very well for finding copied code. (SQL doesn't have too much of a problem here, due to the design of the language.) Either way, I'd like to recommend this really cool trick, which is useful all around; you can use the code: operator to help find code on Stack Overflow (or another SE site), even with symbols.

I also like Copyscape's tools (except for reaching the maximum and being rate limited, since I'm using the free versions):

Of course, this advice is specifically geared towards catching plagiarism before it's approved and added. I've already written about cleaning up after plagiarism here.

2
  • 1
    Your link appears to be what us programmers call a "diff" tool. :-) There are hundreds of them online. And apparently, unless you pay for Copyscape Premium, it doesn't provide any way to determine if something has been plagiarized. The ubiquitous Google is a fantastic resource for that. Pick a phrase that looks distinct (i.e., not something ridiculously common), enter it into Google in quotation marks, and check the surrounding sentences. Usually a quick check is sufficient. Most plagiarists are not sophisticated enough to attempt to cover their work.
    – Cody Gray Mod
    Commented Sep 8, 2016 at 8:07
  • @CodyGray Most plagiarists aren't contributing to a crowd-sourced project where contributions are fluid and changing. It's mostly useful when you know there is plagiarism, but it is obscured by edits.
    – Laurel
    Commented Sep 8, 2016 at 23:27

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