Difference Checker for Clones

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Difference Checker for Clones

Post by AdminX »

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
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Difference Checker for Clones

Post by bob »

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.
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.

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...
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Difference Checker for Clones

Post by Dr.Wael Deeb »

bob wrote:
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.
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.

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...
Thanks for the info Prof.Robert Hyatt :D
_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….
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Difference Checker for Clones

Post by AdminX »

Yeah, bob! Thanks much...
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers