Author: Uri Blass
Date: 03:33:42 11/28/03
Go up one level in this thread
On November 28, 2003 at 06:12:43, Odd Gunnar Malin wrote: >On November 28, 2003 at 05:00:49, martin fierz wrote: > >>just a short question: >> >>if i rip assembler stuff like popcount and firstone from the crafty source, but >>the rest of my program is entirely different, am i doing something wrong? >> >>if i use the kogge-stone floodfill algorithms posted here by steffan westcott, >>am i doing something wrong? >> > >As soon as you start copying code from another source I think it is cheating if >you want to participate in a competition with your program. > >>how much foreign code is allowed? > >None. No It is not the case. A lot of programs have small parts of other programs and it is allowed. It is not allowed only if the part that are copied are significant part and I remember based on a post of some months or years ago a case that a court decide that something is allowed because the programmers had not more than 40% identical code. I think that slater was the poster but I am not sure. I do not know how to calculate % and it is clear that it is not only size because if a program has a big book you cannot claim that the book is most of the code so you only changed the book and most of the code is different. > >> >>cheers >> martin >> >>PS: i use a table-based popcount, not crafty's assembly code. i use a modified >>version of crafty's lastone. i don't use steffan's floodfill code, but i plan to >>give it a try. > >This is not cheating because here you have learned an idea you want to test it >yourself. > >There is a difference in what you want to do with your program. >- If it is a private app. you can do what you want (no one can check). >- If you want your app. to be public you have to get permision from the author. >- If you want to participate in a public tournament you have to write it all >yourself or add the orgin to your team (with permission). > >Some borderlines: >- Fritz's (or others) booklearning code. In a tournament this isn't of any help >but as soon as the competition is match play then the author of the code is also >part of the team and the tournament rule decide if more than one engine can use >it. ( I have to add that CB probably learned some of the learningcode from Hyatt >(I think it was mention here a year back), but this is an article in a paper >(ICCA) and not copying of codes.) >- Nalimov's egtb code. Here too is he part of the team so if the tourney only >allow an author to participate with one entry, only one entry should use his >code. >- Opening book, same as for the egtb code. > >The extreme case that someone seems to not think of as a clone is to start with >tscp or gerbil and modify it. >I think even when you have modified all the code you should still not be allowed >in a tournament without the orgin's permission and added to the team. No If all the code is modified you have no way to prove what was the original code. >Basicly here you add a startrating of 1600-2000 for your engine in contrast with >one who start from scratch where the engine would be below 1000 the first tries. No If you implement ideas correctly the engine should not be below 1000 in the first tries. My opinion is that the first tries should be testing the move generator by the perft function and not testing a chess playing program I started by move generator when I use different structure from tscp but I copied part of the data structure of tscp(movei had always data structure that is not in tscp and never used data structure that you cannot take out of tscp without rewriting most of the code. Uri
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.