On-line engine blitz tourney January

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney January

Post by Joost Buijs »

hgm wrote: NightmareA unfortunately was unstable, and kept crashing, so that it had to be withdrawn.
It was not really crashing but something went wrong with the HPTC timer it uses.

My Atom computer has been offline for many months and it took hours to have all the updates installed (it runs windows server 2012 v2), after this I replaced VS2013 with VS2017 and recompiled the engine, by that time it was already 20.30. I let the engine play one quick game and everything seemed normal so I decided to enter it in the tourney.

Next time I will take more time to make sure everything runs like it should.
Maarten Claessens
Posts: 106
Joined: Mon May 12, 2014 10:08 am
Location: Near Nijmegen

Re: On-line engine blitz tourney January

Post by Maarten Claessens »

It seems Fizbo wants to repeat winning opening lines. In the october 2016 tournament WaDuuttie (with white) lost badly against Fizbo from ths position:
[d]2r2rk1/2q1bp1p/p3b1P1/N3p1P1/p7/P3BP2/1PPQ3R/1K1R4 w - - 0 24
He then continued with Rdh1 but could not find the right plan.
The same position was reached again in this tournament when we met in the 7th round. This time WaDuuttie played gxh7+ and managed to draw. Maybe this was caused by a slightly better evaluation or by the book- and position-learning WaDuuttie uses or by a combination of both. Anyway this was an improvement.

The games:
[pgn]
[Event "ICS rated blitz match"]
[Site "winboard.nl"]
[Date "2016.10.22"]
[Round "7"]
[White "WaDuuttie"]
[Black "Fizbo"]
[Result "0-1"]
[WhiteElo "2010"]
[BlackElo "2131"]
[TimeControl "300+1"]

1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.Be3 e5 7.Nb3 Be6 8.f3 Be7 9.Qd2 O-O 10.O-O-O Nbd7 11.g4 b5 12.g5 Nh5 13.Kb1 Nb6 14.Na5 Rc8 15.a3 g6 16.h4 Ng3 17.Rh2 Nxf1 18.Rxf1 Na4 19.Nxa4 bxa4 20.Rd1 Qc7 21.h5 d5 22.exd5 Bxd5 23.hxg6 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21.h5 d5 22.exd5 Bxd5 23.hxg6 Be6 24.gxh7+ Kh8 25.Qe1 Rb8 26.c4 Bxa3 27.Ba7 Bb4 28.Bxb8 Rxb8 29.Qe4 Bxa5 30.f4 Bc3 31.f5 Qxc4 32.Qxc4 Bxc4 33.Rc2 Bb3 34.bxc3 Bxc2+ 35.Kxc2 Kxh7 36.Rd6 a3 37.Rxa6 Rg8 38.c4 Rxg5 39.c5 Rxf5 40.c6 e4 41.Rxa3 Re5 42.c7 Re8 43.Kd2 Rc8 44.Rc3 Kg6 45.Ke3 Kf5 46.Rc5+ Ke6 47.Kxe4 Kd6 48.Rc3 Rxc7 49.Rxc7 Kxc7 50.Kf4 Kd6 51.Kf5 Ke7 52.Ke5 f6+ 53.Ke4 Ke8 54.Kd3 Kd7 55.Ke3 Kd8 56.Ke4 Ke7 57.Kd3 Ke8 58.Kd2 Kf7 59.Ke2 f5 60.Ke3 Kf6 61.Ke2 Ke6 62.Ke3 Ke7 63.Kf4 Kf6 64.Ke3 Ke7 65.Ke2 Kd6 66.Kd2 Kc6 67.Kd3 Kd7 68.Kd2 Ke8 69.Kd3 Kf7 70.Ke2 Kf8 71.Ke3 Kg7 72.Kd3 Kg6 73.Ke2 Kh5 74.Kf2 Kh6 75.Ke2 Kg5 76.Kf3 Kh5 77.Kf4 Kg6 78.Ke3 Kg7 79.Kd3 Kg6 80.Ke2 Kh5 81.Kf3 Kg5 82.Kg3 Kf6 83.Kf4 Kg6 84.Kg3 Kf6 85.Kf4 Kg6 86.Kf3 1/2-1/2
[/pgn]
Nothing is unstable (Lawrence Krauss)
Henk
Posts: 7218
Joined: Mon May 27, 2013 10:31 am

