program to generare epd file of tactical exercises from pgn

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Uri Blass
Posts: 10281
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: program to generare epd file of tactical exercises from pgn

Post by Uri Blass »

USGroup1 wrote: Sat Jan 19, 2019 11:02 am
Uri Blass wrote: Fri Jan 18, 2019 9:51 am
1)good moves in the pgn that are significantly stronger than the second best move
Every sequence of trading pieces fit that description, you need more filters. ChessTricks uses similar filters, you might find it useful for this.
https://chesstricksapp.wordpress.com
Every sequence of trading pieces when the reply is forced is of course a good exercise for human who are beginners and may miss a simple capture.
The target is to find good exercises for all levels of playing strength.
Uri Blass
Posts: 10281
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: program to generare epd file of tactical exercises from pgn

Post by Uri Blass »

Dann Corbit wrote: Sat Jan 19, 2019 6:18 am
Uri Blass wrote: Sat Jan 19, 2019 5:59 am
Dann Corbit wrote: Sat Jan 19, 2019 12:36 am
Uri Blass wrote: Fri Jan 18, 2019 9:15 pm Here is an example that is easy for computers but not for weak humans(the woman with white solved it correctly).

[d]2b2rk1/1p4b1/3p3p/3Pnpq1/1P1Np3/1Q2P1P1/3N1nB1/B1R3K1 w - - 0 23

find the best move for white.
Is there a best move if all move choices lose?
I think the game is already lost at that point.
From human point of view there are cases that yes and there are cases that no.

There is a difference between -2.45 and -6.80 by the computer unless the -6.80 is a very complex win that you are sure that there are good chances that even a strong human opponent is not going to find so maybe the -6.80 is practically better.

-2.45 by stockfish at depth 30 is not something that I usually expect humans to convert easily.

I cannot use only the evaluation of the computer to decide if the position is a good or bad test for humans and I need to use common sense.
At this point, I might not resign, even though it is clear to me that the game is lost (maybe a computer could draw it, but I do not think I could) if I played sensibly.

I might try this...

From here:
[d]2b2rk1/1p4b1/3p3p/3Pnpq1/1P1Np3/1Q2P1P1/3N1nB1/B1R3K1 w - -
I might try to fork the rook and queen with my knight.
[d]2b2rk1/1p4b1/3pN2p/3Pnpq1/1P2p3/1Q2P1P1/3N1nB1/B1R3K1 b - -
If the opponent did not think hard about it, they might recapture with the bishop, giving me a draw:
[d]5rk1/1p4b1/3pb2p/3Pnpq1/1P2p3/1Q2P1P1/3N1nB1/B1R3K1 w - -

But chances are good I would just take a beating.
The target of the game is to give checkmate.
I can see without analysis that in this position black try to give checkmate so first line that I calculate after Ne6 is not Bxe6 but Qxg3
and I can easily calculate Ne6 Qxg3 Nxf8 Nh3+ Kh1 Ng4 with mate next move for black.
White needs to defend against mate attack and I consider Nf1 to be the best practical chance because I expect every human with fide rating above 1800 to find Qxg3 and win.



After Nf1 the win is not obvious and I guess at least most humans below 2300 are going to fail to win against perfect defence.
After Nf1 there is no easy win for black and I expect humans under 2250 not to win with black against stockfish(asssuming no special preperation).
USGroup1
Posts: 33
Joined: Sun Oct 14, 2018 7:01 pm
Full name: Sina Vaziri

Re: program to generare epd file of tactical exercises from pgn

Post by USGroup1 »

Guenther wrote: Sat Jan 19, 2019 2:08 pm Of course I did all of this.

After making an offline install of .Net 4.72 all works here. Seems sth was missing in my 4.7 installation?
Yes they added some stuff to .NET Framework 4.7 to fix some NuGet version mismatches. https://github.com/dotnet/announcements/issues/25
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: program to generare epd file of tactical exercises from pgn

Post by pferd »

Do we know how pages like lichess come up with their tactical exercices. I enjoy doing them quite a bit
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: program to generare epd file of tactical exercises from pgn

Post by Ferdy »

Uri Blass wrote: Fri Jan 18, 2019 9:51 am I would like to generate epd file of tactical exercises from a pgn and I wonder if there is a program that can do it.

I would like to have the following epd files based on a pgn game:

1)good moves in the pgn that are significantly stronger than the second best move
2)good moves from positions in the pgn that are not in the pgn that are significantly stronger than the second best move

For the definition of good moves
possible parameters that you can define manually:
1)engine to analyze.
2)minimal time of search or minimal depth of search or minimal nodes to search to analyze every move.
3)minimal difference between best move and second best move in centi-pawns.
4)maximal time to analyze candidate moves that I suspect after I found a significant difference after the minimal time.
Created a tool to generate positions according to those criteria plus my additional conditions.
Parse moves in the game, analyze position with engine at multipv 2, save the easy move after 20ms or so. If the bestmove after 15s and easy move are the same and if this easy move is a capture then don't consider this position. With this condition a lot of obvious capture moves are avoided.

Code: Select all

game 1 / position 2
2r1nrk1/ppq2ppp/2n1b1P1/3p4/1P1PpN2/P3P2P/1B3P2/R2QKB1R b KQ - 0 16
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove h7g6 after 38.0ms of searching
Search is done!!
game move       : h7g6
easy move       : h7g6
best move 1     : h7g6, best score 1: 229
best move 2     : h7h6, best score 2: 89
scorediff       : 140
Skip this position, bm1 is a capture also bm1 and easymove are the same
Conditions are like this.

Code: Select all

pgn file: champshowb19.pgn

Conditions:
mininum time               : 5.0s
maximum time               : 15.0s
mininum score diff         : 25
mininum score diff save    : 100
easy move time             : 20.0ms
stm is not in check        : Yes
stm position is not bad    : Yes
start analysis move number : 16
end analysis move number   : 80
After 5s of analysis, if min score diff of 25 is not meet, we exit the search early.

Code: Select all

game 1 / position 1
2r1nrk1/ppq2ppp/2n1b3/3p2P1/1P1PpN2/P3P2P/1B3P2/R2QKB1R w KQ - 1 16
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove h3h4 after 35.0ms of searching
Exit search early, scorediff=8 is below minscorediff of 25
Search is done!!
game move       : g5g6
easy move       : h3h4
best move 1     : h3h4, best score 1: -30
best move 2     : f1e2, best score 2: -38
scorediff       : 8
Skip this position, minscorediff 8 is below minscorediffsave of 100
If the position of the side to move is bad, skip this position.

Code: Select all

game 1 / position 9
2r2rk1/pp1q1pp1/2n2np1/3p3P/1P1PpNb1/P3P3/1B3P2/R2QKBR1 w Q - 1 20
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove f1e2 after 25.0ms of searching
Search is done!!
game move       : g1g4
easy move       : f1e2
best move 1     : f1e2, best score 1: -233
best move 2     : g1g4, best score 2: -300
scorediff       : 67
Skip this position, score -233 is already bad
If criteria is meet, save the position in epd format.

Code: Select all

game 1 / position 14
2r2rk1/pp3pp1/2n3P1/3p4/1P1PpNn1/P3P3/1B3P2/R3KB2 b Q - 0 22
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove c6e7 after 24.0ms of searching
Search is done!!
game move       : c6e7
easy move       : c6e7
best move 1     : c6e7, best score 1: 334
best move 2     : c6d8, best score 2: 133
scorediff       : 201
Save this position!!
2r2rk1/pp3pp1/2n3P1/3p4/1P1PpNn1/P3P3/1B3P2/R3KB2 b Q - bm Ne7; ce 334; sm Ne7; acd 25; acs 15; fmvn 22; hmvc 0; pv Ne7 gxf7+ Kxf7 Bh3 Rc2; c0 "Harikrishna, Pentala - Caruana, Fabiano, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
Here are sample positions generated by the tool from different pgn files. Still needs more conditions to add, like perhaps the 2nd best move should not be winning. By looking at this examples we hope to get an idea of what is missing to truly generate some interesting positions.
Will upload the tool later after adding user options.

Code: Select all

r1bqnk1r/5pbp/3p2p1/p1pPn3/1p2PB2/4N1Q1/PP1NBPPP/R4RK1 b - - bm h6; ce 0; sm h6; acd 24; acs 15; fmvn 18; hmvc 3; pv h6 Ndc4 Nxc4 Nxc4 Ba6; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r1rk1/pb4pp/np2qb2/3pNp2/3Q1B1P/5BP1/PP2PP2/R2R2K1 w - - bm Qe3; ce 1; sm Qe3; acd 26; acs 15; fmvn 19; hmvc 1; pv Qe3 Nc5 Rac1 Ba8 Nd3; c0 "Lahaye, Rick - Arutinian, David, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r1bqnk1r/5pb1/3p2pp/p1pP4/1pN1PB2/6Q1/PP2BPPP/R4RK1 b - - bm Ba6; ce 0; sm Ba6; acd 23; acs 15; fmvn 20; hmvc 0; pv Ba6 Rab1 Qe7 Rfe1 Bxc4; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3rk2r/3pbpp1/pRq1p2p/P1p1Pn1P/2P2B2/5N2/2PQ1PP1/3R2K1 b k - bm Qe4; ce 12; sm Qe4; acd 26; acs 15; fmvn 20; hmvc 4; pv Qe4 Rxa6 O-O Ra1 Qxc4; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3rr1k1/pb3qpp/1p3b2/2np1p2/5B1P/3NQBP1/PP2PP2/2RR2K1 w - - bm Qd2; ce 43; sm Qd2; acd 23; acs 15; fmvn 22; hmvc 7; pv Qd2; c0 "Lahaye, Rick - Arutinian, David, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r2rk1/pp3pp1/2n3P1/3p4/1P1PpNn1/P3P3/1B3P2/R3KB2 b Q - bm Ne7; ce 334; sm Ne7; acd 25; acs 15; fmvn 22; hmvc 0; pv Ne7 gxf7+ Kxf7 Bh3 Rc2; c0 "Harikrishna, Pentala - Caruana, Fabiano, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qrbk1/pp1n3p/2p3p1/3pPn2/3P1P1P/PP1Q4/1B1N2B1/4RRK1 w - - bm Bh3; ce 285; sm Nf3; acd 23; acs 15; fmvn 23; hmvc 1; pv Bh3 Nxh4; c0 "Howell, David W L - Machin, Guillaume, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qnkr1/5pb1/3p2pp/p1pP4/1pB1PB1P/6Q1/PP3PP1/1R3RK1 b - - bm g5; ce 91; sm Nf6; acd 24; acs 15; fmvn 23; hmvc 0; pv g5 Be3 Be5 Qh3 Qf6; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r2r2/pp2nk2/8/3p2p1/1P1Pp1n1/P3P2N/1B1K1P2/R4B2 b - - bm Kg6; ce 749; sm Kg6; acd 24; acs 15; fmvn 25; hmvc 1; pv Kg6 Rc1 Nxf2 Rxc8 Nxc8; c0 "Harikrishna, Pentala - Caruana, Fabiano, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r2r2/pp6/6k1/3p1np1/1P1PpP2/P1B1n2N/3KB3/R7 b - - bm Rh8; ce 1315; sm Rh8; acd 24; acs 15; fmvn 28; hmvc 1; pv Rh8; c0 "Harikrishna, Pentala - Caruana, Fabiano, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r3r2k/pp1nq2p/2p4b/3pPQ2/3P1P1P/PP3N2/1B6/4RRK1 w - - bm Ng5; ce 540; sm Ng5; acd 25; acs 15; fmvn 27; hmvc 1; pv Ng5 Rg8 Kh2 Nf8 Qf6+; c0 "Howell, David W L - Machin, Guillaume, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2R1r1k1/p1R1rqp1/1p3b2/1Q4pP/3p1pP1/3N4/PP2PP2/6K1 b - - bm Qe6; ce 0; sm Qe6; acd 27; acs 15; fmvn 32; hmvc 3; pv Qe6 Qb3 Qxb3 axb3 Rxe2; c0 "Lahaye, Rick - Arutinian, David, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r5/pp6/6k1/3p1nN1/1P1PpP2/P1B1n3/3KB2r/6R1 b - - bm Ng3; ce 1755; sm Kf6; acd 26; acs 15; fmvn 30; hmvc 2; pv Ng3 Rxg3 Nf1+ Kc2 Nxg3; c0 "Harikrishna, Pentala - Caruana, Fabiano, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/1qb2pp1/3Rp2p/2p1P2P/2P2B2/3Q1P2/5PK1/8 w - - bm Rd7; ce 0; sm Rd7; acd 32; acs 15; fmvn 33; hmvc 3; pv Rd7 Qc8 Re7 Rd8 Qe3; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/4r3/8 b - - bm Rc2+; ce 31986; sm Rc2+; acd 27; acs 15; fmvn 34; hmvc 3; pv Rc2+ Kb4 Rc4+ Kb3 Nxd4+; c0 "Harikrishna, Pentala - Caruana, Fabiano, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1b2r1k1/3R1pp1/2q1p2p/2p1P2P/2P5/3Q1PB1/5P1K/8 w - - bm f4; ce 146; sm f4; acd 27; acs 15; fmvn 36; hmvc 9; pv f4 Rf8 f5 exf5 Qxf5; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5nrk/pp2q2p/2p3r1/3pP1P1/3P1PQ1/PP5R/1B6/4R2K w - - bm Bc1; ce 617; sm Re2; acd 26; acs 15; fmvn 33; hmvc 5; pv Bc1 Ne6 f5 Rxg5 Qh4; c0 "Howell, David W L - Machin, Guillaume, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4r3/5pk1/3P3p/p2P3n/1pBp1p1P/8/PP3PPB/6K1 w - - bm Kf1; ce -32; sm d7; acd 28; acs 15; fmvn 35; hmvc 0; pv Kf1 Rd8 Be2 Kg6 Bxh5+; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5nrk/pp2q2p/2p3rR/3pP1P1/3P1PQ1/PP6/1B2R3/7K w - - bm Rh5; ce 718; sm Rh5; acd 25; acs 15; fmvn 35; hmvc 9; pv Rh5 Ne6 Bc1 Nxd4 Reh2; c0 "Howell, David W L - Machin, Guillaume, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4r3/3P1pk1/7p/p2P3n/1pBp1p1P/8/PP3PPB/6K1 b - - bm Re1+; ce 1201; sm Re1+; acd 26; acs 15; fmvn 35; hmvc 0; pv Re1+ Bf1 d3 Bxf4 Nxf4; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/3P1pk1/7p/p2P3n/1p1p1p1P/8/PP3PPB/4rBK1 b - - bm d3; ce 1266; sm d3; acd 28; acs 15; fmvn 36; hmvc 2; pv d3 Bxf4 Nxf4 d8=Q d2; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
Q7/4b1pk/1p2q3/p6P/5pN1/1P1p1P2/P3P3/4K3 w - - bm Qe4+; ce 1; sm Qe4+; acd 29; acs 15; fmvn 47; hmvc 0; pv Qe4+ Qxe4 fxe4 Bb4+ Kd1; c0 "Lahaye, Rick - Arutinian, David, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/3P1pk1/7p/p2P3n/1p3pPP/3p4/PP3P1B/4rBK1 b - g3 bm d2; ce 31990; sm d2; acd 29; acs 15; fmvn 37; hmvc 0; pv d2 d8=Q d1=Q Kg2 Qxg4+; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2rr2k1/p3nppp/bp2p3/2p1q3/3N4/PP1P2P1/1QR1PPBP/5RK1 w - - bm Nf3; ce 0; sm Nf3; acd 26; acs 15; fmvn 20; hmvc 0; pv Nf3 Qxb2 Rxb2 Bb7 Nd2; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/5pk1/1p4pp/p2p1q2/3Rn3/P3P1P1/1P3P1P/3Q1BK1 w - - bm f3; ce 118; sm f3; acd 26; acs 15; fmvn 33; hmvc 5; pv f3; c0 "Fedoseev, Vladimir3 - Petrosyan, Manuel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3Q4/5pk1/7p/p2P3n/1p3pPP/8/PP1p1P1B/4rBK1 b - - bm d1=Q; ce 31991; sm d1=Q; acd 31; acs 15; fmvn 38; hmvc 0; pv d1=Q Kg2 Qxg4+ Bg3 fxg3; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/5pk1/1p4pp/p2p1qn1/3R4/P3PPP1/1P5P/3Q1BK1 w - - bm f4; ce 146; sm f4; acd 25; acs 15; fmvn 34; hmvc 1; pv f4 Ne6 e4 Qf6 e5; c0 "Fedoseev, Vladimir3 - Petrosyan, Manuel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4qnrk/pp4rp/8/2ppPPPR/3P2Q1/PP6/4R3/2B4K w - - bm e6; ce 1085; sm e6; acd 21; acs 15; fmvn 38; hmvc 1; pv e6 Re7 dxc5 Rgg7 Bb2; c0 "Howell, David W L - Machin, Guillaume, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/5pk1/1p2n1pp/p2p1q2/3R1P2/P3P1P1/1P5P/3Q1BK1 w - - bm e4; ce 145; sm e4; acd 28; acs 15; fmvn 35; hmvc 1; pv e4 Qf6 e5 Qe7 Rxd5; c0 "Fedoseev, Vladimir3 - Petrosyan, Manuel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3b4/5k2/4p2p/2p1P1pP/2P3K1/4B3/5P2/8 b - - bm Be7; ce -42; sm Be7; acd 37; acs 15; fmvn 49; hmvc 1; pv Be7 Bd2 Ke8 Kf3 Bf8; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5kp1/8/7P/3NPp2/3K4/1p2P3/2b5 w - - bm Kc2; ce 0; sm Kc2; acd 24; acs 15; fmvn 60; hmvc 0; pv Kc2 Kf6 Nf5 Kf7; c0 "Lahaye, Rick - Arutinian, David, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/6k1/4p1p1/1Q2P2p/p4P2/P3q1P1/1P5P/5K2 w - - bm Qd7+; ce 395; sm Qd7+; acd 27; acs 15; fmvn 48; hmvc 2; pv Qd7+ Kh6 Qxe6 Qf3+ Kg1; c0 "Fedoseev, Vladimir3 - Petrosyan, Manuel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4nk2/2b5/2N2p2/1p4p1/3PK1P1/R5BP/1r6 b - - bm b3; ce 345; sm b3; acd 26; acs 15; fmvn 41; hmvc 1; pv b3 Re2 Bxg2 Rxg2 b2; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/4Q1pk/4P3/p4P1p/P4qP1/1P5P/6K1 w - - bm Qf6; ce 875; sm Qf6; acd 25; acs 15; fmvn 51; hmvc 0; pv Qf6 Kh7 Qxh4+ Kg8 Qf6; c0 "Fedoseev, Vladimir3 - Petrosyan, Manuel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4nk2/8/2N2p2/6p1/1p1PK1P1/6RP/1r6 b - - bm b2; ce 350; sm Nc6; acd 27; acs 15; fmvn 43; hmvc 0; pv b2 Kd4 f4 Ne4 Nf5+; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/1p6/3p1k2/2nBp3/2P4P/r7/PR2K3/8 b - - bm e4; ce 184; sm e4; acd 25; acs 15; fmvn 37; hmvc 1; pv e4; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5k2/4pP1p/2p1K2P/2P5/8/8/8 w - - bm Kd6; ce 31975; sm Kd6; acd 40; acs 15; fmvn 73; hmvc 3; pv Kd6 Kxf6 Kxc5 Ke7 Kc6; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k3/4p2p/2K4P/2P5/8/8/8 w - - bm Kc6; ce 31978; sm Kc6; acd 44; acs 15; fmvn 75; hmvc 1; pv Kc6 Kf6 Kd6 e5 Kd5; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5k2/8/5pK1/N2n2p1/3P2P1/1p4RP/1r6 b - - bm Ne6+; ce 1070; sm Ne6+; acd 29; acs 15; fmvn 46; hmvc 3; pv Ne6+; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k3/2K4p/4p2P/2P5/8/8/8 w - - bm Kd5; ce 31980; sm Kd5; acd 39; acs 15; fmvn 76; hmvc 0; pv Kd5 e4 Kxe4 Ke6 c5; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5k2/4n3/5p1K/N5p1/3P2P1/1p4RP/1r6 b - - bm Ra1; ce 1901; sm Ra1; acd 28; acs 15; fmvn 47; hmvc 5; pv Ra1; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
7b/8/2b5/4kp2/2p5/P3NP1K/8/3B4 b - - bm c3; ce 341; sm c3; acd 28; acs 15; fmvn 35; hmvc 1; pv c3 Ng2 Kd4 Bc2 Bxf3; c0 "Walton, Alan J - McShane, Luke J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r2/8/3p2B1/8/2Pkp2P/3n4/P2RK3/8 b - - bm Rf2+; ce 479; sm Rf2+; acd 25; acs 15; fmvn 43; hmvc 10; pv Rf2+ Kd1 Rf1+ Kc2 Rc1+; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/3p2B1/8/2Pkp2P/3n4/P2R1r2/3K4 b - - bm Rf1+; ce 555; sm Rf1+; acd 26; acs 15; fmvn 44; hmvc 12; pv Rf1+ Kc2 Rc1+ Kb3 Rc3+; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/3p2B1/8/2Pkp2P/3n4/P1KR4/5r2 b - - bm Rc1+; ce 589; sm Rc1+; acd 27; acs 15; fmvn 45; hmvc 14; pv Rc1+ Kb3 Rc3+ Ka4 e3; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/7R/4nk2/5p1K/r5p1/3P2P1/7P/8 b - - bm Ng7+; ce 31976; sm Ra2; acd 33; acs 15; fmvn 50; hmvc 3; pv Ng7+ Kh4 Kg6 Rxg7+ Kxg7; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/3p2B1/8/2Pkp2P/1K1n4/P2R4/2r5 b - - bm Rc3+; ce 601; sm Rc3+; acd 24; acs 15; fmvn 46; hmvc 16; pv Rc3+ Ka4 e3 Rg2 Rxc4+; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/3p2B1/8/K1Pkp2P/2rn4/P2R4/8 b - - bm e3; ce 613; sm e3; acd 26; acs 15; fmvn 47; hmvc 18; pv e3 Rd1 e2 Rh1 e1=Q; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/3p2B1/1K6/2rk3P/3np3/P6R/8 b - - bm Nf2; ce 1023; sm Rc5+; acd 26; acs 15; fmvn 49; hmvc 1; pv Nf2 Kb6 e2 Rxf2 Rb4+; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
7R/8/6K1/4kp2/3n2p1/3P2P1/r6P/8 b - - bm Ra6+; ce 729; sm Ra6+; acd 29; acs 15; fmvn 55; hmvc 13; pv Ra6+ Kf7 Ra7+ Kg6 Ne6; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3k4/pp2b1p1/2p1Q2p/2P5/4N2P/6P1/1q3PK1/8 b - - bm Qd4; ce 135; sm Qd4; acd 29; acs 15; fmvn 28; hmvc 0; pv Qd4 f3; c0 "Fier, Alexandr - Wang, Hao, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/1K1p2B1/2r5/3k3P/8/P3pn2/6R1 b - - bm Re5; ce 695; sm Nh3; acd 25; acs 15; fmvn 52; hmvc 1; pv Re5 h5; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/p1p2pk1/1q2pnpp/3r4/3P4/R5N1/1PP1QPPP/3R2K1 w - - bm Rb3; ce -9; sm Rb3; acd 24; acs 15; fmvn 27; hmvc 1; pv Rb3 Qd6 Rbd3 c5 dxc5; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/8/8/B2k1p2/2p2P2/5K2/8 b - - bm Kd3; ce 31977; sm Kd3; acd 40; acs 15; fmvn 44; hmvc 0; pv Kd3 Bd7 c2 Bf5+ Kd2; c0 "Walton, Alan J - McShane, Luke J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/8/8/B4p2/2pk1P2/6K1/8 b - - bm c2; ce 31981; sm c2; acd 45; acs 15; fmvn 45; hmvc 2; pv c2 Bxc2+ Kxc2 Kf1 Kd3; c0 "Walton, Alan J - McShane, Luke J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/8/8/5p1K/3k1P2/8/8 b - - bm Ke2; ce 31986; sm Ke2; acd 33; acs 15; fmvn 48; hmvc 3; pv Ke2 Kg4 Ke3 Kg5 Kxf3; c0 "Walton, Alan J - McShane, Luke J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/1K1p2P1/2r5/3k4/8/P3p3/1R6 b - - bm Rg5; ce 1450; sm Rg5; acd 22; acs 15; fmvn 55; hmvc 0; pv Rg5; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/6r1/PK1p4/3k4/8/4p3/1R6 b - - bm Rf6; ce 5509; sm Kc3; acd 24; acs 15; fmvn 58; hmvc 1; pv Rf6 Re1 Ke3 a6 Rf1; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
Q7/2qk2p1/2p4p/p7/6PP/5P1K/8/8 b - - bm Qe5; ce 182; sm Qe5; acd 25; acs 15; fmvn 37; hmvc 2; pv Qe5; c0 "Fier, Alexandr - Wang, Hao, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/6r1/P1Kp4/8/2k5/4p3/1R6 b - - bm d4; ce 6466; sm d4; acd 24; acs 15; fmvn 59; hmvc 3; pv d4 a6 Rxa6 Rc1+ Kd2; c0 "Tifferet, Shaked - Bakalchuk, Johnatan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/1rpbqppp/5n2/p2p2B1/1p1P2PP/1P1B1PN1/P1PQ4/2K4R w - - bm Nh5; ce 648; sm Nh5; acd 25; acs 15; fmvn 20; hmvc 0; pv Nh5 Re8 Bxf6 gxf6 Be4; c0 "Short, Nigel D - Moran, Stephen, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p1p2pk1/2q1pnpp/r7/3P4/1P5P/r1PRQPP1/3R1NK1 b - - bm Ne4; ce 234; sm Nd5; acd 26; acs 15; fmvn 34; hmvc 8; pv Ne4 b4 Nc3 Qe1 Rg5; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/p1p2p2/2q1p1pp/r2nQ3/3P4/1P5P/r1PR1PP1/3R1NK1 w - - bm c4; ce 145; sm c4; acd 27; acs 15; fmvn 36; hmvc 11; pv c4 Nb4 Qe3 h5 Ng3; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/p1p2p2/2q1p1pp/r3Q3/2PP4/1Pn4P/r2R1PP1/3R1NK1 w - - bm d5; ce 425; sm d5; acd 27; acs 15; fmvn 37; hmvc 1; pv d5 Nxd1 Rxa2 Qb6 Rd2; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/6p1/2p4p/p6P/4QPP1/2q5/3k2K1/8 b - - bm Qb4; ce 191; sm c5; acd 25; acs 15; fmvn 49; hmvc 0; pv Qb4 Qf3 a4 g5 a3; c0 "Fier, Alexandr - Wang, Hao, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3Q4/p1p2pk1/1q4pp/r2p4/2P5/1P2N2P/r4PP1/3R2K1 b - - bm Ra1; ce 799; sm dxc4; acd 25; acs 15; fmvn 41; hmvc 3; pv Ra1 Kh2 Rxd1 Nxd1 d4; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3Q4/p1pR1pk1/1q4pp/r7/2p5/1P2N2P/r4PP1/6K1 b - - bm Re5; ce 911; sm Qf6; acd 25; acs 15; fmvn 42; hmvc 1; pv Re5 Rd1 Rxe3 fxe3 Qxe3+; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r4k/p5p1/7p/P2Q4/2pR4/5PK1/1q4PP/8 b - - bm c3; ce 110; sm c3; acd 27; acs 15; fmvn 38; hmvc 6; pv c3 Qe5 Qb7 Rd1 Qf7; c0 "Navara, David - So, Wesley, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/7p/p6P/2p1QP2/2q5/3k2K1/8 w - - bm f5; ce 0; sm f5; acd 26; acs 15; fmvn 52; hmvc 0; pv f5 Qf6 Qd5+ Kc3 Qxa5+; c0 "Fier, Alexandr - Wang, Hao, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r4k/p5p1/7p/P2Q4/2R5/2p2PK1/1q4PP/8 b - - bm Qb8+; ce 815; sm Qb8+; acd 25; acs 15; fmvn 39; hmvc 1; pv Qb8+ Kh3 c2 Qe4 c1=Q; c0 "Navara, David - So, Wesley, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r1b2rk1/2q1b1p1/p1n1p2p/1pPpPpN1/2n2P1P/2P3P1/PPQ1NB2/R3KB1R w KQ - bm Nf3; ce 155; sm b3; acd 22; acs 15; fmvn 17; hmvc 0; pv Nf3 b4 Bg2 Bd7 Nd2; c0 "Aronian, Levon - Jumabayev, Rinat, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/6q1/7p/p4P1P/8/2p2K2/1k6/5Q2 w - - bm Qb5+; ce 0; sm Qb5+; acd 24; acs 15; fmvn 56; hmvc 4; pv Qb5+ Kc1 Qf1+ Kc2 Qe2+; c0 "Fier, Alexandr - Wang, Hao, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1qr4k/p5p1/7p/P2Q4/2R2P2/2p3K1/6PP/8 b - - bm c2; ce 861; sm c2; acd 28; acs 15; fmvn 40; hmvc 0; pv c2; c0 "Navara, David - So, Wesley, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r1b2rk1/2q1b1p1/p1n1p2p/2PpPpN1/1p3P1P/nPP3P1/PQ2NB2/R3KB1R w KQ - bm Nf3; ce 27; sm Nf3; acd 23; acs 15; fmvn 19; hmvc 0; pv Nf3 Qa5 Rc1 Bd7 Bg2; c0 "Aronian, Levon - Jumabayev, Rinat, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r5k1/4qpp1/1np1b2p/p2rPp2/3P3N/P1B3Q1/1P4PP/R4RK1 b - - bm Qd7; ce 69; sm Qg5; acd 24; acs 15; fmvn 24; hmvc 1; pv Qd7 Qf2; c0 "Van der Wiel, John T.H. - Lopez, Jasel, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/5pp1/8/p2p3p/1p4PP/PK3P2/1P6/8 b - - bm g5; ce 1663; sm bxa3; acd 28; acs 15; fmvn 34; hmvc 0; pv g5; c0 "Poleg, Matan - Zifroni, Dov, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/5pp1/8/p2p3p/6PP/PK3P2/8/8 b - - bm g5; ce 6238; sm g5; acd 29; acs 15; fmvn 35; hmvc 0; pv g5; c0 "Poleg, Matan - Zifroni, Dov, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r6r/3qb1k1/2b1p1p1/2PpPp1p/1p1N1P1P/nP1BB1P1/P3Q2K/2R3R1 w - - bm Bd2; ce 495; sm Bd2; acd 25; acs 15; fmvn 33; hmvc 10; pv Bd2 Rab8; c0 "Aronian, Levon - Jumabayev, Rinat, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1r5r/3qb1k1/2b1p1p1/2PpPp1p/1p1N1P1P/nP1B2P1/P2BQ2K/2R3R1 w - - bm Qe1; ce 476; sm Qe1; acd 24; acs 15; fmvn 34; hmvc 12; pv Qe1 Ra8 Bxb4 Rhb8 Qd2; c0 "Aronian, Levon - Jumabayev, Rinat, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r3k1/pB3pp1/4p2p/2P1RP2/3r4/P2b4/6PP/4R1K1 b - - bm Rc7; ce 0; sm Rc7; acd 27; acs 15; fmvn 30; hmvc 2; pv Rc7 fxe6 fxe6 Bf3 Bc4; c0 "Dubov, Daniil - Abdusattorov, Nodirbek, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3b1rk1/pp1q1bpp/2r1p3/3pPp2/P2p1P2/1P3N2/1BP1Q1PP/R4R1K b - - bm Bh5; ce 107; sm Bh5; acd 26; acs 15; fmvn 21; hmvc 1; pv Bh5 Bxd4 Ba5 Qb5 Qc7; c0 "Lurie, Michael - Haimovich, Tal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p3r1k1/2R4p/8/2pP1pnP/2P5/2PK2B1/8 b - - bm Nh2; ce 100; sm Nh2; acd 26; acs 15; fmvn 49; hmvc 0; pv Nh2 Rxc4 f3 Bh3 f2; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p3r1k1/R6p/8/2pP1p1P/2P5/2PK2Bn/8 b - - bm f3; ce 330; sm f3; acd 27; acs 15; fmvn 50; hmvc 2; pv f3 Bh3 f2 Kc1 f1=Q+; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p3r1k1/7p/8/2pP3P/2P4B/2PK1p1n/R7 b - - bm Nf3+; ce 752; sm Nf3+; acd 30; acs 15; fmvn 52; hmvc 1; pv Nf3+; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p3r1k1/7p/8/2pP3P/2P2n1B/2P2p2/R1K5 b - - bm Re1+; ce 804; sm Re1+; acd 30; acs 15; fmvn 53; hmvc 3; pv Re1+; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/7k/8/3pB2P/3P2K1/3r4/4n1P1/5R2 w - - bm Rf8; ce 31989; sm Rf7+; acd 40; acs 15; fmvn 41; hmvc 1; pv Rf8 Rg3+ Bxg3 Kg7 Rf3; c0 "Van der Wiel, John T.H. - Lopez, Jasel, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/1r2k3/1p1Rbp1p/4P1p1/1P1K4/2N2P1P/6P1/8 w - - bm Nd5+; ce 503; sm Nd5+; acd 24; acs 15; fmvn 42; hmvc 0; pv Nd5+; c0 "Topalov, Veselin - Dominguez Perez, Leinier, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k3/1p5R/4K1p1/1P6/5P1P/3r2P1/8 w - - bm Rh7+; ce 663; sm g4; acd 26; acs 15; fmvn 46; hmvc 1; pv Rh7+ Kf8 Kf6 Kg8 Rg7+; c0 "Topalov, Veselin - Dominguez Perez, Leinier, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p5k1/7p/8/2pP3P/K1P5/2P5/5n2 b - - bm h5; ce 5907; sm Kf6; acd 31; acs 15; fmvn 58; hmvc 1; pv h5; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r1r5/1p2pp1k/3pbqp1/pNn1b2p/2P1P3/1P2BP2/P1R3PP/3RQB1K w - - bm f4; ce 292; sm Nd4; acd 23; acs 15; fmvn 25; hmvc 19; pv f4; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k3/1p5R/4K1p1/1P4P1/5P1P/5r2/8 w - - bm Kf5; ce 779; sm Kf5; acd 24; acs 15; fmvn 47; hmvc 1; pv Kf5 Rxf3+ Kxg5 Rb3 h4; c0 "Topalov, Veselin - Dominguez Perez, Leinier, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p7/5k1p/8/1KpP3P/2P5/2P5/5n2 b - - bm Ne3; ce 3328; sm Ne3; acd 33; acs 15; fmvn 59; hmvc 3; pv Ne3 d5 h5 Kc5 Nf5; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p7/5k1p/2K5/2pP3P/2P1n3/2P5/8 b - - bm h5; ce 6138; sm Ke7; acd 30; acs 15; fmvn 60; hmvc 5; pv h5 Kb4 Nf5 Kxc4 Nxh4; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r1r5/1p2pp1k/3pb2q/p1n1b1p1/2P1P2p/1P2BP2/P3NRPP/3RQB1K w - - bm f4; ce 182; sm f4; acd 23; acs 15; fmvn 28; hmvc 2; pv f4 gxf4 Nxf4 Kg7 Be2; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p3k3/7p/2KP4/2p4P/2P1n3/2P5/8 b - - bm a5; ce 6542; sm a5; acd 31; acs 15; fmvn 61; hmvc 0; pv a5 d6+ Kd7 Kb5 Kxd6; c0 "O'Connor, Jonathan - Turner, Matthew J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k3/1R6/6K1/1P4P1/7r/8/8 w - - bm Kg6; ce 1337; sm Kg6; acd 28; acs 15; fmvn 50; hmvc 0; pv Kg6 Rh2 g5 Kf8 Rb7; c0 "Topalov, Veselin - Dominguez Perez, Leinier, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/6p1/3RPk1p/1R6/5p1P/8/6PK/2r2r2 w - - bm Kh3; ce 0; sm Kh3; acd 29; acs 15; fmvn 46; hmvc 1; pv Kh3 Rc3+ Kh2 Rc2 h5; c0 "Lurie, Michael - Haimovich, Tal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r7/1p2pp1k/3pq3/p1n1bR2/2P1P1rp/1P2B3/P5PP/3RQB1K w - - bm Qe2; ce 422; sm Rh5+; acd 24; acs 15; fmvn 32; hmvc 2; pv Qe2 Rg6 Qh5+ Kg7 Rxe5; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6rk/Q6p/1p1p4/1PpBb1r1/P1P2p2/7q/4RPP1/3RK3 b - - bm Bc3+; ce 31996; sm Bc3+; acd 31; acs 15; fmvn 39; hmvc 1; pv Bc3+ Red2 Re5+ Be4 Rxe4+; c0 "Kazhgaleyev, Murtas - Nepomniachtchi, Ian, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2kr3r/1bb2p2/p3p2P/1pq1B2Q/3p4/P2B4/1PPN2PP/R4RK1 w - - bm Rae1; ce 856; sm Rae1; acd 23; acs 15; fmvn 21; hmvc 1; pv Rae1 Rd5 Rf5 f6 Bxf6; c0 "Williams, Simon K - Melaugh, Shane, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2k4r/1bb2Q1P/p3p3/1pq1r3/3p4/P2B2P1/1PPN3P/4RRK1 w - - bm Qg8+; ce 1171; sm Qg8+; acd 27; acs 15; fmvn 25; hmvc 0; pv Qg8+ Rxg8 hxg8=Q+ Bd8 Rxe5; c0 "Williams, Simon K - Melaugh, Shane, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2kb3Q/1b5P/p3p3/1pq5/3p4/P2Br1P1/1PPN3P/4RRK1 w - - bm Qxd8+; ce 7332; sm Qxd8+; acd 24; acs 15; fmvn 27; hmvc 1; pv Qxd8+ Kxd8 h8=Q+ Kd7 Rf7+; c0 "Williams, Simon K - Melaugh, Shane, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3k4/1b5P/p3p3/1pq5/3p4/P2Br1P1/1PPN3P/4RRK1 w - - bm h8=Q+; ce 31988; sm h8=Q+; acd 26; acs 15; fmvn 28; hmvc 0; pv h8=Q+ Kc7 Rf7+ Kb6 Rxe3; c0 "Williams, Simon K - Melaugh, Shane, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/1p2ppq1/4P3/2p1r3/2P4R/1P3QPB/7P/b6K w - - bm Rg4; ce 1005; sm exf7+; acd 28; acs 15; fmvn 44; hmvc 1; pv Rg4 fxe6 Rxg7+ Kxg7 Qxb7; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/pp3pp1/1q1b3p/8/8/2PNpPP1/1P2Q1KP/8 w - - bm f4; ce -30; sm b4; acd 27; acs 15; fmvn 32; hmvc 1; pv f4 Bc5 Nxc5 Qxc5 Kf3; c0 "Rapport, Richard - Shankland, Samuel, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/4r3/1k2n3/1p4b1/1p2Bp1R/P2N1P2/2P3P1/1K5R w - - bm Rg4; ce 237; sm axb4; acd 26; acs 15; fmvn 45; hmvc 0; pv Rg4 bxa3 Rh5 Rg7 Bf5; c0 "Mamedov, Rauf - Lomasov, Semyon, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.6"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5k2/1p2pPq1/8/2p1r3/2Pb3R/1P3QPB/6KP/8 w - - bm Bf5; ce 586; sm Rg4; acd 27; acs 15; fmvn 46; hmvc 3; pv Bf5 Qg5 Rh8+ Kxf7 Rh7+; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4r1k1/pp3p1p/5qp1/1Pr5/Q1pb4/4N1P1/P2P1P1P/2R2RK1 b - - bm a6; ce 144; sm c3; acd 25; acs 15; fmvn 26; hmvc 3; pv a6 bxa6 b5 Qb4 Qxa6; c0 "Alterman, Boris - Steinberg, Nitzan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5k2/1p2pP2/8/2p2Bq1/2Pb4/1P3QP1/6KP/8 b - - bm Qd2+; ce 0; sm Qd2+; acd 30; acs 15; fmvn 48; hmvc 1; pv Qd2+ Kf1 Qc1+ Ke2 Qb2+; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5k2/1p2pP2/8/2p2B2/2Pb4/1P3QPK/3q3P/8 b - - bm Qh6+; ce 0; sm Qh6+; acd 30; acs 15; fmvn 49; hmvc 3; pv Qh6+ Kg2 Qd2+ Kf1 Qc1+; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5bk1/1p3pp1/7p/P7/8/2q1NPP1/4Q1KP/8 w - - bm Nc4; ce -43; sm Nc4; acd 29; acs 15; fmvn 37; hmvc 0; pv Nc4 Qd4 Ne5 Qd5 Nc4; c0 "Rapport, Richard - Shankland, Samuel, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/k1n2r2/7R/1p6/1P1rBp2/3N1P2/1KP3P1/8 w - - bm c3; ce 330; sm c3; acd 27; acs 15; fmvn 51; hmvc 9; pv c3; c0 "Mamedov, Rauf - Lomasov, Semyon, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.6"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/1p2p1k1/1q6/2p2Q2/2PbB1KP/1P4P1/8/8 w - - bm Qh7+; ce 369; sm Qg5+; acd 25; acs 15; fmvn 54; hmvc 5; pv Qh7+; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4Q3/1p3pk1/6p1/P1b1N2p/7P/2q2PP1/6K1/8 b - - bm Qd2+; ce 597; sm Qc2+; acd 28; acs 15; fmvn 41; hmvc 5; pv Qd2+; c0 "Rapport, Richard - Shankland, Samuel, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/5pp1/2N4p/2n5/4P3/3P2PP/5PK1/8 w - - bm Nb4; ce 428; sm Nb4; acd 27; acs 15; fmvn 38; hmvc 1; pv Nb4 Kf8 f4 Ke7 Kf3; c0 "Anand, Viswanathan - Kovalev, Vladislav, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3k4/1p2p3/3qB3/2p2Q2/2Pb2KP/1P4P1/8/8 w - - bm Qf8+; ce 448; sm Kh3; acd 29; acs 15; fmvn 60; hmvc 17; pv Qf8+ Kc7 Qc8+ Kb6 Bd5; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/1pk1p3/7q/2pB1Q2/2Pb3P/1P4PK/8/8 w - - bm g4; ce 382; sm Qe4; acd 24; acs 15; fmvn 62; hmvc 21; pv g4; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r5/p7/1p3kp1/3K2p1/6P1/1P2R2P/P7/8 w - - bm Re6+; ce 275; sm Kd6; acd 28; acs 15; fmvn 39; hmvc 1; pv Re6+; c0 "Voiteanu, Gabriel - Baburin, Alexander, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.6"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/1Bk5/4p3/2p5/2PbQ1KP/1P4P1/8/5q2 w - - bm Qc6+; ce 532; sm Ba8; acd 29; acs 15; fmvn 65; hmvc 0; pv Qc6+ Kd8 Qd6+ Ke8 Qxe6+; c0 "Arutinian, David - Lahaye, Rick, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
R7/8/8/5ppk/4r2p/6PK/7P/8 w - - bm Rh8+; ce -9; sm Rh8+; acd 35; acs 15; fmvn 48; hmvc 0; pv Rh8+ Kg6 Rg8+ Kh6 Rf8; c0 "Alterman, Boris - Steinberg, Nitzan, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1r2k2r/2q2pbp/p2p2p1/1p2n1P1/8/1P2N3/P1P2Q1P/1KBRR3 w k - bm Nd5; ce 554; sm Ba3; acd 27; acs 15; fmvn 27; hmvc 2; pv Nd5 Qd8 Nf6+ Bxf6 gxf6; c0 "Caruana, Fabiano - Harikrishna, Pentala, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1r3rk1/2q2pbp/p2p2p1/1p2n1P1/8/BP2N3/P1P2Q1P/1K1RR3 w - - bm Nd5; ce 387; sm Nd5; acd 25; acs 15; fmvn 28; hmvc 4; pv Nd5 Qd8 Bxd6 Qxd6 Nf6+; c0 "Caruana, Fabiano - Harikrishna, Pentala, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1r3rk1/5pbp/p2B2p1/1p1Nn1q1/8/1P6/P1P2Q1P/1K1RR3 w - - bm h4; ce 703; sm h4; acd 29; acs 15; fmvn 30; hmvc 0; pv h4 Qg4 Bxb8 Rxb8 Nf6+; c0 "Caruana, Fabiano - Harikrishna, Pentala, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1r3rk1/5pbp/p2B2p1/1p1N2q1/6nP/1P6/P1P2Q2/1K1RR3 w - - bm Qg3; ce 865; sm Qg3; acd 26; acs 15; fmvn 31; hmvc 1; pv Qg3; c0 "Caruana, Fabiano - Harikrishna, Pentala, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/p2qrpb1/R1pN2pp/1pPbP3/1P1N1Q2/7P/1P3PP1/4R1K1 w - - bm Qg3; ce 448; sm Qg3; acd 22; acs 15; fmvn 28; hmvc 5; pv Qg3; c0 "Warmerdam, Max - Meissner, Felix, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1B3rk1/5pbp/p5pn/1p1N3q/7P/1P4Q1/P1P5/1K1RR3 w - - bm Ba7; ce 991; sm Be5; acd 24; acs 15; fmvn 33; hmvc 1; pv Ba7 Kh8 Bd4 Bxd4 Rxd4; c0 "Caruana, Fabiano - Harikrishna, Pentala, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r1rk1/1p1b2pp/p1np2q1/3n4/4R2P/1P1P2P1/PB1Q2BN/4R1K1 w - - bm h5; ce 238; sm g4; acd 25; acs 15; fmvn 25; hmvc 1; pv h5; c0 "Rechlis, Gad - Zanan, Evgeny, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r2/p2qr1bk/R1pN1ppp/1pPbP3/1P1N1P2/6QP/1P4P1/4R1K1 w - - bm e6; ce 749; sm e6; acd 24; acs 15; fmvn 30; hmvc 0; pv e6 Qc7 f5 g5 Rd1; c0 "Warmerdam, Max - Meissner, Felix, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/5pb1/2B3p1/3Nr3/3pn3/P7/P4PP1/1KR5 b - - bm d3; ce 812; sm d3; acd 27; acs 15; fmvn 35; hmvc 2; pv d3; c0 "Sakaev, Konstantin - Artemiev, Vladislav, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.6"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4R1pk/1p3r1p/2n3p1/r7/P3R2P/2N2P2/6K1 b - - bm Raf4; ce 287; sm Raf4; acd 26; acs 15; fmvn 38; hmvc 2; pv Raf4 Re2 Nd3 Nb4 Nxb4; c0 "Lalith, Babu M R - Inarkiev, Ernesto, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4R1pk/1p3r1p/2n3p1/5r2/P6P/2N1RP2/6K1 b - - bm Nd3; ce 306; sm Nd3; acd 27; acs 15; fmvn 39; hmvc 4; pv Nd3 Nb4 Nxb4 axb4 Rxb4; c0 "Lalith, Babu M R - Inarkiev, Ernesto, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/6pk/1p2r2p/6p1/8/P2n3P/2NR4/6K1 b - - bm Nf4; ce 507; sm Nf4; acd 23; acs 15; fmvn 42; hmvc 1; pv Nf4; c0 "Lalith, Babu M R - Inarkiev, Ernesto, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r1rk1/1p4pp/p1np4/6P1/2R5/1P1P1b1B/PB6/4R1K1 b - - bm Bd5; ce 200; sm Bd5; acd 23; acs 15; fmvn 30; hmvc 2; pv Bd5; c0 "Rechlis, Gad - Zanan, Evgeny, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2q1bk1/pp3rpn/1np4p/4P3/3P4/1QN1B1PB/PP5P/R5K1 w - - bm Be6; ce 137; sm Rf1; acd 26; acs 15; fmvn 19; hmvc 0; pv Be6 Ng5 Bxg5 Qxd4+ Kh1; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
rn3rk1/5ppp/1P2pn2/P2p4/bq6/1N2P3/3N1PPP/R2QKB1R w KQ - bm Qb1; ce 122; sm Qb1; acd 24; acs 15; fmvn 17; hmvc 5; pv Qb1 Ne4 Bd3 Bxb3 Bxe4; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r1rk1/1p4pp/p1np4/3b2P1/7R/1P1P3B/PB6/4R1K1 b - - bm Rf3; ce 237; sm Rde8; acd 25; acs 15; fmvn 31; hmvc 4; pv Rf3 Rh5 Bf7 Rh4 Rg3+; c0 "Rechlis, Gad - Zanan, Evgeny, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2q1bk1/pp3rpn/1np4p/4P3/3P4/1QN1B1PB/PP5P/5RK1 b - - bm Nd5; ce 166; sm Nd5; acd 24; acs 15; fmvn 19; hmvc 1; pv Nd5 Rxf7 Kxf7 Qxb7+ Kg8; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
rn3rk1/5ppp/1P2pn2/P2p4/bq6/1N2P3/3N1PPP/RQ2KB1R b KQ - bm Ne4; ce -43; sm Ne4; acd 27; acs 15; fmvn 17; hmvc 6; pv Ne4 Bd3 Bxb3 Bxe4 Rxa5; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6r1/R5bk/2p5/1pP1pN1p/1P6/7P/1P4PK/8 w - - bm g4; ce 822; sm Re7; acd 26; acs 15; fmvn 39; hmvc 0; pv g4 h4 Nxh4 Kh8 Ng6+; c0 "Warmerdam, Max - Meissner, Felix, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/3r4/2p3k1/1pP1R2p/1P6/7P/1P4PK/8 w - - bm Re6+; ce 383; sm Re6+; acd 28; acs 15; fmvn 42; hmvc 1; pv Re6+ Kg7 Rxc6 Rd4 Rc7+; c0 "Warmerdam, Max - Meissner, Felix, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1n3r1k/5pp1/1P2p3/q7/8/2p1P3/3NKPPP/1Q5R w - - bm Ne4; ce 104; sm Nc4; acd 26; acs 15; fmvn 25; hmvc 0; pv Ne4 Nd7 Rd1 Nxb6 Nxc3; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/2R5/1pP2k1p/1P6/7P/1P1r2PK/8 w - - bm Rb6; ce 721; sm Rb6; acd 29; acs 15; fmvn 44; hmvc 1; pv Rb6; c0 "Warmerdam, Max - Meissner, Felix, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1n3r1k/5pp1/1P2p3/3q4/2N5/2p1P3/4KPPP/1Q5R w - - bm Qb4; ce 110; sm Qb4; acd 24; acs 15; fmvn 26; hmvc 2; pv Qb4 Rc8 Nd6 Qd2+ Kf3; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r1k/p5pn/7p/4P3/1b1PB1qP/3Q2P1/PP3B2/6K1 b - - bm g5; ce 263; sm g6; acd 25; acs 15; fmvn 31; hmvc 10; pv g5 h5; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2rqk1nr/1p3pb1/pNppb2p/Q3p1pP/2B1P3/P2PP3/1PP2RPN/R5K1 b k - bm Nf6; ce 60; sm Rc7; acd 26; acs 15; fmvn 17; hmvc 1; pv Nf6 Bxe6 fxe6 Qb4 Rc7; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1n3rk1/5pp1/1P2p3/8/2N5/2Q1P3/4KPqP/1R6 b - - bm Qg4+; ce 0; sm Qg4+; acd 26; acs 15; fmvn 28; hmvc 1; pv Qg4+ Kf1 Rc8 Rc1 Qf3; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r1k/p6n/6Bp/4P3/1b1P2qP/3Q2P1/PP3B2/6K1 b - - bm Rf3; ce 84; sm Rf3; acd 26; acs 15; fmvn 32; hmvc 0; pv Rf3 Qe4 Rxg3+ Bxg3 Qxg3+; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3q1bk1/2r5/p1ppp2p/Qp2p1pP/2NPP3/P3P3/1PP3P1/5RK1 w - - bm Nd2; ce 31; sm Nd2; acd 25; acs 15; fmvn 25; hmvc 0; pv Nd2 exd4 exd4 Bg7 c3; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4r2k/p7/5n1p/3PP3/1b1BB2P/6P1/PP6/6K1 w - - bm Bf3; ce 126; sm Bf3; acd 25; acs 15; fmvn 37; hmvc 3; pv Bf3 Nxd5; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r3k1/3n1pp1/1Pq1p3/8/2N5/3QP3/2RK1P2/8 b - - bm Nc5; ce 329; sm Nc5; acd 26; acs 15; fmvn 36; hmvc 9; pv Nc5 Ne5 Qxb6 Qc4 Nb3+; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r3k1/5pp1/1Pq1p3/2n5/2N5/Q3P3/2RK1P2/8 b - - bm Rd8+; ce 847; sm Qd5+; acd 25; acs 15; fmvn 37; hmvc 11; pv Rd8+ Kc1 Nd3+ Kb1 Qh1+; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4rr2/pp4bk/2n2qpp/3b4/1P1p4/Q4N1P/PB2BPP1/3RR1K1 b - - bm Re4; ce 338; sm Qf4; acd 26; acs 15; fmvn 22; hmvc 2; pv Re4 Bb5 Ne5 Rxe4 Bxe4; c0 "So, Wesley - Navara, David, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/p6k/4P2p/3B4/1b1B3P/6P1/PP6/6K1 w - - bm Be4+; ce 152; sm Be4+; acd 26; acs 15; fmvn 40; hmvc 1; pv Be4+ Kg8 Be3 Kg7 Kf2; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r3k1/5pp1/1P2p3/2nq4/2N5/Q3P3/2R1KP2/8 b - - bm Rd8; ce 238; sm Qh5+; acd 25; acs 15; fmvn 38; hmvc 13; pv Rd8 Nb2 Ne4 Nd3 Kh7; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r2/pp3qbk/2n3pp/3b4/1P1pr3/Q4N1P/PB2BPP1/3RR1K1 w - - bm b5; ce -3; sm Bf1; acd 25; acs 15; fmvn 25; hmvc 7; pv b5 Nd8 Qd6 Qe6 Qxe6; c0 "So, Wesley - Navara, David, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r3k1/5pp1/1P2p3/2n5/4q3/Q3N3/2R2P2/4K3 b - - bm Nd3+; ce 189; sm Nd3+; acd 31; acs 15; fmvn 43; hmvc 1; pv Nd3+ Qxd3 Qxd3 Rxc8+ Kh7; c0 "Nabaty, Tamir - Santos Ruiz, Miguel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.8"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4b1k1/4P2p/3B4/7P/4BKP1/Pr6/8 w - - bm Bd4+; ce 3249; sm Bd4+; acd 26; acs 15; fmvn 46; hmvc 4; pv Bd4+ Kf8 Bxb2 Bb4 g4; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/6k1/4P2p/3B4/7P/5KP1/Pb6/8 w - - bm e7; ce 31994; sm e7; acd 29; acs 15; fmvn 48; hmvc 0; pv e7 Kf6 e8=Q h5 Qe6+; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r2/pp2Rqbk/2P3pp/8/3p1r2/Q6P/PB3PP1/3b1BK1 b - - bm Qf6; ce 1369; sm Qf6; acd 23; acs 15; fmvn 28; hmvc 1; pv Qf6; c0 "So, Wesley - Navara, David, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/pp4b1/r2Pp2p/2p1Pp2/P1k2Pp1/2PN4/6PP/R4RK1 w - - bm Rfd1; ce 388; sm Rfd1; acd 25; acs 15; fmvn 41; hmvc 10; pv Rfd1 Rb6 Ra3 h5 g3; c0 "Pijpers, Arthur - Kuipers, Stefan, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/3k2b1/3pp2p/pr4pP/3PP1P1/3K4/1PN5/R7 w - - bm b4; ce 327; sm Kc3; acd 26; acs 15; fmvn 41; hmvc 0; pv b4; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/p5b1/rp1Pp2p/2p1Pp2/P1k2Pp1/2PN4/6PP/R2R2K1 w - - bm Ra3; ce 907; sm Kf2; acd 25; acs 15; fmvn 42; hmvc 0; pv Ra3 Kd5 Nb4+ Ke4 Re1+; c0 "Pijpers, Arthur - Kuipers, Stefan, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4rrk1/ppp2p1p/6pB/4bb2/2B5/2P5/PP3PPP/R3R1K1 b - - bm Bg7; ce -14; sm Bg7; acd 25; acs 15; fmvn 23; hmvc 1; pv Bg7 Bg5 Be5 Re2 Bd6; c0 "Drori, Saar - Kobo, Ori, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/p5b1/rp1Pp2p/2p1Pp2/P4Pp1/1k1NK3/6PP/2RR4 w - - bm Rb1+; ce 31994; sm Rd2; acd 26; acs 15; fmvn 45; hmvc 4; pv Rb1+ Kc4 Rdc1+ Kd5 Nb4+; c0 "Pijpers, Arthur - Kuipers, Stefan, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k1b1/4p2p/1r1pP1pP/p2P2P1/2K5/1PN5/5R2 w - - bm Nb4; ce 232; sm Nb4; acd 28; acs 15; fmvn 44; hmvc 0; pv Nb4; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r1r2/1pp1q1kp/p1n1bpp1/3n4/3P4/1BP2NN1/PP3QPP/3R1R1K b - - bm f5; ce -25; sm Na5; acd 23; acs 15; fmvn 21; hmvc 0; pv f5 Rde1 f4 Ne2 Qf6; c0 "Dominguez Perez, Leinier - Topalov, Veselin, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4rr1k/p6p/2pq2b1/2N1pp2/2Q2P2/1P2P3/P2P2PP/R4RK1 w - - bm Qc3; ce 543; sm Qc3; acd 24; acs 15; fmvn 20; hmvc 3; pv Qc3; c0 "Leenhouts, Koen - Williams, Simon K, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/p6p/2pq2b1/2N1rp2/8/1PQ1P3/P2P2PP/R4RK1 w - - bm Nd7; ce 610; sm Nd7; acd 25; acs 15; fmvn 22; hmvc 0; pv Nd7 Rxe3 dxe3 Qxd7 Rac1; c0 "Leenhouts, Koen - Williams, Simon K, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/5rpp/bp2pq2/p2p2n1/3P1P2/1P4P1/P1Q3BP/2RRB1K1 b - - bm Ne4; ce 0; sm Ne4; acd 29; acs 15; fmvn 22; hmvc 0; pv Ne4 Bxe4 dxe4 Qxe4 Bb7; c0 "Bronstein, Or - Botvinnik, Mikhail, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/3k4/4p2p/4P1pP/3PK1P1/b2N4/8/8 w - - bm d5; ce 1584; sm d5; acd 29; acs 15; fmvn 55; hmvc 4; pv d5 Ke7 Kd4 Kd8 dxe6; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/5rpp/2Q1pq2/p2p4/1p1PnP2/1P2B1P1/P3b1BP/2RR2K1 w - - bm Re1; ce 91; sm Re1; acd 25; acs 15; fmvn 26; hmvc 2; pv Re1 Bg4 Bxe4 dxe4 Qxe4; c0 "Bronstein, Or - Botvinnik, Mikhail, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/4k3/7p/3KP1pP/1b4P1/8/8/4N3 w - - bm Nc2; ce 31963; sm Nc2; acd 31; acs 15; fmvn 58; hmvc 3; pv Nc2 Bc3 Ne3 Ke8 Nf5; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/p6p/2p3b1/3q1p2/7r/1PQPP1R1/P5PP/5RK1 w - - bm Qf6; ce 1536; sm e4; acd 25; acs 15; fmvn 29; hmvc 1; pv Qf6 Qf7 Qxh4 Qf8 Qc4+; c0 "Leenhouts, Koen - Williams, Simon K, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2q5/1b2rpbk/pn4p1/7p/1P1PP3/1B1QB1N1/7P/R5K1 w - - bm Rf1; ce -40; sm Rf1; acd 24; acs 15; fmvn 34; hmvc 0; pv Rf1 h4; c0 "Tsydypov, Zhamsaran - Korobov, Anton, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.9"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/p6p/2p3b1/3q4/4p2r/1PQP2R1/P5PP/5RK1 w - - bm Qf6; ce 31986; sm Qf6; acd 30; acs 15; fmvn 30; hmvc 0; pv Qf6 Qc5+ d4 Rf4 Rxf4; c0 "Leenhouts, Koen - Williams, Simon K, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qr1k1/1ppbbp1p/p1n1p1p1/P6P/3PQ3/2P2N2/1PB2PP1/R1B1K2R b KQ - bm e5; ce 0; sm e5; acd 24; acs 15; fmvn 16; hmvc 0; pv e5 Nxe5 Bf6 f4 Bxe5; c0 "Kuipers, Stefan - Pijpers, Arthur, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/1b1r1pbk/p5p1/3Pn3/BP2P2B/2q3N1/4Q2P/5RK1 b - - bm Rc7; ce 150; sm Rxd5; acd 25; acs 15; fmvn 39; hmvc 2; pv Rc7 Bd1 Bxd5 exd5 Qd4+; c0 "Tsydypov, Zhamsaran - Korobov, Anton, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.9"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qr1k1/1ppbbp2/p1n3p1/P2Pp3/4Q3/2P2N2/1PB2PP1/R1B1K2R b KQ - bm Bf5; ce 50; sm Bf5; acd 26; acs 15; fmvn 18; hmvc 0; pv Bf5 Qe2; c0 "Kuipers, Stefan - Pijpers, Arthur, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qr1k1/1pp1bp2/p1n3p1/P2Ppb2/4Q3/2P2N2/1PB2PP1/R1B1K2R w KQ - bm Qe2; ce -25; sm Qe3; acd 26; acs 15; fmvn 19; hmvc 1; pv Qe2 e4 dxc6 exf3 gxf3; c0 "Kuipers, Stefan - Pijpers, Arthur, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r1r2bk1/2q3pp/n2p1p2/p1nPpP2/1p3P2/1P2B2P/P1BQ2PN/R3R1K1 b - - bm Na4; ce 109; sm Na4; acd 22; acs 15; fmvn 25; hmvc 1; pv Na4 Bd3 Nc3 Bc4 Kh8; c0 "Li, Henry - Short, Nigel D, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qr1k1/1pp1bp2/p1n3pQ/P2Pp3/8/2P2N2/1Pb2PP1/R1B1K2R b KQ - bm Bf6; ce 337; sm Bf6; acd 23; acs 15; fmvn 20; hmvc 1; pv Bf6 Bg5; c0 "Kuipers, Stefan - Pijpers, Arthur, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/5rp1/4p3/R2P3p/1pQ2P2/1P1b1qP1/P4B1P/4R1K1 w - - bm Qd4; ce 313; sm Qd4; acd 28; acs 15; fmvn 37; hmvc 7; pv Qd4 exd5 Re3 Qd1+ Be1; c0 "Bronstein, Or - Botvinnik, Mikhail, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qr1k1/1pp2p2/p1n2bpQ/P2Pp1B1/8/2P2N2/1Pb2PP1/R3K2R b KQ - bm e4; ce 401; sm e4; acd 26; acs 15; fmvn 21; hmvc 3; pv e4 Nd4 Nxd4 cxd4 Qd6; c0 "Kuipers, Stefan - Pijpers, Arthur, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/6p1/4p3/R2P3p/1p1Q1r2/1P1b1q2/P4B1P/4R1K1 w - - bm Qe3; ce 850; sm Qe3; acd 25; acs 15; fmvn 39; hmvc 0; pv Qe3; c0 "Bronstein, Or - Botvinnik, Mikhail, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5pbk/p5p1/2Bb4/BP1q4/6Nn/4Q1RP/7K b - - bm Qa1+; ce 165; sm Qa1+; acd 26; acs 15; fmvn 45; hmvc 7; pv Qa1+ Qd1 Nf4 Qxa1 Bxa1; c0 "Tsydypov, Zhamsaran - Korobov, Anton, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.9"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: program to generare epd file of tactical exercises from pgn

Post by Ferdy »

Got a new condition to generate interesting position.
1. The bestscore1 (score from multipv 1) of stm (side to move) is winning [150cp and up]
2. The bestscore2 (score from multipv 2) of stm is not winning or slightly better if bestscore1 is already 1000 cp or more.

Conditions are modified.

Code: Select all

pgn file: stlsprclasb19.pgn

Conditions:
mininum time               : 5.0s
maximum time               : 15.0s
mininum score diff check   : 25
mininum best 1 score 1     : 1000
mininum best 1 score 2     : 500
mininum best 1 score 3     : 150
maximum best 2 score 1     : 200
maximum best 2 score 2     : 150
maximum best 2 score 3     : 0
easy move time             : 20.0ms
stm is not in check        : Yes
stm position is not bad    : Yes
start analysis move number : 16
end analysis move number   : 80
Score diff between bestscore1 and bestscore2 is now dynamic.

Code: Select all

if bestscore1 >= 1000 and bestscore2 <= 200:
    Save the position
That 1000 is mininum best 1 score 1
That 200 is maximum best 2 score 1

Likewise.

Code: Select all

if bestscore1 >= 500 and bestscore2 <= 150:
    Save the position
500 is mininum best 1 score 2
150 is maximum best 2 score 2

Code: Select all

if bestscore1 >= 150 and bestscore2 <= 0:
    Save the position
150 is mininum best 1 score 3
0 is maximum best 2 score 3

So there are 3 levels to save the positions.
1. stm has winning advantage [1000 cp and up]
2. stm has decisive advantage [500 cp to 1000 cp]
3. stm has moderate advantage [150 cp to 500 cp]

Items 1 and 2 can generate tactical positions.

To generate positional test sets one can use
mininum best 1 score 2 : 100
mininum best 1 score 3 : 50

Code: Select all

if bestscore1 >= 50 and bestscore1 < 100 and bestscore2 <= 0 and material_of_stm <= material_of_nstm
    save position to positional test set
Sample generated positions:

(1)
[d]4r3/3P1pk1/7p/p2P3n/1pBp1p1P/8/PP3PPB/6K1 b - - 0 1

(2)
[d]8/5k2/4n3/5p1K/N5p1/3P2P1/1p4RP/1r6 b - - 0 1

(3)
[d]4r3/pbp1r3/3p2pk/8/P3PP2/1P2R1N1/5K2/2R5 w - - 0 1

Generated positions with that new criteria.

Code: Select all

3r4/5pk1/1p2n1pp/p2p1q2/3R1P2/P3P1P1/1P5P/3Q1BK1 w - - bm e4; ce 158; sm e4; acd 27; acs 15; fmvn 35; hmvc 1; pv e4; c0 "Fedoseev, Vladimir3 - Petrosyan, Manuel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4r3/3P1pk1/7p/p2P3n/1pBp1p1P/8/PP3PPB/6K1 b - - bm Re1+; ce 1229; sm Re1+; acd 27; acs 15; fmvn 35; hmvc 0; pv Re1+; c0 "Zoler, Dan - Abergel, Thal, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5k2/4pP1p/2p1K2P/2P5/8/8/8 w - - bm Kd6; ce 31971; sm Kd6; acd 39; acs 15; fmvn 73; hmvc 3; pv Kd6 Kxf6 Kxc5 Ke7 Kc6; c0 "Carlsen, Magnus - Popov, Ivan RUS, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/5k2/4n3/5p1K/N5p1/3P2P1/1p4RP/1r6 b - - bm Ra1; ce 1803; sm Ra1; acd 28; acs 15; fmvn 47; hmvc 5; pv Ra1 Rxb2 Rxa4 Kh6 Ra8; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/8/8/8/B2k1p2/2p2P2/5K2/8 b - - bm Kd3; ce 31977; sm Kd3; acd 41; acs 15; fmvn 44; hmvc 0; pv Kd3 Bc6 c2 Be4+ Kd2; c0 "Walton, Alan J - McShane, Luke J, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/1rpbqppp/5n2/p2p2B1/1p1P2PP/1P1B1PN1/P1PQ4/2K4R w - - bm Nh5; ce 609; sm Nh5; acd 24; acs 15; fmvn 20; hmvc 0; pv Nh5 Re8 Bxf6 gxf6 Be4; c0 "Short, Nigel D - Moran, Stephen, 26th Bunratty Masters, Bunratty IRL, 2019.02.22, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/p1p2p2/2q1p1pp/r2nQ3/3P4/1P5P/r1PR1PP1/3R1NK1 w - - bm c4; ce 159; sm c4; acd 26; acs 15; fmvn 36; hmvc 11; pv c4 Nb4 Qe3 h5 Ng3; c0 "Frolyanov, Dmitry - Nakamura, Hikaru, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r4k/p5p1/7p/P2Q4/2R5/2p2PK1/1q4PP/8 b - - bm Qb8+; ce 820; sm Qb8+; acd 26; acs 15; fmvn 39; hmvc 1; pv Qb8+; c0 "Navara, David - So, Wesley, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2kr4/3q1p2/1Q1ppp2/5Pb1/P2NP3/2p1n3/1PP2RPr/1K2R3 w - - bm Nb5; ce 810; sm Nb5; acd 23; acs 15; fmvn 26; hmvc 2; pv Nb5 Rxg2; c0 "Safarli, Eltaj - Hakobyan, Aram, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.10"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r2rk1/4bppp/Q7/1pPq4/1P6/3pB2P/P2N1P1P/R1R3K1 b - - bm Rc6; ce 435; sm Rc6; acd 23; acs 15; fmvn 22; hmvc 0; pv Rc6 Qxc6 Qxc6 Re1 Bf6; c0 "Sychev, Klementy - Sasikiran, Krishnan, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.11"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5rk1/5rp1/4p3/R2P3p/1pQ2P2/1P1b1qP1/P4B1P/4R1K1 w - - bm Qd4; ce 301; sm Qd4; acd 27; acs 15; fmvn 37; hmvc 7; pv Qd4; c0 "Bronstein, Or - Botvinnik, Mikhail, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
5r2/6kp/p1Np2p1/3n4/1P6/4Q2P/5RPK/q7 w - - bm Qa7+; ce 262; sm Qa7+; acd 27; acs 15; fmvn 58; hmvc 0; pv Qa7+ Kg8; c0 "Ganguly, Surya Shekhar - Praggnanandhaa, R, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.18"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2q1bk1/pp3rpn/1np4p/4P3/3P4/1QN1B1PB/PP5P/5RK1 b - - bm Nd5; ce 184; sm Nd5; acd 25; acs 15; fmvn 19; hmvc 1; pv Nd5; c0 "Grischuk, Alexander - Al-Sayed, Mohammed, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.7"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r3rk/1p3p1p/3qbpnQ/p2pp2N/P7/2PP4/BP3PPP/R3R1K1 b - - bm Bg4; ce 200; sm Bg4; acd 25; acs 15; fmvn 21; hmvc 3; pv Bg4 d4 Bxh5 dxe5 Qb6; c0 "Pourramezanali, Amirreza - Alekseenko, Kirill, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.19"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r2qr1k1/1pp1bp2/p1n3pQ/P2Pp3/8/2P2N2/1Pb2PP1/R1B1K2R b KQ - bm Bf6; ce 275; sm Bf6; acd 26; acs 15; fmvn 20; hmvc 1; pv Bf6 Bg5 e4 Ng1 Ne5; c0 "Kuipers, Stefan - Pijpers, Arthur, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.01, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4brk1/6p1/3R1p2/3p3p/pp1q1nPP/3N1Q2/PP6/1B3KR1 b - - bm Bb5; ce 595; sm Bb5; acd 24; acs 15; fmvn 35; hmvc 0; pv Bb5 Rg2 Rc8 Re2 Bxd3; c0 "Finkel, Alexander - Flom, Gabriel, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2r5/3k2b1/3pp2p/pp4pP/3PP1P1/P2K4/1PN5/R7 w - - bm a4; ce 154; sm a4; acd 28; acs 15; fmvn 39; hmvc 1; pv a4 Kc6 b4 bxa4 bxa5; c0 "McShane, Luke J - Connell, Blair N, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/3b4/2p2p2/5p1B/p2P1P1k/P1K5/1P6/8 w - - bm Bd1; ce 663; sm Bd1; acd 33; acs 15; fmvn 44; hmvc 0; pv Bd1; c0 "Pijpers, Arthur - Meissner, Felix, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.02, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
7k/r7/2Np1q1b/1PpPp2p/4Pp2/3B1P1n/2Q4P/5R1K b - - bm Rg7; ce 609; sm Rb7; acd 28; acs 15; fmvn 37; hmvc 1; pv Rg7 Qg2 Rxg2 Kxg2 c4; c0 "Shankland, Samuel - Rapport, Richard, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R2.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r5k1/2p2p2/pp2pBn1/3rP3/3P2P1/P1PQ3R/5q2/RK6 w - - bm a4; ce 342; sm a4; acd 24; acs 15; fmvn 28; hmvc 0; pv a4 Kf8 Ra2 Qg1+ Kb2; c0 "Andreikin, Dmitry - Huzman, Alexander, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.9"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/2P2R2/6k1/p1r3p1/P6p/7P/3K2P1/8 w - - bm Rd7; ce 192; sm Rd7; acd 36; acs 15; fmvn 55; hmvc 4; pv Rd7 Kf6 Kd3 Ke5 Re7+; c0 "Warmerdam, Max - Arutinian, David, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.02, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
3r4/3P4/p3k3/3R4/2P1p2P/pP6/P2K1p2/8 w - - bm Ke2; ce 847; sm Ke2; acd 21; acs 15; fmvn 48; hmvc 0; pv Ke2 Rf8 d8=N+ Kf6 Kxf2; c0 "O'Gorman, Tom - Williams, Simon K, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R2.5"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6R1/8/4p3/2k2pp1/r7/5PK1/8/8 b - - bm g4; ce 528; sm g4; acd 29; acs 15; fmvn 75; hmvc 1; pv g4 Rc8+ Kd6 fxg4 Rxg4+; c0 "Vishnu Prasanna, V - Sarana, Alexey, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.21"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4r3/pbp1r3/3p2pk/8/P3PP2/1P2R1N1/5K2/2R5 w - - bm Nf5+; ce 508; sm f5; acd 27; acs 15; fmvn 36; hmvc 2; pv Nf5+; c0 "Potapov, Pavel - Wang, Hao, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.10"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
2k5/2p4p/1p2p1p1/p3Pp2/2Pn1P1P/P1KBR1P1/1P3r2/8 b - - bm c5; ce 408; sm c5; acd 28; acs 15; fmvn 28; hmvc 4; pv c5 Bb1 Rg2 Bd3 Kc7; c0 "Lopez, Jasel - Williams, Simon K, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.02, R2.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4kr2/3r1p2/3b1q1p/1Q1R1p2/5P2/P3P3/1P5P/1K4R1 b - - bm Ke7; ce 171; sm Ke7; acd 27; acs 15; fmvn 30; hmvc 0; pv Ke7 Rgd1; c0 "Wells, Peter K - McShane, Luke J, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R3.1"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
4b3/2k3p1/R4p1p/NP2p3/r3P3/6P1/5P1P/6K1 w - - bm b6+; ce 338; sm b6+; acd 31; acs 15; fmvn 37; hmvc 0; pv b6+ Kb8 b7 Rxa5 Rxa5; c0 "Navara, David - So, Wesley, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R3.3"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1r1q1rk1/1B2npp1/2pb1n1p/PQ1p4/3P4/2N4P/1P3PP1/R1B1R1K1 w - - bm Qb3; ce 193; sm Qb3; acd 25; acs 15; fmvn 20; hmvc 0; pv Qb3 Nf5 a6 Qc7 Be3; c0 "Mamedyarov, Shakhriyar - Maslak, Konstantin, World Blitz 2018, St Petersburg RUS, 2018.12.29, R1.13"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
1R6/ppnr2p1/4k2p/PPP1b3/2K5/2P1B2P/5P2/8 b - - bm a6; ce 166; sm a6; acd 26; acs 15; fmvn 41; hmvc 2; pv a6 b6 Nd5 Re8+ Re7; c0 "Firouzja, Alireza - Sindarov, Javokhir, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.26"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/r1pr2kp/1p1p1qp1/3P4/1P3P2/4R3/3Q2PP/4R1K1 w - - bm Re6; ce 800; sm Re6; acd 26; acs 15; fmvn 30; hmvc 0; pv Re6 Qf8 Qd4+ Kg8 Re8; c0 "Howell, David W L - Vicas, Marijus, 26th Bunratty Masters, Bunratty IRL, 2019.02.23, R3.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r3qr2/p1p1bpk1/6p1/3RP1P1/1P2Q3/8/1P3PP1/1K5R w - - bm e6; ce 181; sm e6; acd 27; acs 15; fmvn 23; hmvc 1; pv e6 Qc6 b5 Qxe6 Re5; c0 "Martirosyan, Haik M. - Gagare, Shardul, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.28"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
r5k1/p4pp1/4pq1p/3r3P/1Q3P2/P2bPB2/3R1P2/4K1R1 b - - bm Rb5; ce 152; sm Rb5; acd 30; acs 15; fmvn 27; hmvc 1; pv Rb5 Qd4 Qxd4 exd4 Rb1+; c0 "Karthik, Venkataraman - Zhou, Jianchao, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.29"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
6k1/6p1/3pPn2/3P1r1p/P7/1R2p2P/4B2K/8 b - - bm Rf2+; ce 243; sm Rf2+; acd 29; acs 15; fmvn 42; hmvc 0; pv Rf2+ Kg1 Rxe2 Rb8+ Kh7; c0 "Golod, Vitali - Mindlin, Alon, TCh-ISR 2019, Israel ISR, 2019.01.04, R1.4"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
8/p4p2/2R2P1k/2P5/2PBB3/7q/P2pp2P/6RK w - - bm Rc8; ce 31993; sm Rc8; acd 32; acs 15; fmvn 39; hmvc 0; pv Rc8 Qxc8 Be3+ Kh5 Bf3+; c0 "Williams, Simon K - Lopez, Jasel, 11th dMP Batavia Blitz, Amsterdam NED, 2019.03.02, R2.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
It is also possible to generate test positions with 2 solutions:
1. Search best moves using multipv 3
2. If bestscore1 and bestscore2 are winning and have small score difference and if bestscore3 has low score

