DayDreamer : hackers wanted

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

DayDreamer : hackers wanted

Postby Olivier Deville » 10 Nov 2009, 06:56

Hi all

Since the project is open source and the author has no email address where to complain at, it would be nice if somebody manages to fix the engine so that it won't lose on time anymore at 40/x time controls.

http://github.com/AaronBecker/daydreamer/tree/master

Olivier
User avatar
Olivier Deville
 
Posts: 1176
Joined: 26 Sep 2004, 19:54
Location: Aurec, France

Re: DayDreamer : hackers wanted

Postby Dann Corbit » 11 Nov 2009, 03:25

I got it so that at least it will compile with Microsoft and Intel compilers:
http://cap.connx.com/chess-engines/new- ... dda5009.7z

Someone else can take it from there.

The original version requires a C99 compiler (which are hard to come by as hen's teeth).
Dann Corbit
 

Re: DayDreamer : hackers wanted

Postby Dann Corbit » 11 Nov 2009, 03:55

I made an update. The hash code did not work properly in 64 bit mode (an int value cannot hold 4 billion, so I changed size calculations to use size_t). I also changed the code so that Win64 users can allocate up to 8GB, Win32 users can allocate up to 2 GB, and Posix users can allocate up to 4 GB (the old size limit).
Dann Corbit
 

Re: DayDreamer : hackers wanted

Postby Dann Corbit » 11 Nov 2009, 04:19

Looks like there may be some problems with other internal calculations, because hash is reported as 162% filled.
Code: Select all
c:\chess\winboard\daydreamer>DayDreamer64.exe
Daydreamer 1.4 select, by Aaron Becker
Compiled Nov 10 2009 18:50:37
daydreamer > uci

id name Daydreamer 1.4 select
id author Aaron Becker
option name Hash type spin default 32 min 1 max 8192
option name Output Delay type spin default 2000 min 0 max 1000000
uciok
ucinewgame
setoption name Hash value 4096
go infinite
info string fen: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
info string hash: 380478c60a535777
info string r n b q k b n r
info string p p p p p p p p
info string . . . . . . . .
info string . . . . . . . .
info string . . . . . . . .
info string . . . . . . . .
info string P P P P P P P P
info string R N B Q K B N R
info string game phase: 1.0000
info string material: 0
info string psq midgame: -117 - -117 = 0
info string psq endgame: -160 - -160 = 0
info string psq score: 0
info string mat_adj bishop (w,b): (50, 50)
info string mat_adj knight: (30, 30)
info string mat_adj rook: (-60, -60)
info string mat_adj total: 0
info string king attackers: 0
info string king shield: 0
info string pawns (mid,end): (0, 0)
info string mob (mid,end): (0, 0)
info string score: 0
info string sanpv Na3
info depth 1 score cp 16 time 1 nodes 1 qnodes 1 nps 0 pv b1a3
info string sanpv Nc3
info depth 1 score cp 64 time 5 nodes 3 qnodes 3 nps 0 pv b1c3
info string sanpv d4
info depth 1 score cp 72 time 11 nodes 14 qnodes 14 nps 1000 pv d2d4
info string sanpv e4
info depth 1 score cp 74 time 19 nodes 17 qnodes 17 nps 0 pv e2e4
info string sanpv Na3 e5
info depth 2 score cp -58 time 26 nodes 47 qnodes 46 nps 1000 pv b1a3 e7e5
info string sanpv Nc3 e5
info depth 2 score cp -10 time 34 nodes 92 qnodes 89 nps 2000 pv b1c3 e7e5
info string sanpv Nf3 d5
info depth 2 score cp -8 time 41 nodes 138 qnodes 133 nps 3000 pv g1f3 d7d5
info string sanpv d4 d5
info depth 2 score cp 0 time 50 nodes 199 qnodes 184 nps 3000 pv d2d4 d7d5
info string sanpv d4 d5 Nf3
info depth 3 score cp 64 time 58 nodes 321 qnodes 280 nps 5000 pv d2d4 d7d5 g1f3
info string sanpv d4 d5 Nf3 Nf6
info depth 4 score cp 0 time 66 nodes 549 qnodes 450 nps 8000 pv d2d4 d7d5 g1f3 g8f6
info string sanpv e4 d5 Nc3 Nf6
info depth 4 score cp 2 time 74 nodes 882 qnodes 721 nps 11000 pv e2e4 d7d5 b1c3 g8f6
info string sanpv Nc3 e5 d4 Nc6 dxe5 Nxe5
info depth 4 score cp 6 time 83 nodes 1207 qnodes 973 nps 14000 pv b1c3 e7e5 d2d4 b8c6 d4e5 c6e5
info string sanpv Nc3 e5 d4 Nc6 Nf3
info depth 5 score cp 58 time 93 nodes 2436 qnodes 1931 nps 25000 pv b1c3 e7e5 d2d4 b8c6 g1f3
info string sanpv Nc3 d5 d4 Nc6 Nf3 Nf6
info depth 6 score cp 0 time 107 nodes 5576 qnodes 4079 nps 51000 pv b1c3 d7d5 d2d4 b8c6 g1f3 g8f6
info string sanpv Nc3 Nc6 d4 e6 d5 exd5 Qxd5
info depth 7 score cp 35 time 130 nodes 15171 qnodes 11089 nps 115000 pv b1c3 b8c6 d2d4 e7e6 d4d5 e6d5 d1d5
info string sanpv Nc3 Nc6 d4 d5 Nf3 Nf6 Bf4 Bf5
info depth 8 score cp 0 time 168 nodes 33835 qnodes 24177 nps 200000 pv b1c3 b8c6 d2d4 d7d5 g1f3 g8f6 c1f4 c8f5
info string sanpv Nc3 d5 d4 Bf5 e4 Bxe4 Nxe4 dxe4 Bf4
info depth 9 score cp 3 time 306 nodes 116620 qnodes 82291 nps 379000 pv b1c3 d7d5 d2d4 c8f5 e2e4 f5e4 c3e4 d5e4 c1f4
info string sanpv e4 e5 Nf3 Nc6 d4 exd4 Nxd4 d5 Bb5 dxe4 Nxc6 bxc6 Bxc6+ Bd7 Bxe4
info depth 9 score cp 20 time 432 nodes 190596 qnodes 134198 nps 440000 pv e2e4 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 d7d5 f1b5 d5e4 d4c6 b7c6 b5c6 c8d7 c6e4
info string sanpv e4 e5 Nf3 Nc6 Nc3 Nf6 d4 exd4 Nxd4 d5
info depth 10 score cp 29 time 640 nodes 318689 qnodes 224770 nps 497000 pv e2e4 e7e5 g1f3 b8c6 b1c3 g8f6 d2d4 e5d4 f3d4 d7d5
info string sanpv e4 e5 Nf3 Nc6 Nc3 Nf6 d4 exd4 Nxd4 d5 Nxc6 bxc6
info depth 11 score cp 0 time 1174 nodes 647495 qnodes 453092 nps 551000 pv e2e4 e7e5 g1f3 b8c6 b1c3 g8f6 d2d4 e5d4 f3d4 d7d5 d4c6 b7c6
info currmove h2h4 currmovenumber 11 score 3123
info currmove g1f3 currmovenumber 12 score 3016
info currmove g2g3 currmovenumber 13 score 2636
info currmove d2d3 currmovenumber 14 score 2634
info currmove h2h3 currmovenumber 15 score 2612
info currmove c2c3 currmovenumber 16 score 2554
info currmove g2g4 currmovenumber 17 score 1662
info currmove b2b4 currmovenumber 18 score 1256
info currmove f2f4 currmovenumber 19 score 631
info string hash entries 33554432 filled: 262031 (0.78%) evictions: 0 hits: 164250 (35.39%) misses: 299874 (64.61%) alpha: 54586 beta: 207291 exact: 154
info depth 12
info currmove e2e4 currmovenumber 0 score 186202
info string sanpv e4 e5 Nf3 Nc6 Nc3 Nf6 d4 exd4 Nxd4 d5 Nxc6 bxc6
info depth 12 score cp 0 time 3066 nodes 1797336 qnodes 1257361 nps 586000 pv e2e4 e7e5 g1f3 b8c6 b1c3 g8f6 d2d4 e5d4 f3d4 d7d5 d4c6 b7c6
info currmove b1c3 currmovenumber 1 score 165679
info string fail high, research b1c3
info string sanpv Nc3 e5 Nf3 Nc6 d4 exd4 Nxd4 d5 Bf4 Nxd4 Qxd4 Nf6
info depth 12 score cp 12 time 3882 nodes 2309030 qnodes 1610088 nps 594000 pv b1c3 e7e5 g1f3 b8c6 d2d4 e5d4 f3d4 d7d5 c1f4 c6d4 d1d4 g8f6
info currmove c2c4 currmovenumber 2 score 81398
info currmove e2e3 currmovenumber 3 score 79122
info currmove d2d4 currmovenumber 4 score 65753
info string fail high, research d2d4
info string sanpv d4 d5 Nc3 Nf6 Bf4 Nc6 e3 Bf5 Nb5 e5 Bxe5 Nxe5 dxe5
info depth 12 score cp 23 time 4697 nodes 2816472 qnodes 1957605 nps 599000 pv d2d4 d7d5 b1c3 g8f6 c1f4 b8c6 e2e3 c8f5 c3b5 e7e5 f4e5 c6e5 d4e5
info currmove b2b4 currmovenumber 5 score 47300
info currmove c2c3 currmovenumber 6 score 43817
info currmove b2b3 currmovenumber 7 score 38163
info currmove a2a3 currmovenumber 8 score 36329
info currmove a2a4 currmovenumber 9 score 30983
info currmove d2d3 currmovenumber 10 score 28155
info currmove g1h3 currmovenumber 11 score 16701
info currmove g1f3 currmovenumber 12 score 15205
info currmove b1a3 currmovenumber 13 score 12059
info currmove h2h4 currmovenumber 14 score 11063
info currmove g2g3 currmovenumber 15 score 10774
info currmove h2h3 currmovenumber 16 score 8017
info currmove f2f3 currmovenumber 17 score 7423
info currmove f2f4 currmovenumber 18 score 6792
info currmove g2g4 currmovenumber 19 score 4216
info string hash entries 33554432 filled: 568627 (1.69%) evictions: 0 hits: 421895 (38.89%) misses: 662918 (61.11%) alpha: 119818 beta: 448579 exact: 230
info depth 13
info currmove d2d4 currmovenumber 0 score 307629
info string sanpv d4 d5 Nc3 Nf6 Nf3 Nc6 Qd3 g6 Bf4 Bf5 Qb5 Bxc2 Qxb7
info depth 13 score cp 9 time 8155 nodes 4919154 qnodes 3453428 nps 603000 pv d2d4 d7d5 b1c3 g8f6 g1f3 b8c6 d1d3 g7g6 c1f4 c8f5 d3b5 f5c2 b5b7
info currmove b1c3 currmovenumber 1 score 511694
info currmove e2e4 currmovenumber 2 score 440892
info string fail high, research e2e4
info string sanpv e4 e5 Nc3 Nc6 Nf3 Nf6 d4 exd4 Nxd4 d5 Nxc6 bxc6 e5
info depth 13 score cp 24 time 10530 nodes 6435854 qnodes 4508344 nps 611000 pv e2e4 e7e5 b1c3 b8c6 g1f3 g8f6 d2d4 e5d4 f3d4 d7d5 d4c6 b7c6 e4e5
info currmove c2c4 currmovenumber 3 score 101756
info currmove e2e3 currmovenumber 4 score 98057
info currmove a2a4 currmovenumber 5 score 30803
info currmove h2h4 currmovenumber 6 score 27382
info currmove a2a3 currmovenumber 7 score 25168
info currmove b2b3 currmovenumber 8 score 23598
info currmove c2c3 currmovenumber 9 score 22443
info currmove d2d3 currmovenumber 10 score 21922
info currmove h2h3 currmovenumber 11 score 19772
info currmove b1a3 currmovenumber 12 score 17136
info currmove f2f3 currmovenumber 13 score 16079
info currmove g1h3 currmovenumber 14 score 12291
info currmove b2b4 currmovenumber 15 score 11900
info currmove g1f3 currmovenumber 16 score 11741
info currmove g2g3 currmovenumber 17 score 10805
info currmove f2f4 currmovenumber 18 score 6898
info currmove g2g4 currmovenumber 19 score 5739
info string hash entries 33554432 filled: 1275992 (3.80%) evictions: 1 hits: 1009251 (40.53%) misses: 1480952 (59.47%) alpha: 275838 beta: 999647 exact: 508
info depth 14
info currmove e2e4 currmovenumber 0 score 1344726
info string sanpv e4 e5 Nc3 Nc6 Nf3 Nf6 Bb5 Bc5 d3 d6 O-O a6 Bxc6+ bxc6 Be3
info depth 14 score cp 19 time 14879 nodes 9163089 qnodes 6385884 nps 615000 pv e2e4 e7e5 b1c3 b8c6 g1f3 g8f6 f1b5 f8c5 d2d3 d7d6 e1g1 a7a6 b5c6 b7c6 c1e3
info currmove d2d4 currmovenumber 1 score 1839005
info string fail high, research d2d4
info string sanpv d4 d5 Nc3 Nf6 Bf4 Bf5 Nf3 Nc6 e3 e6 Bd3 Bxd3 Qxd3 a5
info depth 14 score cp 20 time 17879 nodes 11046027 qnodes 7691430 nps 617000 pv d2d4 d7d5 b1c3 g8f6 c1f4 c8f5 g1f3 b8c6 e2e3 e7e6 f1d3 f5d3 d1d3 a7a5
info currmove b1c3 currmovenumber 2 score 171974
info currmove e2e3 currmovenumber 3 score 131169
info currmove d2d3 currmovenumber 4 score 83141
info currmove c2c4 currmovenumber 5 score 71902
info currmove a2a3 currmovenumber 6 score 63972
info currmove c2c3 currmovenumber 7 score 56682
info currmove h2h4 currmovenumber 8 score 42332
info currmove b2b3 currmovenumber 9 score 42171
info currmove b1a3 currmovenumber 10 score 41946
info currmove a2a4 currmovenumber 11 score 39275
info currmove f2f3 currmovenumber 12 score 38289
info currmove g1h3 currmovenumber 13 score 35159
info currmove g1f3 currmovenumber 14 score 28736
info currmove b2b4 currmovenumber 15 score 23761
info currmove g2g3 currmovenumber 16 score 22429
info currmove g2g4 currmovenumber 17 score 21341
info currmove h2h3 currmovenumber 18 score 12775
info currmove f2f4 currmovenumber 19 score 11186
info string hash entries 33554432 filled: 2366502 (7.05%) evictions: 2 hits: 1911966 (41.01%) misses: 2750279 (58.99%) alpha: 515643 beta: 1850313 exact: 548
info depth 15
info currmove d2d4 currmovenumber 0 score 1882938
info string sanpv d4 d5 Nc3 Nf6 Bf4 Bf5 Nf3 Nc6 e3 e6 Bd3 g6 Bxf5 gxf5 O-O
info depth 15 score cp 28 time 29818 nodes 18646631 qnodes 12991430 nps 625000 pv d2d4 d7d5 b1c3 g8f6 c1f4 c8f5 g1f3 b8c6 e2e3 e7e6 f1d3 g7g6 d3f5 g6f5 e1g1
info currmove e2e4 currmovenumber 1 score 1960969
info currmove e2e3 currmovenumber 2 score 282764
info currmove b1c3 currmovenumber 3 score 221719
info currmove b2b4 currmovenumber 4 score 212408
info currmove d2d3 currmovenumber 5 score 199249
info currmove c2c3 currmovenumber 6 score 183864
info currmove c2c4 currmovenumber 7 score 167574
info currmove a2a3 currmovenumber 8 score 138102
info currmove b2b3 currmovenumber 9 score 103331
info currmove f2f3 currmovenumber 10 score 99201
info currmove b1a3 currmovenumber 11 score 93068
info currmove h2h4 currmovenumber 12 score 88026
info currmove h2h3 currmovenumber 13 score 86857
info currmove a2a4 currmovenumber 14 score 80777
info currmove g1h3 currmovenumber 15 score 69473
info currmove g2g3 currmovenumber 16 score 60444
info currmove g1f3 currmovenumber 17 score 58179
info currmove g2g4 currmovenumber 18 score 25977
info currmove f2f4 currmovenumber 19 score 22401
info string hash entries 33554432 filled: 4279101 (12.75%) evictions: 16 hits: 3239029 (39.52%) misses: 4956668 (60.48%) alpha: 938756 beta: 3339862 exact: 499
info depth 16
info currmove d2d4 currmovenumber 0 score 5407190
info string sanpv d4 d5 Nc3 Nf6 Bf4 Bf5 Nf3 Nc6 e3 e6 Bb5 Bd6 Bxd6 cxd6 Bxc6+ bxc6 O-O
info depth 16 score cp 32 time 61046 nodes 38538895 qnodes 26919725 nps 631000 pv d2d4 d7d5 b1c3 g8f6 c1f4 c8f5 g1f3 b8c6 e2e3 e7e6 f1b5 f8d6 f4d6 c7d6 b5c6 b7c6 e1g1
info currmove e2e4 currmovenumber 1 score 908751
info string fail high, research e2e4
info currmove e2e3 currmovenumber 2 score 498379
info currmove g1h3 currmovenumber 3 score 398759
info currmove c2c4 currmovenumber 4 score 359891
info currmove d2d3 currmovenumber 5 score 295555
info currmove a2a3 currmovenumber 6 score 264513
info currmove b1c3 currmovenumber 7 score 242200
info currmove b1a3 currmovenumber 8 score 190723
info currmove c2c3 currmovenumber 9 score 185057
info currmove h2h3 currmovenumber 10 score 183306
info currmove f2f3 currmovenumber 11 score 175973
info currmove a2a4 currmovenumber 12 score 163346
info currmove g2g3 currmovenumber 13 score 154961
info currmove b2b3 currmovenumber 14 score 148479
info currmove b2b4 currmovenumber 15 score 121859
info currmove h2h4 currmovenumber 16 score 120720
info currmove g1f3 currmovenumber 17 score 112476
info currmove g2g4 currmovenumber 18 score 52486
info currmove f2f4 currmovenumber 19 score 46945
info string hash entries 33554432 filled: 12759977 (38.03%) evictions: 1842 hits: 9377609 (38.26%) misses: 15131942 (61.74%) alpha: 2888485 beta: 9872413 exact: 921
info depth 17
info currmove d2d4 currmovenumber 0 score 15267885
info string sanpv d4 d5 Nc3 Nf6 Bf4 c5 e3 cxd4 exd4 Nc6 Nf3 Qb6 Nb5 e5 dxe5 Ne4 Qxd5 Qxf2+ Kd1
info depth 17 score cp 39 time 199769 nodes 129269040 qnodes 90070764 nps 647000 pv d2d4 d7d5 b1c3 g8f6 c1f4 c7c5 e2e3 c5d4 e3d4 b8c6 g1f3 d8b6 c3b5 e7e5 d4e5 f6e4 d1d5 b6f2 e1d1
info currmove e2e4 currmovenumber 1 score 24824462
info currmove e2e3 currmovenumber 2 score 870236
info currmove c2c4 currmovenumber 3 score 706890
info currmove a2a3 currmovenumber 4 score 594055
info currmove b1c3 currmovenumber 5 score 528642
info currmove h2h4 currmovenumber 6 score 492931
info currmove a2a4 currmovenumber 7 score 490323
info currmove g1h3 currmovenumber 8 score 342616
info currmove f2f3 currmovenumber 9 score 342020
info currmove d2d3 currmovenumber 10 score 331844
info currmove c2c3 currmovenumber 11 score 309193
info currmove g1f3 currmovenumber 12 score 297754
info currmove b1a3 currmovenumber 13 score 243442
info currmove b2b3 currmovenumber 14 score 179600
info currmove h2h3 currmovenumber 15 score 163325
info currmove g2g3 currmovenumber 16 score 136908
info currmove g2g4 currmovenumber 17 score 98936
info currmove b2b4 currmovenumber 18 score 81301
info currmove f2f4 currmovenumber 19 score 51465
info string hash entries 33554432 filled: 27523768 (82.03%) evictions: 64137 hits: 18596407 (36.06%) misses: 32972626 (63.94%) alpha: 6282526 beta: 21304173 exact: 1206
info depth 18
info currmove d2d4 currmovenumber 0 score 59644202
info string sanpv d4 d5 Nc3 Nf6 Bf4 c5 e3 cxd4 exd4 Nc6 Nf3 Qb6 Nb5 e5 dxe5 Ne4 Be3 Qd8
info depth 18 score cp 31 time 352098 nodes 227359408 qnodes 159223198 nps 645000 pv d2d4 d7d5 b1c3 g8f6 c1f4 c7c5 e2e3 c5d4 e3d4 b8c6 g1f3 d8b6 c3b5 e7e5 d4e5 f6e4 f4e3 b6d8
info currmove e2e4 currmovenumber 1 score 2729910
info currmove d2d3 currmovenumber 2 score 2375540
info currmove e2e3 currmovenumber 3 score 1715314
info currmove c2c4 currmovenumber 4 score 1185033
info currmove a2a3 currmovenumber 5 score 950338
info currmove h2h3 currmovenumber 6 score 918763
info currmove a2a4 currmovenumber 7 score 886697
info currmove h2h4 currmovenumber 8 score 878614
info currmove g1h3 currmovenumber 9 score 845593
info currmove c2c3 currmovenumber 10 score 793892
info currmove b1c3 currmovenumber 11 score 789560
info currmove g1f3 currmovenumber 12 score 597327
info currmove b1a3 currmovenumber 13 score 478642
info currmove g2g3 currmovenumber 14 score 431688
info currmove b2b3 currmovenumber 15 score 426617
info currmove f2f3 currmovenumber 16 score 413659
info currmove f2f4 currmovenumber 17 score 412549
info currmove b2b4 currmovenumber 18 score 270024
info currmove g2g4 currmovenumber 19 score 243236
info string hash entries 33554432 filled: 54396547 (162.11%) evictions: 1265407 hits: 36989758 (35.62%) misses: 66865908 (64.38%) alpha: 12700162 beta: 42960688 exact: 1104
info depth 19
info currmove d2d4 currmovenumber 0 score 80747372

Dann Corbit
 

Re: DayDreamer : hackers wanted

Postby Olivier Deville » 11 Nov 2009, 07:57

Many thanks Dann !

It seems your compiles are from DayDreamer 1.4, when latest version available is 1.5

Did you do anything about the time control management ?

Olivier
User avatar
Olivier Deville
 
Posts: 1176
Joined: 26 Sep 2004, 19:54
Location: Aurec, France

Re: DayDreamer : hackers wanted

Postby Olivier Deville » 11 Nov 2009, 08:35

Aaron Becker just released DayDreamer 1.51.

http://github.com/AaronBecker/daydreamer/downloads

* hash sizes above 2GB should now work (not adequately tested yet
because my laptop doesn't have enough memory, but it at least doesn't
fail an assertion any more)
* hash occupancy is correctly reported (that was a left-over from when
i transitioned to multiple hash entries per key)
* time forfeits are now much less likely in "x moves in y seconds" scenarios.


Olivier
User avatar
Olivier Deville
 
Posts: 1176
Joined: 26 Sep 2004, 19:54
Location: Aurec, France


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 11 guests

cron