Difference Checker for Clones
Moderators: hgm, Rebel, chrisw
-
- Posts: 6340
- Joined: Mon Mar 13, 2006 2:34 pm
- Location: Acworth, GA
Difference Checker for Clones
This seems like a task better suited for a computer. If a secure way could be developed to submit encrypted code of two different programs and let the computer calculate and generate statistics on common code then no human would ever have to see a programmer’s code and it might then be easier to detect clones. Just an idea anyway, of course this so called system would also destroy all related data files after it printed its results.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
__________________________________________________________________
Ted Summers
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Difference Checker for Clones
The code already exists. Many universities use this to detect plagiarism between students. The idea is that once the code is parsed, variable names, comments, and the like are not important, and it is easier to compare things.AdminX wrote:This seems like a task better suited for a computer. If a secure way could be developed to submit encrypted code of two different programs and let the computer calculate and generate statistics on common code then no human would ever have to see a programmer’s code and it might then be easier to detect clones. Just an idea anyway, of course this so called system would also destroy all related data files after it printed its results.
But a chess engine is a huge chunk of code. It is then difficult to determine which parts of the code are "dummy" and which parts are "real". And minor changes to the structure of a program make this kind of comparison much more complicated...
-
- Posts: 9773
- Joined: Wed Mar 08, 2006 8:44 pm
- Location: Amman,Jordan
Re: Difference Checker for Clones
Thanks for the info Prof.Robert Hyattbob wrote:The code already exists. Many universities use this to detect plagiarism between students. The idea is that once the code is parsed, variable names, comments, and the like are not important, and it is easier to compare things.AdminX wrote:This seems like a task better suited for a computer. If a secure way could be developed to submit encrypted code of two different programs and let the computer calculate and generate statistics on common code then no human would ever have to see a programmer’s code and it might then be easier to detect clones. Just an idea anyway, of course this so called system would also destroy all related data files after it printed its results.
But a chess engine is a huge chunk of code. It is then difficult to determine which parts of the code are "dummy" and which parts are "real". And minor changes to the structure of a program make this kind of comparison much more complicated...
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
-
- Posts: 6340
- Joined: Mon Mar 13, 2006 2:34 pm
- Location: Acworth, GA
Re: Difference Checker for Clones
Yeah, bob! Thanks much...
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
__________________________________________________________________
Ted Summers