Code: Select all

if bestscore1 >= 800 and bestscore2 >= 800 and bestcore1-bestscore2 <= 100 and bestscore3 <= 150
   save the positions with bestmove1 and bestmove2
bestscore3 is the score of multipv 3.

To save resources it is also better to save mate positions for mate test exercises, perhaps in a separate file.

Extracting positions from GM games is difficult as these players will not blunder easily or when its position is losing score >= 300 they will resign. So one strategy is to skip games with draw results when players elo is 2400 and up.

Where can you download games from weaker players games?

Finding test positions from computer games is easier if the games have move score comments. You just go to the move with high score already and start the multipv analysis there.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: program to generare epd file of tactical exercises from pgn

Post by Ferdy »

Optimize finding of tactical/interesting positions.

1. Read the pgn backwards or last position first till the start position. Can quickly evaluate position where side to move has the advantage. After saving a max of say 4 interesting positions, you can exit the game and check the next game.

Code: Select all

pgn file: champshowb19.pgn

Conditions:
mininum time               : 5.0s
maximum time               : 15.0s
mininum score diff check   : 50
mininum best 1 score 1     : 1000
mininum best 1 score 2     : 500
mininum best 1 score 3     : 200
maximum best 2 score 1     : 200
maximum best 2 score 2     : 100
maximum best 2 score 3     : 50
easy move time             : 20.0ms
stm is not in check        : Yes
stm position is not bad    : Yes
start analysis move number : 16
end analysis move number   : 80

game 1 / position 1
8/pp2k2N/6R1/KP1p1n2/2rPpP2/P3n3/8/8 b - - 7 36
. . . . . . . .
p p . . k . . N
. . . . . . R .
K P . p . n . .
. . r P p P . .
P . . . n . . .
. . . . . . . .
. . . . . . . .
game move: f5d4
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove f5d4 after 21.0ms of searching
Search is done!!
game move       : f5d4
easy move       : f5d4
best move 1     : f5d4, best score 1: 31993
best move 2     : e7f7, best score 2: 1960
scorediff       : 30033
Skip this position, bm1 is a capture also bm1 and easymove are the same

8/pp2k2N/6R1/1P1p1n2/1KrPpP2/P3n3/8/8 w - - 6 36
Skip this position, stm is in check


game 1 / position 2
8/pp2k2N/6R1/1P1p1n2/1K1PpP2/P3n3/2r5/8 b - - 5 35
. . . . . . . .
p p . . k . . N
. . . . . . R .
. P . p . n . .
. K . P p P . .
P . . . n . . .
. . r . . . . .
. . . . . . . .
game move: c2c4
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove c2c4 after 36.0ms of searching
Search is done!!
game move       : c2c4
easy move       : c2c4
best move 1     : c2c4, best score 1: 31987
best move 2     : e7f7, best score 2: 1763
scorediff       : 30224
Not an interesting pos: 8/pp2k2N/6R1/1P1p1n2/1K1PpP2/P3n3/2r5/8 b - - 5 35

