Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time losses of Windows compilation (modernized branch) #1

Open
rwbc opened this issue Nov 24, 2020 · 0 comments
Open

Time losses of Windows compilation (modernized branch) #1

rwbc opened this issue Nov 24, 2020 · 0 comments

Comments

@rwbc
Copy link

rwbc commented Nov 24, 2020

Hi Mike,

I have successfully compiled the 'modernized' branch of your sandbox uci engine (cpu version), but I noticed it will fail
always here in move/time time control games due some minimal overstepping before the next period would start?
(only tested at 40/120s)

cmd output - (strangely showing no time and no nodes?)

Reyka version 1.0.0
engine param: bishop ak = 8.0
engine param: bishop as = 1.00000
engine param: bishop ms = 1.00000
engine param: bishop pin = 2.0
engine param: bishop ss = 1.00000
engine param: castle pen = 5.0
engine param: fixed depth = -1
engine param: king s1 = -4.0
engine param: king s2 = -2.0
engine param: king s3 = -1.0
engine param: king s4 = 0.0
engine param: king s5 = 0.0
engine param: king s6 = 1.0
engine param: king s7 = 2.0
engine param: king s8 = 4.0
engine param: king ss = 1.00000
engine param: knight ak = 4.0
engine param: knight as = 1.00000
engine param: knight ms = 1.00000
engine param: knight ss = 1.00000
engine param: param =
engine param: pawn ak = 0.5
engine param: pawn as = 1.00000
engine param: pawn ms = 1.00000
engine param: pawn ss = 1.00000
engine param: queen ak = 32.0
engine param: queen as = 1.00000
engine param: queen ms = 1.00000
engine param: queen pin = 3.0
engine param: queen ss = 1.00000
engine param: rook ak = 16.0
engine param: rook as = 1.00000
engine param: rook ms = 1.00000
engine param: rook pin = 2.0
engine param: rook ss = 1.00000
engine param: tempo = 0.30000
uci
id name sandbox chess
uciok
ucinewgame
isready
readyok
position startpos
   +---+---+---+---+---+---+---+---+
 8 | r | n | b | q | k | b | n | r |
   +---+---+---+---+---+---+---+---+
 7 | p | p | p | p | p | p | p | p |
   +---+---+---+---+---+---+---+---+
 6 |   |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 5 |   |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 4 |   |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 3 |   |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 2 | P | P | P | P | P | P | P | P |
   +---+---+---+---+---+---+---+---+
 1 | R | N | B | Q | K | B | N | R |
   +---+---+---+---+---+---+---+---+
     a   b   c   d   e   f   g   h
position hash key: 228846373
position rep key:2905791285
go infinite
info score cp 72 depth 1 pv e2e4
info score cp 72 depth 2 pv e2e4
info score cp 6 depth 3 pv e2e4 e7e5
info score cp 0 depth 3 pv e2e4 e7e5
info score cp 0 depth 4 pv e2e4 e7e5
info score cp 34 depth 5 pv e2e4 e7e5 d2d4
info score cp 34 depth 6 pv e2e4 d7d5 d2d3
info score cp 7 depth 7 pv e2e3 d7d5 d1h5 g7g6
info score cp 7 depth 8 pv e2e3 d7d5 d1h5 g7g6
info score cp 28 depth 9 pv d2d4 d7d5 g2g3 g7g6 g1f3
info score cp 30 depth 10 pv e2e4 e7e5 d2d4 d7d5 f1b5 c7c6
info score cp 11 depth 11 pv e2e4 d7d5 e4e5 g7g6 d2d4 b8c6
info score cp 10 depth 12 pv e2e4 e7e5 d2d4 d7d5 f1b5 c7c6 b5e2
info score cp 24 depth 13 pv e2e4 e7e5 d2d4 d7d5 f1b5 c7c6 b5e2
info score cp 24 depth 14 pv e2e4 e7e5 d2d4 d7d5 f1b5 c7c6 b5e2 f8b4
info score cp 5 depth 15 pv e2e4 e7e5 d2d4 d7d5 d4e5 d5e4 f1c4 b8c6
info score cp 19 depth 16 pv e2e4 e7e5 d2d4 e5d4 d1d4 b8c6 d4c4 b7b6
info score cp 22 depth 17 pv e2e4 e7e5 d2d4 e5d4 d1d4 b8c6 d4c4 b7b6 b1c3
info score cp 22 depth 18 pv e2e4 e7e5 d2d4 e5d4 d1d4 b8c6 d4c4 b7b6 b1c3
info score cp 8 depth 19 pv e2e4 d7d5 e4d5 d8d5 d2d4 e7e5 g1f3 d5e4 c1e3 e5d4
info score cp 5 depth 20 pv e2e4 d7d5 e4e5 d5d4 g1f3 e7e6 d2d3 b8c6 c1g5 f7f6
info score cp 13 depth 21 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e5 d1e2 e5e2 f1e2 e7e5 d2d3 g8f6
info score cp 11 depth 22 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e5 d1e2 e5e2 f1e2 e7e5 d2d3 g8f6
info score cp 23 depth 23 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e5 d1e2 e5e2 f1e2 e7e5 d2d3 g8f6 c1g5
info score cp 18 depth 24 pv e2e4 e7e5 b1c3 g8f6 d2d4 e5d4 d1d4 b8c6 d4d1 d7d6 g1f3 g7g6
info score cp 27 depth 25 pv e2e4 e7e5 b1c3 g8f6 d2d4 e5d4 d1d4 b8c6 d4d1 b7b6 g1f3 f8b4 c1g5
info score cp 12 depth 26 pv e2e4 e7e5 b1c3 b8c6 f1c4 g8f6 d2d3 f8c5 c1e3 d7d6 e3c5 d6c5 g1f3
[Event "My Tournament"]
[Site "RWBC-CAPPUCCINO"]
[Date "2020.11.24"]
[Round "1"]
[White "Sandbox_Reika100dev-64"]
[Black "Vice_11"]
[Result "0-1"]
[ECO "B23"]
[GameDuration "00:03:59"]
[GameEndTime "2020-11-24T14:58:47.513 Mitteleuropäische Zeit"]
[GameStartTime "2020-11-24T14:54:47.645 Mitteleuropäische Zeit"]
[Opening "Sicilian"]
[PlyCount "78"]
[Termination "time forfeit"]
[TimeControl "40/120"]
[Variation "Closed, 2...Nc6"]

1. e4 {book} c5 {book} 2. Nc3 {book} Nc6 {book} 3. Bb5 {book} d6 {book}
4. d4 {+0.38/22 3.27s} cxd4 {-0.18/10 3.20s} 5. Qxd4 {+0.32/21 3.29s}
Bd7 {-0.08/9 3.19s} 6. Qc4 {+0.25/17 3.27s} e5 {-0.13/8 3.19s}
7. Nf3 {+0.26/18 3.27s} Be7 {-0.10/8 3.20s} 8. Qb3 {+0.22/20 3.27s}
a6 {+0.05/7 3.21s} 9. Be2 {+0.09/20 3.27s} Na5 {0.00/7 3.21s}
10. Qd5 {+0.09/20 3.27s} Nf6 {+0.12/8 3.21s} 11. Qd1 {+0.16/19 3.27s}
O-O {+0.12/8 3.21s} 12. h3 {+0.16/18 3.26s} Rc8 {+0.32/7 3.21s}
13. O-O {+0.10/17 3.27s} Qb6 {+0.27/7 3.21s} 14. Qe1 {+0.10/17 3.27s}
Nc6 {+0.30/7 3.21s} 15. Qd1 {+0.06/20 3.27s} Rfe8 {+0.30/7 3.21s}
16. Nd5 {+0.21/19 3.25s} Nxd5 {+0.35/9 3.21s} 17. exd5 {-0.02/22 3.24s}
Na5 {+0.30/9 3.22s} 18. Bd3 {+0.27/20 3.25s} f5 {+0.58/8 3.22s}
19. Be2 {-0.25/20 3.26s} Qc5 {+0.58/7 3.23s} 20. Ne1 {-0.07/19 3.25s}
f4 {+0.55/8 3.23s} 21. b3 {-0.03/20 3.25s} Bf5 {+0.38/7 3.23s}
22. Bd2 {+0.28/19 3.26s} Qc7 {+0.18/7 3.22s} 23. Bg4 {+0.34/19 3.26s}
Bxg4 {+0.25/9 3.23s} 24. Qxg4 {+0.18/22 3.25s} Bf6 {+0.20/8 3.24s}
25. c4 {+0.31/20 3.25s} Rb8 {+0.20/8 3.24s} 26. Rc1 {+0.24/21 3.25s}
Rbd8 {-0.10/8 3.25s} 27. g3 {+0.93/20 3.25s} fxg3 {-0.65/8 3.25s}
28. fxg3 {+0.96/21 3.24s} h5 {-0.70/8 3.24s} 29. Qxh5 {+0.94/20 3.24s}
e4 {-0.75/7 3.24s} 30. Ng2 {+0.85/19 3.24s} Bd4+ {-0.82/7 3.26s}
31. Be3 {+0.81/21 3.24s} Bc5 {-0.82/9 3.26s} 32. Qg6 {+1.01/19 3.23s}
Re5 {-0.82/8 3.25s} 33. Kh2 {+1.59/17 3.23s} Ba3 {-0.85/8 3.27s}
34. Rce1 {+2.75/20 3.22s} Bb4 {-1.85/8 3.27s} 35. Bd4 {+2.47/20 3.22s}
Bxe1 {-1.93/9 3.28s} 36. Bxe5 {+3.46/22 3.22s} Bb4 {-2.88/8 3.29s}
37. Qe6+ {+3.85/23 3.19s} Kh7 {-4.20/9 3.31s} 38. Rf7 {+3.85/21 3.18s}
Qxf7 {-4.60/12 3.32s} 39. Qxf7 {+3.83/25 3.18s}
dxe5 {-4.60/11 3.35s, White loses on time} 0-1

