some very strange behavior of SF

Discussion of chess software programming and technical issues.

Moderator: Ras

lech
Posts: 1169
Joined: Sun Feb 14, 2010 10:02 pm

some very strange behavior of SF

Post by lech »

It looks that I found some very strange behavior of SF. This can be a huge bug. It is so strange that until it

seems to be unlikely. I am working on version 1.8 but also checked it on version 2.0. This applies to search functions. :?
Maybe, I can't be friendly, but let me be useful.
ernest
Posts: 2053
Joined: Wed Mar 08, 2006 8:30 pm

Re: some very strange behavior of SF

Post by ernest »

We are all holding our breath!... 8-)
lech
Posts: 1169
Joined: Sun Feb 14, 2010 10:02 pm

Re: some very strange behavior of SF

Post by lech »

I made two changes in root search.
1) I added this code before last rml.sort().

Code: Select all

for (int z = 0; z < rml.move_count(); z++)
  LogFile << "\n" << z << " " << rml.get_move(z) << " score " << ": " << value_to_string(rml.get_move_score(z));
LogFile << "\n" << endl;
2) I changed

Code: Select all

 
 // Step 17. Check for new best move
            if (value <= alpha && i >= MultiPV)
                rml.set_move_score(i, value); // instead of -VALUE_INFINITE
Step by step all moves match scores to the best move. I tested many others positions. Always with the same strange effect.

Please watch all the example to the end. :D

[d] 4kr2/5p1K/3p1Q2/1p4P1/4P3/1PP5/7b/8 w - -

Code: Select all

Searching: 4kr2/5p1K/3p1Q2/1p4P1/4P3/1PP5/7b/8 w - -
infinite: 1 ponder: 0 time: 0 increment: 0 moves to go: 0

0 h7g7 score : cp 383
1 f6g7 score : cp 379
2 h7h6 score : cp 367
3 f6h6 score : cp 367
4 f6f2 score : cp 367
5 f6d4 score : cp 363
6 f6f5 score : cp 359
7 f6f3 score : cp 355
8 f6f1 score : cp 335
9 b3b4 score : cp 335
10 c3c4 score : cp 319
11 g5g6 score : cp 246
12 e4e5 score : cp 214
13 f6h8 score : cp -363
14 f6g6 score : cp -824
15 f6f7 score : cp -856
16 f6d6 score : cp -913
17 f6e6 score : cp -961
18 f6d8 score : cp -989
19 f6f4 score : cp -1046
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054

 2     +3.39   00:01      193 Kg7 Be5 

0 h7g7 score : cp 339
1 f6g7 score : cp 278
2 f6f2 score : cp 290
3 f6h6 score : cp 294
4 h7h6 score : cp 323
5 f6d4 score : cp 335
6 f6f5 score : cp 303
7 f6f3 score : cp 298
8 b3b4 score : cp 294
9 f6f1 score : cp 339
10 c3c4 score : cp 319
11 g5g6 score : cp 323
12 e4e5 score : cp 274
13 f6h8 score : cp -227
14 f6g6 score : cp -688
15 f6f7 score : cp -787
16 f6d6 score : cp -777
17 f6e6 score : cp -961
18 f6d8 score : cp -989
19 f6f4 score : cp -910
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054


0 f6f1 score : cp 339
1 h7g7 score : cp 339
2 f6d4 score : cp 335
3 g5g6 score : cp 323
4 h7h6 score : cp 323
5 c3c4 score : cp 319
6 f6f5 score : cp 303
7 f6f3 score : cp 298
8 b3b4 score : cp 294
9 f6h6 score : cp 294
10 f6f2 score : cp 290
11 f6g7 score : cp 278
12 e4e5 score : cp 274
13 f6h8 score : cp -227
14 f6g6 score : cp -688
15 f6d6 score : cp -777
16 f6f7 score : cp -787
17 f6f4 score : cp -910
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054

 3     +3.39   00:01      386 Qf1 Be5 Qxb5+ Ke7 

0 f6f1 score : cp 339
1 h7g7 score : cp 327
2 f6d4 score : cp 337
3 h7h6 score : cp 337
4 g5g6 score : cp 323
5 c3c4 score : cp 319
6 f6f5 score : cp 325
7 f6f3 score : cp 337
8 f6h6 score : cp 333
9 b3b4 score : cp 329
10 f6f2 score : cp 329
11 f6g7 score : cp 317
12 e4e5 score : cp 274
13 f6h8 score : cp -114
14 f6g6 score : cp -575
15 f6d6 score : cp -664
16 f6f7 score : cp -787
17 f6f4 score : cp -797
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054


0 f6f1 score : cp 339
1 f6f3 score : cp 337
2 h7h6 score : cp 337
3 f6d4 score : cp 337
4 f6h6 score : cp 333
5 f6f2 score : cp 329
6 b3b4 score : cp 329
7 h7g7 score : cp 327
8 f6f5 score : cp 325
9 g5g6 score : cp 323
10 c3c4 score : cp 319
11 f6g7 score : cp 317
12 e4e5 score : cp 274
13 f6h8 score : cp -114
14 f6g6 score : cp -575
15 f6d6 score : cp -664
16 f6f7 score : cp -787
17 f6f4 score : cp -797
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054

 4     +3.39   00:01     1066 Qf1 Ke7 Qxb5 Bf4 

0 f6f1 score : cp 339
1 f6d4 score : cp 327
2 h7h6 score : cp 309
3 f6f3 score : cp 327
4 f6h6 score : cp 329
5 f6f2 score : cp 277
6 b3b4 score : cp 273
7 h7g7 score : cp -496
8 f6f5 score : cp 315
9 g5g6 score : cp 332
10 c3c4 score : cp 331
11 f6g7 score : cp 297
12 e4e5 score : cp 339
13 f6h8 score : cp -58
14 f6g6 score : cp -518
15 f6d6 score : cp -607
16 f6f7 score : cp -787
17 f6f4 score : cp -797
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054