8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/2r5/8 w - - 4 35
Skip this position, stm is in check


game 1 / position 3
8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/4r3/8 b - - 3 34
. . . . . . . .
p p . . k . . N
. . . . . . R .
. P . p . n . .
. . . P p P . .
P . K . n . . .
. . . . r . . .
. . . . . . . .
game move: e2c2
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove e2c2 after 21.0ms of searching
Search is done!!
game move       : e2c2
easy move       : e2c2
best move 1     : e2c2, best score 1: 31986
best move 2     : e2h2, best score 2: 1258
scorediff       : 30728
Not an interesting pos: 8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/4r3/8 b - - 3 34

game 1 / position 4
8/pp2k2N/8/1P1p1n2/3PpP2/P1K1n3/4r3/6R1 w - - 2 34
. . . . . . . .
p p . . k . . N
. . . . . . . .
. P . p . n . .
. . . P p P . .
P . K . n . . .
. . . . r . . .
. . . . . . R .
game move: g1g6
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove g1c1 after 37.0ms of searching
Exit search early, current best score is only -910 and it is still below half of
 minbest1score3 or 200/2=100
Search is done!!
game move       : g1g6
easy move       : g1c1
best move 1     : g1c1, best score 1: -910
best move 2     : a3a4, best score 2: -1191
scorediff       : 281
Skip this position, score -910 is below minbest1score3 of 200

8/pp5N/5k2/1P1p1n2/3PpP2/P1K1n3/4r3/6R1 b - - 1 33
Skip this position, stm is in check


game 1 / position 5
8/pp6/5k2/1P1p1nN1/3PpP2/P1K1n3/4r3/6R1 w - - 0 33
. . . . . . . .
p p . . . . . .
. . . . . k . .
. P . p . n N .
. . . P p P . .
P . K . n . . .
. . . . r . . .
. . . . . . R .
game move: g5h7
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove g1c1 after 46.0ms of searching
Exit search early, current best score is only -891 and it is still below half of
 minbest1score3 or 200/2=100
Search is done!!
game move       : g5h7
easy move       : g1c1
best move 1     : g1c1, best score 1: -891
best move 2     : g5h7, best score 2: -911
scorediff       : 20
Skip this position, score -891 is below minbest1score3 of 200

game 1 / position 6
8/pp6/5k2/1P1p1nN1/3PpP2/P1K1n3/4B2r/6R1 b - - 0 32
. . . . . . . .
p p . . . . . .
. . . . . k . .
. P . p . n N .
. . . P p P . .
P . K . n . . .
. . . . B . . r
. . . . . . R .
game move: h2e2
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove h2e2 after 21.0ms of searching
Search is done!!
game move       : h2e2
easy move       : h2e2
best move 1     : h2e2, best score 1: 919
best move 2     : e3g2, best score 2: 566
scorediff       : 353
Skip this position, bm1 is a capture also bm1 and easymove are the same
Notice the fullmove number in the printed fen, it is getting reduced.

2. Given minimum engine search time of 5s, and minimum stm score of 200, if after 5s the engine best score is below half of minimum stm score or 200/2 score, then exit the search and check the next position.

Code: Select all

game 37 / position 78
2r5/5p1k/1r2b2p/6p1/1Bp1P3/2P4P/1P3PP1/R2R2K1 b - - 1 35
. . r . . . . .
. . . . . p . k
. r . . b . . p
. . . . . . p .
. B p . P . . .
. . P . . . . P
. P . . . P P .
R . . R . . K .
game move: b6b7
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove h7g6 after 20.0ms of searching
Exit search early, current best score is only -178 and it is still below half of
 minbest1score3 or 200/2=100
Search is done!!
game move       : b6b7
easy move       : h7g6
best move 1     : f7f5, best score 1: -178
best move 2     : b6b8, best score 2: -199
scorediff       : 21
Skip this position, score -178 is below minbest1score3 of 200

Some positions generated with this setting.

The Nakamura move, same from previous post.
[d]8/5k2/4n3/5p1K/N5p1/3P2P1/1p4RP/1r6 b - - bm Ra1; ce 7029; sm Ra1; acd 30; acs 15; fmvn 47; hmvc 5; pv Ra1; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";

Simple beginner's puzzle.
[d]2b5/5kbp/6p1/1pBpp3/4N3/7P/1PP2PP1/6K1 w - - bm Nd6+; ce 644; sm Nd6+; acd 26; acs 15; fmvn 36; hmvc 0; pv Nd6+ Ke6 Nxc8 e4 c3; c0 "Svane, Rasmus - Flom, Gabriel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.40"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";

Sort of a passed pawn theme.
[d]8/ppnR2pk/7p/2P1br2/2K5/P1P1B2P/1P3P2/8 w - - bm Bd4; ce 250; sm b4; acd 24; acs 15; fmvn 36; hmvc 2; pv Bd4; c0 "Firouzja, Alireza - Sindarov, Javokhir, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.26"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: program to generare epd file of tactical exercises from pgn

Post by Laskos »

Ferdy wrote: Sun Mar 10, 2019 4:13 am Optimize finding of tactical/interesting positions.

1. Read the pgn backwards or last position first till the start position. Can quickly evaluate position where side to move has the advantage. After saving a max of say 4 interesting positions, you can exit the game and check the next game.

Code: Select all

pgn file: champshowb19.pgn

Conditions:
mininum time               : 5.0s
maximum time               : 15.0s
mininum score diff check   : 50
mininum best 1 score 1     : 1000
mininum best 1 score 2     : 500
mininum best 1 score 3     : 200
maximum best 2 score 1     : 200
maximum best 2 score 2     : 100
maximum best 2 score 3     : 50
easy move time             : 20.0ms
stm is not in check        : Yes
stm position is not bad    : Yes
start analysis move number : 16
end analysis move number   : 80

game 1 / position 1
8/pp2k2N/6R1/KP1p1n2/2rPpP2/P3n3/8/8 b - - 7 36
. . . . . . . .
p p . . k . . N
. . . . . . R .
K P . p . n . .
. . r P p P . .
P . . . n . . .
. . . . . . . .
. . . . . . . .
game move: f5d4
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove f5d4 after 21.0ms of searching
Search is done!!
game move       : f5d4
easy move       : f5d4
best move 1     : f5d4, best score 1: 31993
best move 2     : e7f7, best score 2: 1960
scorediff       : 30033
Skip this position, bm1 is a capture also bm1 and easymove are the same

8/pp2k2N/6R1/1P1p1n2/1KrPpP2/P3n3/8/8 w - - 6 36
Skip this position, stm is in check


game 1 / position 2
8/pp2k2N/6R1/1P1p1n2/1K1PpP2/P3n3/2r5/8 b - - 5 35
. . . . . . . .
p p . . k . . N
. . . . . . R .
. P . p . n . .
. K . P p P . .
P . . . n . . .
. . r . . . . .
. . . . . . . .
game move: c2c4
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove c2c4 after 36.0ms of searching
Search is done!!
game move       : c2c4
easy move       : c2c4
best move 1     : c2c4, best score 1: 31987
best move 2     : e7f7, best score 2: 1763
scorediff       : 30224
Not an interesting pos: 8/pp2k2N/6R1/1P1p1n2/1K1PpP2/P3n3/2r5/8 b - - 5 35

8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/2r5/8 w - - 4 35
Skip this position, stm is in check


game 1 / position 3
8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/4r3/8 b - - 3 34
. . . . . . . .
p p . . k . . N
. . . . . . R .
. P . p . n . .
. . . P p P . .
P . K . n . . .
. . . . r . . .
. . . . . . . .
game move: e2c2
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove e2c2 after 21.0ms of searching
Search is done!!
game move       : e2c2
easy move       : e2c2
best move 1     : e2c2, best score 1: 31986
best move 2     : e2h2, best score 2: 1258
scorediff       : 30728
Not an interesting pos: 8/pp2k2N/6R1/1P1p1n2/3PpP2/P1K1n3/4r3/8 b - - 3 34

game 1 / position 4
8/pp2k2N/8/1P1p1n2/3PpP2/P1K1n3/4r3/6R1 w - - 2 34
. . . . . . . .
p p . . k . . N
. . . . . . . .
. P . p . n . .
. . . P p P . .
P . K . n . . .
. . . . r . . .
. . . . . . R .
game move: g1g6
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove g1c1 after 37.0ms of searching
Exit search early, current best score is only -910 and it is still below half of
 minbest1score3 or 200/2=100
Search is done!!
game move       : g1g6
easy move       : g1c1
best move 1     : g1c1, best score 1: -910
best move 2     : a3a4, best score 2: -1191
scorediff       : 281
Skip this position, score -910 is below minbest1score3 of 200

8/pp5N/5k2/1P1p1n2/3PpP2/P1K1n3/4r3/6R1 b - - 1 33
Skip this position, stm is in check


game 1 / position 5
8/pp6/5k2/1P1p1nN1/3PpP2/P1K1n3/4r3/6R1 w - - 0 33
. . . . . . . .
p p . . . . . .
. . . . . k . .
. P . p . n N .
. . . P p P . .
P . K . n . . .
. . . . r . . .
. . . . . . R .
game move: g5h7
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove g1c1 after 46.0ms of searching
Exit search early, current best score is only -891 and it is still below half of
 minbest1score3 or 200/2=100
Search is done!!
game move       : g5h7
easy move       : g1c1
best move 1     : g1c1, best score 1: -891
best move 2     : g5h7, best score 2: -911
scorediff       : 20
Skip this position, score -891 is below minbest1score3 of 200

game 1 / position 6
8/pp6/5k2/1P1p1nN1/3PpP2/P1K1n3/4B2r/6R1 b - - 0 32
. . . . . . . .
p p . . . . . .
. . . . . k . .
. P . p . n N .
. . . P p P . .
P . K . n . . .
. . . . B . . r
. . . . . . R .
game move: h2e2
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove h2e2 after 21.0ms of searching
Search is done!!
game move       : h2e2
easy move       : h2e2
best move 1     : h2e2, best score 1: 919
best move 2     : e3g2, best score 2: 566
scorediff       : 353
Skip this position, bm1 is a capture also bm1 and easymove are the same
Notice the fullmove number in the printed fen, it is getting reduced.

2. Given minimum engine search time of 5s, and minimum stm score of 200, if after 5s the engine best score is below half of minimum stm score or 200/2 score, then exit the search and check the next position.

Code: Select all

game 37 / position 78
2r5/5p1k/1r2b2p/6p1/1Bp1P3/2P4P/1P3PP1/R2R2K1 b - - 1 35
. . r . . . . .
. . . . . p . k
. r . . b . . p
. . . . . . p .
. B p . P . . .
. . P . . . . P
. P . . . P P .
R . . R . . K .
game move: b6b7
Stockfish 10 64 POPCNT is searching at multipv 2  ...
Saving easymove h7g6 after 20.0ms of searching
Exit search early, current best score is only -178 and it is still below half of
 minbest1score3 or 200/2=100
Search is done!!
game move       : b6b7
easy move       : h7g6
best move 1     : f7f5, best score 1: -178
best move 2     : b6b8, best score 2: -199
scorediff       : 21
Skip this position, score -178 is below minbest1score3 of 200

Some positions generated with this setting.

The Nakamura move, same from previous post.
[d]8/5k2/4n3/5p1K/N5p1/3P2P1/1p4RP/1r6 b - - bm Ra1; ce 7029; sm Ra1; acd 30; acs 15; fmvn 47; hmvc 5; pv Ra1; c0 "Duda, Jan-Krzysztof - Nakamura, Hikaru, Champions Showdown Blitz, Saint Louis USA, 2019.02.23, R1.2"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";

Simple beginner's puzzle.
[d]2b5/5kbp/6p1/1pBpp3/4N3/7P/1PP2PP1/6K1 w - - bm Nd6+; ce 644; sm Nd6+; acd 26; acs 15; fmvn 36; hmvc 0; pv Nd6+ Ke6 Nxc8 e4 c3; c0 "Svane, Rasmus - Flom, Gabriel, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.40"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";

Sort of a passed pawn theme.
[d]8/ppnR2pk/7p/2P1br2/2K5/P1P1B2P/1P3P2/8 w - - bm Bd4; ce 250; sm b4; acd 24; acs 15; fmvn 36; hmvc 2; pv Bd4; c0 "Firouzja, Alireza - Sindarov, Javokhir, Aeroflot Open A 2019, Moscow RUS, 2019.02.20, R1.26"; c1 "Analyzing engine: Stockfish 10 64 POPCNT";

Ferdy, when you will release the tool? It already seems quite good. It might be used to build new, pretty unseen sort of tactical test-suites, which are in touch with actual games, and represent an actual and important aspect of the game-play. Lc0 showed pretty conclusively to me that almost all tactical test-suites as of now have been built with wrong preconceptions, for example "to be hard for AB null-move LMR searchers" and represent game-play only marginally as a side-effect.

When ready, please release it, otherwise I will pester you with PM :D.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: program to generare epd file of tactical exercises from pgn

Post by kinderchocolate »

pferd wrote: Sat Jan 19, 2019 7:15 pm Do we know how pages like lichess come up with their tactical exercices. I enjoy doing them quite a bit
https://github.com/vitogit/lichess-tactics-generator

Lichess simply compare two consecutive moves. If both players miss an important move according to a computer, it'd be flagged as a tactical exercice.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: program to generare epd file of tactical exercises from pgn

Post by kinderchocolate »

There is no easy way to define a "complicated" position. Ferdy's approach was reasonable, but it would fail to flagging super-precise unrealistic computer moves as tactical exercises. This is not a problem that can be addressed satisfactory by chess engines evaluation alone.

We have a literature paper:

- https://ailab.si/matej/doc/Using_Heuris ... _Chess.pdf
- https://cse.buffalo.edu/~regan/papers/pdf/Reg12IPRs.pdf

Approach taken in the first paper was super simple; it assumes depth of search was reasonable which was also what Ferdy was using.