Re: On-line engine blitz tourney January

Post by Henk »

Hi hi hi hi. Nobody could win from Stockfish (or McBrain).

Also something wrong with Skipper. Being too slow and playing terrible defensive. Probably lazy eval and king safety mistakes.
D Sceviour
Posts: 570
Joined: Mon Jul 20, 2015 5:06 pm

Re: On-line engine blitz tourney January

Post by D Sceviour »

Here is the way to beat Stockfish. All went normal until rpiStockfish inexplicably punctured itself on move 46... g6?

[pgn][Event "ICS rated blitz match"]
[Site "winboard.nl"]
[Date "2017.01.14"]
[Round "6"]
[White "Schooner"]
[Black "rpiStockfish"]
[Result "1-0"]
[WhiteElo "1614"]
[BlackElo "1840"]
[TimeControl "300+1"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 Bc5 4. c3 a6 5. Bxc6 dxc6 6. Nxe5 Qg5 7. O-O
Qxe5 8. d4 Qe7 9. dxc5 Nf6 10. Qd4 h6 11. Bf4 O-O 12. Nd2 Rd8 13. Qe3 Be6
14. f3 a5 15. Be5 Rac8 16. Bd4 Nd7 17. f4 f6 18. a3 a4 19. Rae1 Re8 20. Rf3
Qf8 21. Rg3 Bf7 22. Qf2 b6 23. cxb6 cxb6 24. Qe2 Rcd8 25. Kh1 Kh8 26. h3
Kg8 27. Rd1 Kh8 28. Qg4 b5 29. Kg1 Be6 30. Qh5 Bf7 31. Qf3 h5 32. Kh2 Kg8
33. Qe2 Qd6 34. Rf3 Qe6 35. Rff1 Qa2 36. Rb1 Qe6 37. Qf2 c5 38. Be3 Qc6 39.
Rbd1 Re7 40. Rfe1 Qc8 41. Qh4 Rde8 42. Kh1 Nb6 43. Qf2 Nd7 44. Qe2 Qb8 45.
Qf3 Qc7 46. Qg3 g6 47. e5 Qc6 48. Nf3 fxe5 49. f5 e4 50. Rd6 Qxd6 51. Qxd6
exf3 52. fxg6 Bc4 53. gxf3 Nf6 54. Qxf6 Rxe3 55. Rxe3 Rxe3 56. Qg5 Re8 57.
Qxh5 Kg7 58. Qh7+ Kf6 59. h4 Bb3 60. h5 Bc4 61. g7 Bf7 62. Qh6+ Kf5 63. f4
b4 64. Qg5+ Ke6 65. h6 bxa3 66. bxa3 Bg8 67. Qg6+ Kd7 68. h7 Bd5+ 69. Kg1
Re6 70. Qf5 Kc6 71. g8=Q Re1+ 72. Kf2 Be6 73. Qe8+ Kb6 74. Qexe6+ Rxe6 75.
Qxe6+ Ka5 76. Qe7 Kb5 77. h8=Q Kc4 78. Qe6+ Kb5 79. Qb8+ Ka5 80. Qb1 c4 81.
Qd5+ Ka6 82. Qxc4+ Ka5 83. Qxa4+ Kxa4 84. Qb4# {rpiStockfish checkmated} 1-0
[/pgn]

Schooner had its best ics tournament so far defeating top programs Bliep, rpiStockfish and Goldbar. Unfortunately, it still had a problem checkmating.

I have been experimenting with some mate finding accelerators. There is a flaw where if a strong engine follows the best PV, then there is no problem. The PV is read easily from the hash table. However, if a weak engine breaks from the main line, the accelerators cannot properly pick up the PV and the engine gets lost. That is why Schooner can checkmate Goldbar, but not RookieMonster (good game Rookie Monster!). That is also why it was so difficult to replicate the problem. It is part of the reason the same mate score kept appearing in the output display after every move. The accelerator ignores mate distance. The current fix is to turn off the mate finding accelerators AFTER a mate has already been found.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney January

Post by Joost Buijs »

I've been looking into the timing problem somewhat deeper and actually it seems to be a communication problem between the engine and Winboard 4.8.0. Strange is that on FICS the problem does not occur and that the same engine runs fine on an other PC with Windows 10 and with the same Winboard version.

Now I'm wondering if there is a slight incompatibility between Winboard 4.8.0/Polyglot and Windows server 2012-R2 or that it has something to do with the slowness of the Atom processor it runs on.

When I have some time I will dive deeper into it because I want to have it solved, but it has not a very high priority.
JVMerlino
Posts: 1357
Joined: Wed Mar 08, 2006 10:15 pm
Location: San Francisco, California

Re: On-line engine blitz tourney January

Post by JVMerlino »

So disappointed that I forgot about this! :( :oops:

Congratulations on getting the server stable again and for hosting a huge and successful tournament. Next time for sure....

And, apparently, I've found myself working on Myrddin again. <god help me>
Hopefully I can actually make some reasonable improvement this time.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney January

Post by Joost Buijs »

I finally found the culprit, accessing the Nalimov code breaks the communication between the engine and Winboard, I guess it is a bandwidth problem, the EGDB sits on an SSD and I don't access it at very low depths, there is still enough free memory left, there is no paging going on but it blocks communication via the pipe completely.
I didn't notice this problem at FICS, the engine probably won already before hitting the EGDB, it depends upon who you play.
zenpawn
Posts: 349
Joined: Sat Aug 06, 2016 8:31 pm
Location: United States

Re: On-line engine blitz tourney January

Post by zenpawn »

D Sceviour wrote: Schooner had its best ics tournament so far defeating top programs Bliep, rpiStockfish and Goldbar. Unfortunately, it still had a problem checkmating.

I have been experimenting with some mate finding accelerators. There is a flaw where if a strong engine follows the best PV, then there is no problem. The PV is read easily from the hash table. However, if a weak engine breaks from the main line, the accelerators cannot properly pick up the PV and the engine gets lost. That is why Schooner can checkmate Goldbar, but not RookieMonster (good game Rookie Monster!).
Thank you. It was an interesting game indeed. RM was a bit too optimistic in shedding its pawns for piece play, but not bad for getting half the ply of Schooner! :) Hopefully it wasn't too far off the PV in the KQK endgame since it does well in finishing those off on the winning side (as well as KRK and KBBK).
Maarten Claessens
Posts: 106
Joined: Mon May 12, 2014 10:08 am
Location: Near Nijmegen

Re: On-line engine blitz tourney January

Post by Maarten Claessens »

WaDuuttie lost his first game (against Kingslayer) because I could not switch of a follow-command. At that time noone could reproduce the problem. Now I know what happened: I used namecompletion to add an engine to my followlist (eg. "follow rpis" to add rpiStockfish). Now giving the command "follow rpis" again does not toggle but prints "[rpiStockfish] is already on your follow list.". Now you have to give the full name to toggle: "follow rpistockfish" prints "[rpiStockfish] removed from your follow list.".
Nothing is unstable (Lawrence Krauss)
User avatar
hgm
Posts: 27796
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: On-line engine blitz tourney January

Post by hgm »

Did you have the option 'Background observe' switched on in WinBoard? I think that with that option on you should be immune against observed games trying to break in on the game that you are playing.

Speaking about ICS options that could wreck things:

It dawned on me that the bug I fixed would only be activated when there were users logged in that had set their ICS variable avail=1. So the fact that this suddenly became a problem after years of trouble-fee running could have been caused by someone setting his avail variable, which by default is 0. First I though mamer would do this, but when I printed mamer's vars, it did have avail=0.