0 f6f1 score : cp 339
1 e4e5 score : cp 339
2 g5g6 score : cp 332
3 c3c4 score : cp 331
4 f6h6 score : cp 329
5 f6d4 score : cp 327
6 f6f3 score : cp 327
7 f6f5 score : cp 315
8 h7h6 score : cp 309
9 f6g7 score : cp 297
10 f6f2 score : cp 277
11 b3b4 score : cp 273
12 f6h8 score : cp -58
13 h7g7 score : cp -496
14 f6g6 score : cp -518
15 f6d6 score : cp -607
16 f6f7 score : cp -787
17 f6f4 score : cp -797
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054

 5     +3.68   00:01     1979 Qf1 Ke7 Qxb5 Be5 

0 f6f1 score : cp 367
1 e4e5 score : cp 362
2 g5g6 score : cp 353
3 c3c4 score : cp 347
4 f6h6 score : cp 329
5 f6d4 score : cp 366
6 f6f3 score : cp 367
7 f6f5 score : cp 367
8 h7h6 score : cp 309
9 f6g7 score : cp 297
10 f6f2 score : cp 277
11 b3b4 score : cp 273
12 f6h8 score : cp -58
13 h7g7 score : cp -496
14 f6g6 score : cp -518
15 f6d6 score : cp -913
16 f6f7 score : cp -787
17 f6f4 score : cp -740
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054


0 f6f1 score : cp 367
1 f6f5 score : cp 367
2 f6f3 score : cp 367
3 f6d4 score : cp 366
4 e4e5 score : cp 362
5 g5g6 score : cp 353
6 c3c4 score : cp 347
7 f6h6 score : cp 329
8 h7h6 score : cp 309
9 f6g7 score : cp 297
10 f6f2 score : cp 277
11 b3b4 score : cp 273
12 f6h8 score : cp -58
13 h7g7 score : cp -496
14 f6g6 score : cp -518
15 f6f4 score : cp -740
16 f6f7 score : cp -787
17 f6d6 score : cp -913
18 f6e6 score : cp -961
19 f6d8 score : cp -989
20 f6e5 score : cp -1050
21 f6e7 score : cp -1054

 6     +3.68   00:01     2786 Qf1 Ke7 Qxb5 Be5 

0 f6f1 score : cp 367
1 f6f5 score : cp 367
2 f6f3 score : cp 367
3 f6d4 score : cp 366
4 e4e5 score : cp 362
5 g5g6 score : cp 366
6 c3c4 score : cp 347
7 f6h6 score : cp 329
8 h7h6 score : cp 366
9 f6g7 score : cp 358
10 f6f2 score : cp 367
11 b3b4 score : cp 366
12 f6h8 score : cp 290
13 h7g7 score : cp -496
14 f6g6 score : cp 294
15 f6f4 score : cp -732
16 f6f7 score : cp -551
17 f6d6 score : cp -599
18 f6e6 score : cp -563
19 f6d8 score : cp -599
20 f6e5 score : cp -660
21 f6e7 score : cp -664


0 f6f1 score : cp 367
1 f6f5 score : cp 367
2 f6f2 score : cp 367
3 f6f3 score : cp 367
4 b3b4 score : cp 366
5 g5g6 score : cp 366
6 h7h6 score : cp 366
7 f6d4 score : cp 366
8 e4e5 score : cp 362
9 f6g7 score : cp 358
10 c3c4 score : cp 347
11 f6h6 score : cp 329
12 f6g6 score : cp 294
13 f6h8 score : cp 290
14 h7g7 score : cp -496
15 f6f7 score : cp -551
16 f6e6 score : cp -563
17 f6d8 score : cp -599
18 f6d6 score : cp -599
19 f6e5 score : cp -660
20 f6e7 score : cp -664
21 f6f4 score : cp -732

 7  <  +3.52   00:01     4145 Qf1 Ke7 
 7  <  +3.35   00:01     5296 Qf1 Ke7 
 7  <  +3.00   00:01     6475 c4 bxc4 
 7  <  +2.38   00:01    10082 Qf5 Be5 
 7  <  +1.09   00:01    14022 Qf5 Be5 
 7     +2.42   00:01    15236 Qf1 Ke7 g6 fxg6 Qxb5 Be5 Qb7+ Ke6 Qd5+ Ke7 Kxg6 
                              Bxc3 

0 f6f5 score : cp 109
1 f6f1 score : cp 242
2 f6h6 score : cp 238
3 h7h6 score : cp 238
4 f6d4 score : cp 238
5 b3b4 score : cp 238
6 f6f2 score : cp 238
7 g5g6 score : cp 238
8 e4e5 score : cp 238
9 c3c4 score : cp 236
10 f6f3 score : cp 236
11 f6g7 score : cp 173
12 f6h8 score : cp -58
13 f6d6 score : cp -466
14 f6f7 score : cp -495
15 h7g7 score : cp -496
16 f6g6 score : cp -518
17 f6d8 score : cp -542
18 f6e6 score : cp -600
19 f6e5 score : cp -603
20 f6e7 score : cp -607
21 f6f4 score : cp -732


0 f6f1 score : cp 242
1 e4e5 score : cp 238
2 g5g6 score : cp 238
3 f6f2 score : cp 238
4 b3b4 score : cp 238
5 f6d4 score : cp 238
6 h7h6 score : cp 238
7 f6h6 score : cp 238
8 f6f3 score : cp 236
9 c3c4 score : cp 236
10 f6g7 score : cp 173
11 f6f5 score : cp 109
12 f6h8 score : cp -58
13 f6d6 score : cp -466
14 f6f7 score : cp -495
15 h7g7 score : cp -496
16 f6g6 score : cp -518
17 f6d8 score : cp -542
18 f6e6 score : cp -600
19 f6e5 score : cp -603
20 f6e7 score : cp -607
21 f6f4 score : cp -732

 8  <  +1.09   00:01    22814 Qf1 Be5 
 8  <  -0.78   00:01    25877 c4 Be5 
 8     +0.00   00:02    27722 Qf1 Be5 Qxb5+ Ke7 Qb7+ Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 c3c4 score : cp -78
1 e4e5 score : cp -8
2 b3b4 score : cp -8
3 f6f1 score : cp 0
4 f6h6 score : cp -68
5 f6f2 score : cp -110
6 f6f3 score : cp -235
7 f6f5 score : cp 0
8 f6d4 score : cp 0
9 g5g6 score : cp -20
10 f6g7 score : cp -68
11 h7h6 score : cp -94
12 h7g7 score : cp -235
13 f6f7 score : cp -328
14 f6h8 score : cp -351
15 f6d6 score : cp -439
16 f6d8 score : cp -516
17 f6g6 score : cp -518
18 f6e6 score : cp -575
19 f6e5 score : cp -577
20 f6e7 score : cp -581
21 f6f4 score : cp -732


0 f6f5 score : cp 0
1 f6d4 score : cp 0
2 f6f1 score : cp 0
3 e4e5 score : cp -8
4 b3b4 score : cp -8
5 g5g6 score : cp -20
6 f6h6 score : cp -68
7 f6g7 score : cp -68
8 c3c4 score : cp -78
9 h7h6 score : cp -94
10 f6f2 score : cp -110
11 f6f3 score : cp -235
12 h7g7 score : cp -235
13 f6f7 score : cp -328
14 f6h8 score : cp -351
15 f6d6 score : cp -439
16 f6d8 score : cp -516
17 f6g6 score : cp -518
18 f6e6 score : cp -575
19 f6e5 score : cp -577
20 f6e7 score : cp -581
21 f6f4 score : cp -732

 9     +0.00   00:02    29609 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Ke7 Qb7+ 

0 f6f5 score : cp 0
1 f6d4 score : cp 0
2 f6f1 score : cp 0
3 e4e5 score : cp 0
4 b3b4 score : cp -8
5 g5g6 score : cp 0
6 f6h6 score : cp -18
7 f6g7 score : cp -18
8 c3c4 score : cp -78
9 h7h6 score : cp -94
10 f6f2 score : cp 0
11 f6f3 score : cp -110
12 h7g7 score : cp -110
13 f6f7 score : cp -258
14 f6h8 score : cp 0
15 f6d6 score : cp -215
16 f6d8 score : cp -497
17 f6g6 score : cp -681
18 f6e6 score : cp -498
19 f6e5 score : cp -494
20 f6e7 score : cp -466
21 f6f4 score : cp -552


0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 g5g6 score : cp 0
3 f6f1 score : cp 0
4 f6d4 score : cp 0
5 f6f2 score : cp 0
6 f6h8 score : cp 0
7 b3b4 score : cp -8
8 f6g7 score : cp -18
9 f6h6 score : cp -18
10 c3c4 score : cp -78
11 h7h6 score : cp -94
12 h7g7 score : cp -110
13 f6f3 score : cp -110
14 f6d6 score : cp -215
15 f6f7 score : cp -258
16 f6e7 score : cp -466
17 f6e5 score : cp -494
18 f6d8 score : cp -497
19 f6e6 score : cp -498
20 f6f4 score : cp -552
21 f6g6 score : cp -681

10     +0.00   00:02    32340 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Ke7 Qb7+ 

0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 g5g6 score : cp 0
3 f6f1 score : cp 0
4 f6d4 score : cp 0
5 f6f2 score : cp 0
6 f6h8 score : cp 0
7 b3b4 score : cp -123
8 f6g7 score : cp 0
9 f6h6 score : cp 0
10 c3c4 score : cp -78
11 h7h6 score : cp -110
12 h7g7 score : cp -81
13 f6f3 score : cp 0
14 f6d6 score : cp -215
15 f6f7 score : cp -72
16 f6e7 score : cp -466
17 f6e5 score : cp -462
18 f6d8 score : cp -183
19 f6e6 score : cp -498
20 f6f4 score : cp -542
21 f6g6 score : cp -652


0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 f6f2 score : cp 0
4 f6g7 score : cp 0
5 f6h6 score : cp 0
6 f6f3 score : cp 0
7 f6h8 score : cp 0
8 f6d4 score : cp 0
9 f6f1 score : cp 0
10 f6f7 score : cp -72
11 c3c4 score : cp -78
12 h7g7 score : cp -81
13 h7h6 score : cp -110
14 b3b4 score : cp -123
15 f6d8 score : cp -183
16 f6d6 score : cp -215
17 f6e5 score : cp -462
18 f6e7 score : cp -466
19 f6e6 score : cp -498
20 f6f4 score : cp -542
21 f6g6 score : cp -652

11     +0.00   00:02    36893 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Ke7 Qb7+ 

0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 f6f2 score : cp 0
4 f6g7 score : cp 0
5 f6h6 score : cp 0
6 f6f3 score : cp 0
7 f6h8 score : cp 0
8 f6f1 score : cp 0
9 f6d4 score : cp 0
10 f6f7 score : cp -72
11 c3c4 score : cp -48
12 h7g7 score : cp 0
13 h7h6 score : cp 0
14 b3b4 score : cp -69
15 f6d8 score : cp -183
16 f6d6 score : cp -4
17 f6e5 score : cp -462
18 f6e7 score : cp -466
19 f6e6 score : cp -441
20 f6f4 score : cp -328
21 f6g6 score : cp -635


0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 g5g6 score : cp 0
3 f6f1 score : cp 0
4 h7h6 score : cp 0
5 f6g7 score : cp 0
6 f6d4 score : cp 0
7 f6f2 score : cp 0
8 h7g7 score : cp 0
9 f6h6 score : cp 0
10 f6f3 score : cp 0
11 f6h8 score : cp 0
12 f6d6 score : cp -4
13 c3c4 score : cp -48
14 b3b4 score : cp -69
15 f6f7 score : cp -72
16 f6d8 score : cp -183
17 f6f4 score : cp -328
18 f6e6 score : cp -441
19 f6e5 score : cp -462
20 f6e7 score : cp -466
21 f6g6 score : cp -635