[Event "My Tournament"]
[Site "RWBC-CAPPUCCINO"]
[Date "2020.11.24"]
[Round "1"]
[White "Vice_11"]
[Black "Sandbox_Reika100dev-64"]
[Result "1-0"]
[ECO "B23"]
[GameDuration "00:04:03"]
[GameEndTime "2020-11-24T15:02:51.875 Mitteleuropäische Zeit"]
[GameStartTime "2020-11-24T14:58:48.573 Mitteleuropäische Zeit"]
[Opening "Sicilian"]
[PlyCount "79"]
[Termination "time forfeit"]
[TimeControl "40/120"]
[Variation "Closed, 2...Nc6"]

1. e4 {book} c5 {book} 2. Nc3 {book} Nc6 {book} 3. Bb5 {book} d6 {book}
4. Bxc6+ {+0.22/8 3.20s} bxc6 {+0.20/22 3.27s} 5. f4 {+0.22/9 3.20s}
g6 {+0.30/20 3.28s} 6. Nf3 {+0.40/8 3.20s} Nf6 {+0.29/21 3.28s}
7. O-O {+0.40/8 3.20s} c4 {+0.31/21 3.27s} 8. d4 {+0.65/8 3.21s}
cxd3 {+0.36/22 3.27s} 9. cxd3 {+0.58/8 3.21s} Bg7 {+0.18/20 3.26s}
10. Be3 {+0.65/7 3.22s} Ng4 {+0.77/21 3.27s} 11. Qd2 {+0.57/8 3.21s}
O-O {+0.80/21 3.27s} 12. Rac1 {+0.45/8 3.21s} Nxe3 {+0.84/21 3.27s}
13. Qxe3 {+0.45/8 3.21s} Qb6 {+0.86/22 3.26s} 14. Qxb6 {+0.35/9 3.21s}
axb6 {+0.85/23 3.27s} 15. d4 {+0.30/9 3.21s} Bh6 {+0.90/21 3.26s}
16. g3 {+0.25/9 3.21s} Bg7 {+0.92/21 3.27s} 17. Rcd1 {+0.25/8 3.21s}
Be6 {+1.02/22 3.26s} 18. a3 {+0.25/9 3.22s} Rfd8 {+0.99/22 3.28s}
19. Rd2 {+0.20/9 3.21s} Ra5 {+1.02/21 3.26s} 20. Re1 {+0.25/9 3.23s}
c5 {+0.98/19 3.27s} 21. Re3 {+0.25/9 3.22s} Ra7 {+0.97/20 3.26s}
22. dxc5 {+0.25/8 3.22s} bxc5 {+0.94/20 3.25s} 23. Kh1 {+0.15/8 3.23s}
Rdd7 {+1.14/20 3.25s} 24. Kg1 {0.00/9 3.25s} Bg4 {+1.10/19 3.25s}
25. Nb5 {0.00/9 3.25s} Ra8 {+1.16/22 3.23s} 26. b3 {-0.10/9 3.24s}
Rb8 {+1.13/19 3.24s} 27. a4 {+0.05/9 3.24s} f6 {+1.14/19 3.25s}
28. Nh4 {+0.05/8 3.24s} Rdb7 {+1.42/23 3.24s} 29. Rdd3 {-0.60/10 3.26s}
Ra8 {+1.12/22 3.24s} 30. f5 {+0.05/9 3.26s} Bh6 {+1.11/23 3.24s}
31. Re1 {+0.05/11 3.26s} Kg7 {+1.14/20 3.23s} 32. Kh1 {+0.05/9 3.25s}
Bg5 {+1.17/21 3.23s} 33. fxg6 {+0.10/9 3.27s} hxg6 {+1.17/23 3.23s}
34. Nf3 {-0.30/9 3.27s} Bh6 {+1.35/20 3.21s} 35. Na3 {-0.35/9 3.29s}
Rab8 {+2.07/23 3.21s} 36. Nb5 {-0.75/9 3.29s} Bd7 {+2.24/21 3.20s}
37. b4 {-1.45/10 3.31s} cxb4 {+2.74/23 3.21s} 38. Rb1 {-1.55/10 3.32s}
Bxb5 {+2.78/25 3.17s} 39. axb5 {-1.80/11 3.36s} Rxb5 {+2.64/25 3.16s}
40. Nd4 {-1.80/9 3.37s, Black loses on time} 1-0

This is on WIN7 old 64-bit hardware (compiled with march=native) with the CuteChess GUI.

Do you have any idea, or a fix for this?

I find this is quite an interesting program, BTW it was compiled already in its early beginning (rev 25)
and 'announced' as Hedwig and even rated at that time in CEGT, but that was four years ago.

Guenther (RWBC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant