Fruit with and without null move

Code, algorithms, languages, construction...
Post Reply
geko
Posts: 34
Joined: Mon Aug 01, 2011 5:11 pm

Fruit with and without null move

Post by geko » Mon Aug 01, 2011 5:14 pm

I modified Fruit so that it plays without null move:

source in http://arctrix.com/nas/chess/fruit/ (fruit_21_linux.zip), file: search_full.cpp, line 475:

if (UseNull & & depth> = NullDepth NODE_TYPE & &! = NodePV) {

changed in

if (0) {

so i have 2 engines:
fruit: fruit not modified
fruit_nonull: fruit without null move

in a match between fruit and fruit_nonull the winner is fruit (without null move). WHY ??

Thanks in advance

here the match:

[Event "Arena tournament"]
[Site "HP-Pavilio"]
[Date "2011.08.01"]
[Round "1"]
[White "Fruit"]
[Black "Fruit_nonull"]
[Result "0-1"]
[BlackElo "2200"]
[ECO "A43"]
[Opening "Old Benoni"]
[Time "14:51:22"]
[Variation "2.d5 Nf6 3.Nf3 e6 4.Nc3"]
[WhiteElo "2200"]
[TimeControl "300+0"]
[Termination "normal"]
[PlyCount "141"]
[WhiteType "program"]
[BlackType "program"]

1. Nf3 {(Ng1-f3 Nb8-c6 Nb1-c3 Ng8-f6 e2-e3 d7-d5 Bf1-b5 Qd8-d6 d2-d4 Bc8-f5
O-O Nf6-g4 g2-g3) +0.22/13 6} Nc6 {(Nb8-c6 Nb1-c3 Ng8-f6 d2-d4 e7-e6 e2-e3
Bf8-b4 Bf1-d3 O-O O-O d7-d5) -0.15/11 12} 2. d4 {(d2-d4 Ng8-f6 d4-d5 Nc6-b4
c2-c4 Nb4-a6 Nb1-c3 d7-d6 Bc1-f4 Na6-c5 b2-b4 Nc5-e4) +0.25/13 9} Nf6
{(Ng8-f6 d4-d5 Nc6-b4 c2-c4 c7-c6 Nb1-c3 c6xd5 c4xd5 Qd8-a5 e2-e4 d7-d6
Bf1-b5+ Bc8-d7 Bb5xd7+ Nf6xd7) -0.27/10 9} 3. d5 {(d4-d5 Nc6-b4 c2-c4
Nb4-a6 Nb1-c3 d7-d6 Nf3-d4 h7-h6 Bc1-f4 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h3-g3+) +M5/18 0} 70. Re3 {(Re5-e3 Rb3xe3+
Kg3-f4 Qc6-h6+ g4-g5 Qh6-h3 a5-a6 Qh3-g3+) -M4/6 0} Rxe3+ {(Rb3xe3+ Kg3-f4
Qc6-h6+ g4-g5 Qh6-h3 a5-a6 Qh3-g3+) +M4/36 1} 71. Kf4 {(Kg3-f4 Qc6-h6+
g4-g5 Qh6-h3 a5-a6 Qh3-g3+) -M3/4 0 White resigns} 0-1

User avatar
DaveD
Posts: 38
Joined: Thu Jun 10, 2010 3:04 am

Re: Fruit with and without null move

Post by DaveD » Mon Aug 01, 2011 10:17 pm

geko wrote:I modified Fruit so that it plays without null move:

source in http://arctrix.com/nas/chess/fruit/ (fruit_21_linux.zip), file: search_full.cpp, line 475:

if (UseNull & & depth> = NullDepth NODE_TYPE & &! = NodePV) {

changed in

if (0) {

so i have 2 engines:
fruit: fruit not modified
fruit_nonull: fruit without null move

in a match between fruit and fruit_nonull the winner is fruit (without null move). WHY ??

Thanks in advance

here the match:
That is only one 5 minute game, not a "match".

hyatt
Posts: 1242
Joined: Thu Jun 10, 2010 2:13 am
Real Name: Bob Hyatt (Robert M. Hyatt)
Location: University of Alabama at Birmingham
Contact:

Re: Fruit with and without null move

Post by hyatt » Tue Aug 02, 2011 4:59 am

The expected loss is in the 80-160 Elo range. one game is about like tossing a coin.

wgarvin
Posts: 47
Joined: Thu Jul 01, 2010 3:51 pm
Real Name: Wylie Garvin

Re: Fruit with and without null move

Post by wgarvin » Tue Aug 02, 2011 7:27 am

It takes a lot of games--hundreds, at least--to measure whether a change is better or not with any confidence. The smaller the difference, the more games you have to play. Small changes in strength (e.g. 10 elo) can only be measured by playing thousands or even tens of thousands of games.

Here's a thread about number of games needed for testing. There's a program called BayesElo that can be used to calculate a relative rating from a bunch of PGN games.. I don't know much about it, but I believe it can calculate how likely it is that one program is stronger than another when you feed it the results of those hundreds (or thousands) of games.

geko
Posts: 34
Joined: Mon Aug 01, 2011 5:11 pm

Re: Fruit with and without null move

Post by geko » Thu Nov 10, 2011 9:31 pm

for this purpose I wrote a script to play 2 engines using a file containing the initial positions. The script runs N xboard (in parallel)
http://code.google.com/p/butterfly-ches ... testscript


To use wac.epd file is a good idea?

thank
g.

hyatt
Posts: 1242
Joined: Thu Jun 10, 2010 2:13 am
Real Name: Bob Hyatt (Robert M. Hyatt)
Location: University of Alabama at Birmingham
Contact:

Re: Fruit with and without null move

Post by hyatt » Fri Nov 11, 2011 3:53 pm

WAC is not a particularly good starting point. Most positions (295+) are trivially won by one side.

if you go to ftp.cis.uab.edu/pub/hyatt and probe around, there is a file named something like "openings.epd" that has a good set of epd positions to play games from. These are pretty balanced and none are outright won or lost from the get-go...

mjlef
Posts: 43
Joined: Thu Jun 10, 2010 6:51 pm
Real Name: Mark Lefler

Re: Fruit with and without null move

Post by mjlef » Fri Nov 11, 2011 9:52 pm

First, you need not modify Fruit if you wish to have it not use Null move pruning. There is a parameter for that.
Second, one game is meanlingless. Give us a few thousand.

mjlef
Posts: 43
Joined: Thu Jun 10, 2010 6:51 pm
Real Name: Mark Lefler

Re: Fruit with and without null move

Post by mjlef » Fri Nov 11, 2011 11:55 pm

I ran a quick match of 100 games:


-----------------Fruit_21-----------------
Fruit_21 - Fruit_21 no null : 76.0/100 64-12-24 (101101111=11111==111=111111=11=11010=111=11=11==11===000=11=10111111111=1=110110=111=11=0=111110==11?) 76% +200
-----------------Fruit_21 no null-----------------
Fruit_21 no null - Fruit_21 : 24.0/100 12-64-24 (010010000=00000==000=000000=00=00101=000=00=00==00===111=00=01000000000=0=001001=000=00=1=000001==00?) 24% -200

The null move version did quite a bit better. For more accuracy of what it is worth you should run thousands of games.

Post Reply