12     +0.00   00:02    43897 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Ke7 Qb7+ 

0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 g5g6 score : cp 0
3 f6f1 score : cp 0
4 h7h6 score : cp 0
5 f6g7 score : cp 0
6 f6d4 score : cp 0
7 f6f2 score : cp 0
8 h7g7 score : cp 0
9 f6h6 score : cp 0
10 f6f3 score : cp 0
11 f6h8 score : cp 0
12 f6d6 score : cp -4
13 c3c4 score : cp 0
14 b3b4 score : cp -12
15 f6f7 score : cp -72
16 f6d8 score : cp -13
17 f6f4 score : cp -328
18 f6e6 score : cp -385
19 f6e5 score : cp -405
20 f6e7 score : cp -409
21 f6g6 score : cp -589


0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 f6f1 score : cp 0
4 h7h6 score : cp 0
5 c3c4 score : cp 0
6 f6d4 score : cp 0
7 f6f2 score : cp 0
8 f6h6 score : cp 0
9 h7g7 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6h8 score : cp 0
13 f6d6 score : cp -4
14 b3b4 score : cp -12
15 f6d8 score : cp -13
16 f6f7 score : cp -72
17 f6f4 score : cp -328
18 f6e6 score : cp -385
19 f6e5 score : cp -405
20 f6e7 score : cp -409
21 f6g6 score : cp -589

13     +0.00   00:02    51757 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Ke7 Qb7+ 

0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 f6f1 score : cp 0
4 h7h6 score : cp 0
5 c3c4 score : cp 0
6 f6d4 score : cp 0
7 f6f2 score : cp 0
8 f6h6 score : cp 0
9 h7g7 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6h8 score : cp 0
13 f6d6 score : cp -4
14 b3b4 score : cp -12
15 f6d8 score : cp -13
16 f6f7 score : cp -72
17 f6f4 score : cp -101
18 f6e6 score : cp -52
19 f6e5 score : cp -348
20 f6e7 score : cp -68
21 f6g6 score : cp -501


0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 f6f1 score : cp 0
4 c3c4 score : cp 0
5 h7h6 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 h7g7 score : cp 0
9 f6h6 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6h8 score : cp 0
13 f6d6 score : cp -4
14 b3b4 score : cp -12
15 f6d8 score : cp -13
16 f6e6 score : cp -52
17 f6e7 score : cp -68
18 f6f7 score : cp -72
19 f6f4 score : cp -101
20 f6e5 score : cp -348
21 f6g6 score : cp -501

14     +0.00   00:02    62221 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Ke7 Qb7+ 

0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 f6f1 score : cp 0
4 c3c4 score : cp 0
5 h7h6 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 h7g7 score : cp 0
9 f6h6 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6h8 score : cp 0
13 f6d6 score : cp -4
14 b3b4 score : cp 0
15 f6d8 score : cp -36
16 f6e6 score : cp -52
17 f6e7 score : cp -68
18 f6f7 score : cp -21
19 f6f4 score : cp -101
20 f6e5 score : cp -36
21 f6g6 score : cp 0


0 f6f1 score : cp 0
1 f6f5 score : cp 0
2 g5g6 score : cp 0
3 e4e5 score : cp 0
4 c3c4 score : cp 0
5 h7h6 score : cp 0
6 f6d4 score : cp 0
7 f6f2 score : cp 0
8 h7g7 score : cp 0
9 f6f3 score : cp 0
10 f6h6 score : cp 0
11 f6g7 score : cp 0
12 f6h8 score : cp 0
13 f6g6 score : cp 0
14 b3b4 score : cp 0
15 f6d6 score : cp -4
16 f6f7 score : cp -21
17 f6e5 score : cp -36
18 f6d8 score : cp -36
19 f6e6 score : cp -52
20 f6e7 score : cp -68
21 f6f4 score : cp -101

15     +0.00   00:02    77575 Qf1 Be5 Qxb5+ Ke7 Qb7+ Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f1 score : cp 0
1 f6f5 score : cp 0
2 g5g6 score : cp 0
3 e4e5 score : cp 0
4 c3c4 score : cp 0
5 h7h6 score : cp 0
6 f6d4 score : cp 0
7 f6f2 score : cp 0
8 h7g7 score : cp 0
9 f6f3 score : cp 0
10 f6h6 score : cp 0
11 f6g7 score : cp 0
12 f6h8 score : cp 0
13 f6g6 score : cp 0
14 b3b4 score : cp 0
15 f6d6 score : cp -4
16 f6f7 score : cp 0
17 f6e5 score : cp -8
18 f6d8 score : cp -36
19 f6e6 score : cp -52
20 f6e7 score : cp -7
21 f6f4 score : cp -101


0 f6f1 score : cp 0
1 g5g6 score : cp 0
2 f6f5 score : cp 0
3 c3c4 score : cp 0
4 f6f7 score : cp 0
5 h7h6 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 f6h6 score : cp 0
9 f6f3 score : cp 0
10 f6h8 score : cp 0
11 f6g6 score : cp 0
12 f6g7 score : cp 0
13 h7g7 score : cp 0
14 e4e5 score : cp 0
15 b3b4 score : cp 0
16 f6d6 score : cp -4
17 f6e7 score : cp -7
18 f6e5 score : cp -8
19 f6d8 score : cp -36
20 f6e6 score : cp -52
21 f6f4 score : cp -101

16     +0.00   00:02    91160 Qf1 Be5 Qxb5+ Ke7 Qb7+ Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f1 score : cp 0
1 g5g6 score : cp 0
2 f6f5 score : cp 0
3 c3c4 score : cp 0
4 f6f7 score : cp 0
5 h7h6 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 f6h6 score : cp 0
9 f6f3 score : cp 0
10 f6h8 score : cp 0
11 f6g6 score : cp 0
12 e4e5 score : cp 0
13 h7g7 score : cp 0
14 f6g7 score : cp 0
15 b3b4 score : cp 0
16 f6d6 score : cp -4
17 f6e7 score : cp -23
18 f6e5 score : cp -41
19 f6d8 score : cp -1
20 f6e6 score : cp -12
21 f6f4 score : cp -101


0 g5g6 score : cp 0
1 f6f5 score : cp 0
2 f6f1 score : cp 0
3 c3c4 score : cp 0
4 f6f7 score : cp 0
5 h7h6 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 h7g7 score : cp 0
9 f6h6 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6h8 score : cp 0
13 f6g6 score : cp 0
14 e4e5 score : cp 0
15 b3b4 score : cp 0
16 f6d8 score : cp -1
17 f6d6 score : cp -4
18 f6e6 score : cp -12
19 f6e7 score : cp -23
20 f6e5 score : cp -41
21 f6f4 score : cp -101

17  <  -0.08   00:03   119845 g6 Be5 
17     +0.00   00:03   130347 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 g5g6 score : cp -8
1 f6f5 score : cp 0
2 f6f1 score : cp 0
3 c3c4 score : cp 0
4 f6f7 score : cp 0
5 h7h6 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 h7g7 score : cp 0
9 f6h6 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6h8 score : cp 0
13 f6g6 score : cp 0
14 e4e5 score : cp 0
15 b3b4 score : cp 0
16 f6d8 score : cp -1
17 f6d6 score : cp -4
18 f6e6 score : cp -4
19 f6e7 score : cp -1
20 f6e5 score : cp -48
21 f6f4 score : cp -10


0 f6f5 score : cp 0
1 c3c4 score : cp 0
2 f6f7 score : cp 0
3 f6f2 score : cp 0
4 e4e5 score : cp 0
5 h7h6 score : cp 0
6 h7g7 score : cp 0
7 f6d4 score : cp 0
8 f6h6 score : cp 0
9 f6h8 score : cp 0
10 f6g7 score : cp 0
11 f6g6 score : cp 0
12 f6f3 score : cp 0
13 f6f1 score : cp 0
14 b3b4 score : cp 0
15 f6d8 score : cp -1
16 f6e7 score : cp -1
17 f6e6 score : cp -4
18 f6d6 score : cp -4
19 g5g6 score : cp -8
20 f6f4 score : cp -10
21 f6e5 score : cp -48

18     +0.00   00:03   156964 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 c3c4 score : cp 0
2 f6f7 score : cp 0
3 f6f2 score : cp 0
4 e4e5 score : cp 0
5 h7h6 score : cp 0
6 h7g7 score : cp 0
7 f6d4 score : cp 0
8 f6h6 score : cp 0
9 f6h8 score : cp 0
10 f6g7 score : cp 0
11 f6g6 score : cp 0
12 f6f3 score : cp 0
13 f6f1 score : cp 0
14 b3b4 score : cp -2
15 f6d8 score : cp -1
16 f6e7 score : cp -1
17 f6e6 score : cp -4
18 f6d6 score : cp -4
19 g5g6 score : cp -8
20 f6f4 score : cp -10
21 f6e5 score : cp -36


0 f6f5 score : cp 0
1 c3c4 score : cp 0
2 e4e5 score : cp 0
3 f6f7 score : cp 0
4 h7h6 score : cp 0
5 f6d4 score : cp 0
6 f6f2 score : cp 0
7 h7g7 score : cp 0
8 f6g7 score : cp 0
9 f6h6 score : cp 0
10 f6g6 score : cp 0
11 f6h8 score : cp 0
12 f6f3 score : cp 0
13 f6f1 score : cp 0
14 f6e7 score : cp -1
15 f6d8 score : cp -1
16 b3b4 score : cp -2
17 f6d6 score : cp -4
18 f6e6 score : cp -4
19 g5g6 score : cp -8
20 f6f4 score : cp -10
21 f6e5 score : cp -36

19     +0.00   00:03   192579 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 

0 f6f5 score : cp 0
1 c3c4 score : cp 0
2 e4e5 score : cp 0
3 f6f7 score : cp 0
4 h7h6 score : cp 0
5 f6d4 score : cp 0
6 f6f2 score : cp 0
7 h7g7 score : cp 0
8 f6g7 score : cp 0
9 f6h6 score : cp 0
10 f6g6 score : cp 0
11 f6h8 score : cp 0
12 f6f3 score : cp 0
13 f6f1 score : cp 0
14 f6e7 score : cp -1
15 f6d8 score : cp -1
16 b3b4 score : cp 0
17 f6e6 score : cp -4
18 f6d6 score : cp -4
19 g5g6 score : cp -8
20 f6f4 score : cp -1
21 f6e5 score : cp -8


0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 b3b4 score : cp 0
3 f6f7 score : cp 0
4 c3c4 score : cp 0
5 f6d4 score : cp 0
6 f6f2 score : cp 0
7 f6f1 score : cp 0
8 f6h6 score : cp 0
9 f6f3 score : cp 0
10 f6h8 score : cp 0
11 f6g7 score : cp 0
12 f6g6 score : cp 0
13 h7h6 score : cp 0
14 h7g7 score : cp 0
15 f6d8 score : cp -1
16 f6e7 score : cp -1
17 f6f4 score : cp -1
18 f6d6 score : cp -4
19 f6e6 score : cp -4
20 f6e5 score : cp -8
21 g5g6 score : cp -8

20     +0.00   00:03   235412 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 b3b4 score : cp 0
3 f6f7 score : cp 0
4 c3c4 score : cp 0
5 f6d4 score : cp 0
6 f6f2 score : cp 0
7 f6f1 score : cp 0
8 f6h6 score : cp 0
9 f6f3 score : cp 0
10 f6h8 score : cp 0
11 f6g7 score : cp 0
12 f6g6 score : cp 0
13 h7h6 score : cp 0
14 h7g7 score : cp 0
15 f6d8 score : cp -1
16 f6e7 score : cp -1
17 f6f4 score : cp -1
18 f6d6 score : cp -4
19 f6e6 score : cp -4
20 f6e5 score : cp -8
21 g5g6 score : cp -8


0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 f6f2 score : cp 0
3 f6f7 score : cp 0
4 b3b4 score : cp 0
5 f6h8 score : cp 0
6 f6g7 score : cp 0
7 f6h6 score : cp 0
8 f6f1 score : cp 0
9 f6g6 score : cp 0
10 h7g7 score : cp 0
11 f6d4 score : cp 0
12 f6f3 score : cp 0
13 h7h6 score : cp 0
14 c3c4 score : cp 0
15 f6d8 score : cp -1
16 f6e7 score : cp -1
17 f6f4 score : cp -1
18 f6d6 score : cp -4
19 f6e6 score : cp -4
20 f6e5 score : cp -8
21 g5g6 score : cp -8

21     +0.00   00:03   285832 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 f6f2 score : cp 0
3 f6f7 score : cp 0
4 b3b4 score : cp 0
5 f6h8 score : cp 0
6 f6g7 score : cp 0
7 f6h6 score : cp 0
8 f6f1 score : cp 0
9 f6g6 score : cp 0
10 h7g7 score : cp 0
11 f6d4 score : cp 0
12 f6f3 score : cp 0
13 c3c4 score : cp 0
14 h7h6 score : cp 0
15 f6d8 score : cp -1
16 f6e7 score : cp -1
17 f6f4 score : cp -1
18 f6d6 score : cp -4
19 f6e6 score : cp -4
20 f6e5 score : cp -1
21 g5g6 score : cp 0


0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 f6f2 score : cp 0
3 f6f7 score : cp 0
4 h7h6 score : cp 0
5 b3b4 score : cp 0
6 g5g6 score : cp 0
7 f6d4 score : cp 0
8 f6g7 score : cp 0
9 h7g7 score : cp 0
10 f6h8 score : cp 0
11 f6h6 score : cp 0
12 f6g6 score : cp 0
13 f6f1 score : cp 0
14 f6f3 score : cp 0
15 c3c4 score : cp 0
16 f6d8 score : cp -1
17 f6e7 score : cp -1
18 f6f4 score : cp -1
19 f6e5 score : cp -1
20 f6d6 score : cp -4
21 f6e6 score : cp -4

22     +0.00   00:04   368557 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 e4e5 score : cp 0
2 f6f2 score : cp 0
3 f6f7 score : cp 0
4 h7h6 score : cp 0
5 b3b4 score : cp 0
6 g5g6 score : cp 0
7 f6d4 score : cp 0
8 f6g7 score : cp 0
9 h7g7 score : cp 0
10 f6h8 score : cp 0
11 f6h6 score : cp 0
12 f6g6 score : cp 0
13 f6f1 score : cp 0
14 f6f3 score : cp 0
15 c3c4 score : cp 0
16 f6d8 score : cp 0
17 f6e7 score : cp -1
18 f6f4 score : cp -1
19 f6e5 score : cp -18
20 f6d6 score : cp 0
21 f6e6 score : cp -3


0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 h7h6 score : cp 0
4 b3b4 score : cp 0
5 f6f7 score : cp 0
6 f6f2 score : cp 0
7 c3c4 score : cp 0
8 f6d4 score : cp 0
9 h7g7 score : cp 0
10 f6g7 score : cp 0
11 f6d6 score : cp 0
12 f6d8 score : cp 0
13 f6h6 score : cp 0
14 f6f1 score : cp 0
15 f6h8 score : cp 0
16 f6g6 score : cp 0
17 f6f3 score : cp 0
18 f6e7 score : cp -1
19 f6f4 score : cp -1
20 f6e6 score : cp -3
21 f6e5 score : cp -18

23     +0.00   00:04   499785 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 g5g6 score : cp 0
2 e4e5 score : cp 0
3 h7h6 score : cp 0
4 b3b4 score : cp 0
5 f6f7 score : cp 0
6 f6f2 score : cp 0
7 c3c4 score : cp 0
8 f6d4 score : cp 0
9 h7g7 score : cp 0
10 f6g7 score : cp 0
11 f6d6 score : cp 0
12 f6d8 score : cp 0
13 f6h6 score : cp 0
14 f6f1 score : cp 0
15 f6h8 score : cp 0
16 f6g6 score : cp 0
17 f6f3 score : cp 0
18 f6e7 score : cp -1
19 f6f4 score : cp 0
20 f6e6 score : cp 0
21 f6e5 score : cp -10


0 g5g6 score : cp 0
1 f6f5 score : cp 0
2 f6f7 score : cp 0
3 h7h6 score : cp 0
4 f6d4 score : cp 0
5 c3c4 score : cp 0
6 f6d8 score : cp 0
7 f6d6 score : cp 0
8 b3b4 score : cp 0
9 f6e6 score : cp 0
10 f6g6 score : cp 0
11 f6f4 score : cp 0
12 f6f1 score : cp 0
13 f6h8 score : cp 0
14 f6f3 score : cp 0
15 f6g7 score : cp 0
16 h7g7 score : cp 0
17 f6h6 score : cp 0
18 f6f2 score : cp 0
19 e4e5 score : cp 0
20 f6e7 score : cp -1
21 f6e5 score : cp -10

24  <  -0.08   00:05   713847 g6 Be5 
24     +0.00   00:05   745912 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 g5g6 score : cp -8
1 f6f5 score : cp 0
2 f6f7 score : cp 0
3 h7h6 score : cp 0
4 f6d4 score : cp 0
5 c3c4 score : cp 0
6 f6d8 score : cp 0
7 f6d6 score : cp -1
8 b3b4 score : cp 0
9 f6e6 score : cp 0
10 f6g6 score : cp 0
11 f6f4 score : cp -11
12 f6f1 score : cp 0
13 f6h8 score : cp 0
14 f6f3 score : cp 0
15 f6g7 score : cp 0
16 h7g7 score : cp 0
17 f6h6 score : cp 0
18 e4e5 score : cp 0
19 f6f2 score : cp 0
20 f6e7 score : cp -1
21 f6e5 score : cp -2


0 f6f5 score : cp 0
1 c3c4 score : cp 0
2 f6f1 score : cp 0
3 f6f7 score : cp 0
4 h7h6 score : cp 0
5 b3b4 score : cp 0
6 f6d4 score : cp 0
7 f6d8 score : cp 0
8 f6e6 score : cp 0
9 h7g7 score : cp 0
10 f6g7 score : cp 0
11 f6h6 score : cp 0
12 f6f3 score : cp 0
13 f6g6 score : cp 0
14 f6h8 score : cp 0
15 f6f2 score : cp 0
16 e4e5 score : cp 0
17 f6d6 score : cp -1
18 f6e7 score : cp -1
19 f6e5 score : cp -2
20 g5g6 score : cp -8
21 f6f4 score : cp -11

25     +0.00   00:06   900216 Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 c3c4 score : cp 0
2 f6f1 score : cp 0
3 f6f7 score : cp 0
4 h7h6 score : cp 0
5 b3b4 score : cp 0
6 f6d4 score : cp 0
7 f6d8 score : cp 0
8 f6e6 score : cp 0
9 h7g7 score : cp 0
10 f6g7 score : cp 0
11 f6h6 score : cp 0
12 f6f3 score : cp 0
13 f6g6 score : cp 0
14 f6h8 score : cp 0
15 e4e5 score : cp 0
16 f6f2 score : cp 0
17 f6d6 score : cp -9
18 f6e7 score : cp 0
19 f6e5 score : cp 0
20 g5g6 score : cp -8
21 f6f4 score : cp -11


0 f6f5 score : cp 0
1 f6f1 score : cp 0
2 c3c4 score : cp 0
3 b3b4 score : cp 0
4 f6f7 score : cp 0
5 e4e5 score : cp 0
6 f6f2 score : cp 0
7 h7h6 score : cp 0
8 f6d4 score : cp 0
9 f6d8 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6e7 score : cp 0
13 f6e6 score : cp 0
14 f6e5 score : cp 0
15 h7g7 score : cp 0
16 f6h6 score : cp 0
17 f6h8 score : cp 0
18 f6g6 score : cp 0
19 g5g6 score : cp -8
20 f6d6 score : cp -9
21 f6f4 score : cp -11

26     +0.00   00:07    1068K Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 f6f1 score : cp 0
2 c3c4 score : cp 0
3 b3b4 score : cp 0
4 f6f7 score : cp 0
5 e4e5 score : cp 0
6 f6f2 score : cp 0
7 h7h6 score : cp 0
8 f6d4 score : cp 0
9 f6d8 score : cp 0
10 f6g7 score : cp 0
11 f6f3 score : cp 0
12 f6e7 score : cp 0
13 f6e6 score : cp 0
14 f6e5 score : cp 0
15 h7g7 score : cp 0
16 f6h6 score : cp 0
17 f6h8 score : cp 0
18 f6g6 score : cp 0
19 g5g6 score : cp -8
20 f6d6 score : cp -9
21 f6f4 score : cp 0


0 f6f5 score : cp 0
1 f6f1 score : cp 0
2 e4e5 score : cp 0
3 f6f2 score : cp 0
4 f6f7 score : cp 0
5 b3b4 score : cp 0
6 f6d4 score : cp 0
7 h7h6 score : cp 0
8 f6g7 score : cp 0
9 f6d8 score : cp 0
10 f6e7 score : cp 0
11 f6e5 score : cp 0
12 h7g7 score : cp 0
13 f6e6 score : cp 0
14 f6f4 score : cp 0
15 f6h8 score : cp 0
16 f6h6 score : cp 0
17 f6g6 score : cp 0
18 f6f3 score : cp 0
19 c3c4 score : cp 0
20 g5g6 score : cp -8
21 f6d6 score : cp -9

27     +0.00   00:08    1342K Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 f6f1 score : cp 0
2 e4e5 score : cp 0
3 f6f2 score : cp 0
4 f6f7 score : cp 0
5 b3b4 score : cp 0
6 f6d4 score : cp 0
7 h7h6 score : cp 0
8 f6g7 score : cp 0
9 f6d8 score : cp 0
10 f6e7 score : cp 0
11 f6e5 score : cp 0
12 h7g7 score : cp 0
13 f6e6 score : cp 0
14 f6f4 score : cp 0
15 f6h8 score : cp 0
16 f6h6 score : cp 0
17 f6g6 score : cp 0
18 f6f3 score : cp 0
19 c3c4 score : cp 0
20 g5g6 score : cp 0
21 f6d6 score : cp -2


0 f6f5 score : cp 0
1 f6f1 score : cp 0
2 e4e5 score : cp 0
3 f6f2 score : cp 0
4 f6f7 score : cp 0
5 h7h6 score : cp 0
6 b3b4 score : cp 0
7 f6d4 score : cp 0
8 g5g6 score : cp 0
9 f6d8 score : cp 0
10 h7g7 score : cp 0
11 f6g7 score : cp 0
12 f6e5 score : cp 0
13 f6e6 score : cp 0
14 f6h6 score : cp 0
15 f6e7 score : cp 0
16 f6f4 score : cp 0
17 f6h8 score : cp 0
18 f6g6 score : cp 0
19 f6f3 score : cp 0
20 c3c4 score : cp 0
21 f6d6 score : cp -2

28     +0.00   00:09    1659K Qf5 Be5 Qc8+ Ke7 Qb7+ Kd8 Qb6+ Kd7 Qxb5+ Ke7 Qb7+ 
                              Ke6 Qd5+ Kd7 Qb7+ Ke6 

0 f6f5 score : cp 0
1 f6f1 score : cp 0
2 e4e5 score : cp 0
3 f6f2 score : cp 0
4 f6f7 score : cp 0
5 h7h6 score : cp 0
6 b3b4 score : cp 0
7 f6d4 score : cp 0
8 g5g6 score : cp 0
9 f6d8 score : cp 0
10 h7g7 score : cp 0
11 f6g7 score : cp 0
12 f6e5 score : cp 0
13 f6e6 score : cp 0
14 f6h6 score : cp 0
15 f6e7 score : cp 0
16 f6f4 score : cp 0
17 f6h8 score : cp 0
18 f6g6 score : cp 0
19 f6f3 score : cp 0
20 c3c4 score : cp 0
21 f6d6 score : cp -2


0 g5g6 score : cp 0
1 f6f5 score : cp 0
2 f6f1 score : cp 0
3 e4e5 score : cp 0
4 h7h6 score : cp 0
5 f6f7 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 b3b4 score : cp 0
9 f6g7 score : cp 0
10 f6e6 score : cp 0
11 f6e5 score : cp 0
12 f6d8 score : cp 0
13 f6e7 score : cp 0
14 f6h6 score : cp 0
15 f6f4 score : cp 0
16 f6g6 score : cp 0
17 h7g7 score : cp 0
18 f6h8 score : cp 0
19 f6f3 score : cp 0
20 c3c4 score : cp 0
21 f6d6 score : cp -2


0 g5g6 score : cp 0
1 f6f5 score : cp 0
2 f6f1 score : cp 0
3 e4e5 score : cp 0
4 h7h6 score : cp 0
5 f6f7 score : cp 0
6 f6f2 score : cp 0
7 f6d4 score : cp 0
8 b3b4 score : cp 0
9 f6g7 score : cp 0
10 f6e6 score : cp 0
11 f6e5 score : cp 0
12 f6d8 score : cp 0
13 f6e7 score : cp 0
14 f6h6 score : cp 0
15 f6f4 score : cp 0
16 f6g6 score : cp 0
17 h7g7 score : cp 0
18 f6h8 score : cp 0
19 f6f3 score : cp 0
20 c3c4 score : cp 0
21 f6d6 score : cp -2


Nodes: 2627681
Nodes/second: 209427
Best move: Qf5
Ponder move: Be5
Maybe, I can't be friendly, but let me be useful.
Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: some very strange behavior of SF

Post by Sven »

lech wrote:I made two changes in root search.
1) I added this code before last rml.sort().

Code: Select all

for (int z = 0; z < rml.move_count(); z++)
  LogFile << "\n" << z << " " << rml.get_move(z) << " score " << ": " << value_to_string(rml.get_move_score(z));
LogFile << "\n" << endl;
2) I changed

Code: Select all

 
 // Step 17. Check for new best move
            if (value <= alpha && i >= MultiPV)
                rml.set_move_score(i, value); // instead of -VALUE_INFINITE
Step by step all moves match scores to the best move. I tested many others positions. Always with the same strange effect.

Please watch all the example to the end. :D
If I understand correctly you say that you observe this strange behaviour *after* applying the code change you mentioned, i.e. after changing "set_move_score(i, -VALUE_INFINITE)" into "set_move_score(i, value)". I think this is not unexpected since your change appears to break the code somehow. To my understanding it seems to be necessary to store -VALUE_INFINITE in the root move list for all moves which failed low and are not a new best move. I cannot explain exactly yet why but storing the low-failing value instead might cause serious trouble later on. Maybe it happens due to some sorting further down?

It is possible that I did not get your key point, sorry if this is the case.

Sven
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: some very strange behavior of SF

Post by zamar »

I think that what you are observing is just expected behaviour!

As the depth grows, negamax prunings kick in more and more (compared to minimax) and values of all moves get closer to alpha.
Joona Kiiski
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: some very strange behavior of SF

Post by bob »

zamar wrote:I think that what you are observing is just expected behaviour!

As the depth grows, negamax prunings kick in more and more (compared to minimax) and values of all moves get closer to alpha.
Negamax _is_ minimax. It is just formulated recursively so that there is no "min" part...
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: some very strange behavior of SF

Post by zamar »

bob wrote: Negamax _is_ minimax. It is just formulated recursively so that there is no "min" part...
Okay, I thought negamax was minimax with alpha-beta pruning. Thanks for correcting.
Joona Kiiski
lech
Posts: 1169
Joined: Sun Feb 14, 2010 10:02 pm

Re: some very strange behavior of SF

Post by lech »

zamar wrote:I think that what you are observing is just expected behaviour!

As the depth grows, negamax prunings kick in more and more (compared to minimax) and values of all moves get closer to alpha.
And I uderstand you are glad about this (TT). :cry:
Maybe, I can't be friendly, but let me be useful.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: some very strange behavior of SF

Post by bob »

zamar wrote:
bob wrote: Negamax _is_ minimax. It is just formulated recursively so that there is no "min" part...
Okay, I thought negamax was minimax with alpha-beta pruning. Thanks for correcting.
Ken Thompson codified negamax so that you did not have to check for value >= best at odd plies and value <= best at even plies. If you add alpha/beta, the same applies to a fail high, which at odd plies would be value >= beta, while at even plies, it would be value <= alpha. Negamax does both/either and does not necessarily have alpha/beta pruning in it. Obviously, for anyone doing chess stuff, not using alpha/beta would not be viable...
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: some very strange behavior of SF

Post by zamar »

lech wrote: And I uderstand you are glad about this (TT). :cry:
Of course I'm not happy about it! We lose a lot off valuable information! But one cannot avoid safe pruning method which gives a HUGE speed-up.
Joona Kiiski