Difficult EG studies:
[d]k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 0
[d]3q4/5kpp/pr1P3Q/p3p3/b1p5/6P1/3PR3/5BK1 w - - 0 0
[d]1N1R4/p5pk/PPPr3p/Q2b4/3b4/1q6/1N3PPP/4K2R w K - 0 0
[d]8/p2kp2p/Pp4pP/rPp1ppP1/2P2P2/2PKP3/Q7/3n4 w - - 0 0
Anti Houdini puzzle
[d]2RN1q2/3pp1p1/5p1p/1pp4k/5P1P/1B6/6K1/8 w - - 0 1
Oleg Pervakov
[d]8/b3p3/4p3/n1r5/2P1N1k1/1q4p1/3BRP2/1BR2K2 w - - 0 0
Draw or Fortress?
[d]8/4p3/4Rb2/n5k1/8/6P1/2B3K1/8 w - - 0 10
White wins
[d]q6B/r3p3/pRP5/P1R2p2/k4K2/8/1P6/N4b2 w - - 0 0
White wins
[d]8/2N2R1p/5nk1/N3p3/1n1P4/7K/7b/8 w - - 0 0
EG studies for engines
Moderator: Ras
-
Nordlandia
- Posts: 2830
- Joined: Fri Sep 25, 2015 9:38 pm
- Location: Sortland, Norway
-
Vinvin
- Posts: 5312
- Joined: Thu Mar 09, 2006 9:40 am
- Full name: Vincent Lejeune
Re: EG studies for engines
Please, gives the solutions with the studies.Nordlandia wrote:Difficult EG studies:
-
Nordlandia
- Posts: 2830
- Joined: Fri Sep 25, 2015 9:38 pm
- Location: Sortland, Norway
Re: EG studies for engines
Part II
[d]4b3/1PK5/P7/k1B3p1/4B1qp/8/P7/8 w - - 0 0
[d]4NN2/8/2r5/1q2b2k/2pp1p1P/5P2/1PPP4/1K1Q1B2 w - - 0 0
[d]3k2b1/p6p/3K2B1/1pp1pN2/8/4N3/2P5/2n5 w - - 0 0
Semi-Difficult
[d]3b1K2/2pr4/1Pp5/Rp1k4/8/8/2P5/8 w - - 0 0
R. Becker | Special Price | White wins
[d]5q1n/p3p2K/p4p2/p2B4/8/5p2/3Q4/5k2 w - - 0 0
5kBN/Br6/8/7r/6R1/8/8/5K2 w - - 0 0
White wins
[d]8/6Pp/7p/3p4/5K1P/6R1/kP2rp1P/8 w - - 0 0
3rd price (bronce medal) | J. Timman | Draw | 8/7
[d]8/3p1p2/3p1P2/2P1P2K/r2Pp1P1/6P1/6b1/1k4B1 w - - 0 0
1. Kc8 | White wins
[d]1K6/pP3B2/1kp5/p7/5p2/1P1P2P1/pB6/4rrq1 w - - 0 0
1. Bb7+ | White wins | R. Becker | 3rd Honourable Mention
[d]6r1/r3p3/k1B1p3/3nR3/1PRK1NQ1/8/2pN1n2/2q1b3 w - - 0 0
1. Kc5 | Draw | D. Hlebec
[d]2k5/8/8/1Q4K1/p3B3/1p4p1/b6q/8 w - - 0 0
White wins
[d]8/7p/5R2/2k3p1/2Pp2Pb/8/4Kp2/8 w - - 0 0
Funny one
[d]kN5B/2PPPPR1/B1PPPP2/1K6/3q4/8/8/r7 w - - 0 0
[d]4b3/1PK5/P7/k1B3p1/4B1qp/8/P7/8 w - - 0 0
[d]4NN2/8/2r5/1q2b2k/2pp1p1P/5P2/1PPP4/1K1Q1B2 w - - 0 0
[d]3k2b1/p6p/3K2B1/1pp1pN2/8/4N3/2P5/2n5 w - - 0 0
Semi-Difficult
[d]3b1K2/2pr4/1Pp5/Rp1k4/8/8/2P5/8 w - - 0 0
R. Becker | Special Price | White wins
[d]5q1n/p3p2K/p4p2/p2B4/8/5p2/3Q4/5k2 w - - 0 0
5kBN/Br6/8/7r/6R1/8/8/5K2 w - - 0 0
White wins
[d]8/6Pp/7p/3p4/5K1P/6R1/kP2rp1P/8 w - - 0 0
3rd price (bronce medal) | J. Timman | Draw | 8/7
[d]8/3p1p2/3p1P2/2P1P2K/r2Pp1P1/6P1/6b1/1k4B1 w - - 0 0
1. Kc8 | White wins
[d]1K6/pP3B2/1kp5/p7/5p2/1P1P2P1/pB6/4rrq1 w - - 0 0
1. Bb7+ | White wins | R. Becker | 3rd Honourable Mention
[d]6r1/r3p3/k1B1p3/3nR3/1PRK1NQ1/8/2pN1n2/2q1b3 w - - 0 0
1. Kc5 | Draw | D. Hlebec
[d]2k5/8/8/1Q4K1/p3B3/1p4p1/b6q/8 w - - 0 0
White wins
[d]8/7p/5R2/2k3p1/2Pp2Pb/8/4Kp2/8 w - - 0 0
Funny one
[d]kN5B/2PPPPR1/B1PPPP2/1K6/3q4/8/8/r7 w - - 0 0
-
peter
- Posts: 3529
- Joined: Sat Feb 16, 2008 7:38 am
- Full name: Peter Martan
Re: EG studies for engines
Hi Jon!

After some Forward- Backward:
[d]8/4p3/4Rb2/n5k1/8/6P1/2B3K1/8 w - - 0 1
Analysis by asmFishW_2017-10-25_popcnt:
10.Bd3 Nb7 11.Rc6 Nd8 12.Rc5+ Kh6 13.Kf3 Ne6 14.Rd5 Nc7 15.Rd7 Ne6 16.Kg4 Nf8 17.Rd5 Ne6 18.Rb5 Ng5 19.Rb8 Nf7 20.Bc2 Kg7 21.Kh5 Be5 22.Rb6 Bf6 23.Rb5 Nd6 24.Rb8 Be5 25.g4 Bf4 26.Ra8 Be3 27.Ra6 Kf6 28.Ra3 Bg1 29.Ra1 Bd4 30.g5+ Ke6 31.Ra8 Kd5 32.Ra5+ Kc6 33.Ra4 Be5 34.Ra8 Kd5 35.Ra7 Bg7 36.Rxe7 Bf8 37.Rc7 Nb5 38.Rd7+ Ke6 39.Bf5+ Ke5 40.Rf7 Ba3 41.g6
+- (114.11) Depth: 42/78 00:03:31 7867MN, tb=23137503
Postion after output- move nr.37 is #24 according to Lomonosovs
Neither nor, I'd say.Nordlandia wrote: Draw or Fortress?
[d]8/4p3/4Rb2/n5k1/8/6P1/2B3K1/8 w - - 0 10
After some Forward- Backward:
[d]8/4p3/4Rb2/n5k1/8/6P1/2B3K1/8 w - - 0 1
Analysis by asmFishW_2017-10-25_popcnt:
10.Bd3 Nb7 11.Rc6 Nd8 12.Rc5+ Kh6 13.Kf3 Ne6 14.Rd5 Nc7 15.Rd7 Ne6 16.Kg4 Nf8 17.Rd5 Ne6 18.Rb5 Ng5 19.Rb8 Nf7 20.Bc2 Kg7 21.Kh5 Be5 22.Rb6 Bf6 23.Rb5 Nd6 24.Rb8 Be5 25.g4 Bf4 26.Ra8 Be3 27.Ra6 Kf6 28.Ra3 Bg1 29.Ra1 Bd4 30.g5+ Ke6 31.Ra8 Kd5 32.Ra5+ Kc6 33.Ra4 Be5 34.Ra8 Kd5 35.Ra7 Bg7 36.Rxe7 Bf8 37.Rc7 Nb5 38.Rd7+ Ke6 39.Bf5+ Ke5 40.Rf7 Ba3 41.g6
+- (114.11) Depth: 42/78 00:03:31 7867MN, tb=23137503
Postion after output- move nr.37 is #24 according to Lomonosovs
Peter.
-
Eelco de Groot
- Posts: 4697
- Joined: Sun Mar 12, 2006 2:40 am
- Full name: Eelco de Groot
Re: EG studies for engines
Is #1 winnable? Kaissa likes the White position, but so far not with a really high score. The bonus for the passed pawn is high more than +2. If score is more than a full pawn there is no scaling down in the code for the opposite bishops.Nordlandia wrote:Difficult EG studies:
[d]k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 0
Code: Select all
// If we don't already have an unusual scale factor, check for certain
// types of endgames, and use a lower scale for those.
if (sf == SCALE_FACTOR_NORMAL || sf == SCALE_FACTOR_ONEPAWN)
{
if ( pos.opposite_bishops()
&& !(more_than_one(pe->passed_pawns(strongSide)))
&& !(abs((eg - VALUE_DRAW)/ PawnValueEg) > 1))k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - -
Engine: Kaissa HT (512 MB)
by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
32/43 0:01 +1.41 1.Kh6 Kb7 2.Kxh5 f3 3.Bb4 Kxb6 4.Kg5 Kc6
5.Kf6 Bc2 6.h5 Be4 7.Kg7 d3 8.h6 d4
9.h7 Bxh7 10.Kxh7 Kd5 11.Kg6 Kc4
12.Bd6 Kb3 13.Kf5 Kc2 14.Bb4 (26.932.821) 17443
33/44 0:01 +1.46 1.Kh6 Kb7 2.Kxh5 f3 3.Bb4 Kxb6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h6 Bf3 2.Kg5 Kb7 3.Kxf4 Bd1 4.Ke5 b4
5.Bxb4 Kxb6 6.f4 Kc6 7.f5 Kd7 8.d3 Ke8
9.Ke6 Be2 10.f6 Bg4+ 11.Kxd5 Kf7
12.Be7 Be2 13.Kxd4 Ke6 14.Ke4 (116.181.525.737) 20878
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
-
Eelco de Groot
- Posts: 4697
- Joined: Sun Mar 12, 2006 2:40 am
- Full name: Eelco de Groot
Re: EG studies for engines
(continued from above #1) Ancalagon (not sure which version precisely this is) also could not find anything better than 1. Kh6 (best five moves Multi PV)
[d]k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - -
Engine: Ancalagon HT (512 MB)
by T. Romstad, M. Costalba, J. Kiiski, G.
46 110:38 +2.83 1.Kh6 Bf3 2.Kg5 Kb7 3.Kxf4 Bd1 4.Ke5 b4
5.Bxb4 Kxb6 6.f4 Kc6 7.f5 Kd7 8.Kf6 Bg4
9.Kg6 Ke8 10.d3 Bh3 11.f6 Be6 12.Kg7 Bf7
13.Bc5 Be6 14.Bxd4 (43.039.952.743) 6483
45 110:38 +0.53 1.Kf6 Kb7 2.Kg5 b4 3.Bxb4 Kxb6
4.Kxf4 Bh1 5.Ke5 Bf3 6.Kxd4 Kc6
7.Ke3 Bg2 8.f4 Be4 9.d3 Bg6 10.Kd4 Bf5
11.Ke5 Bxd3 12.Bc3 Kd7 13.Kxd5 Ke7
14.Ke5 (43.039.952.743) 6483
45 110:38 +0.51 1.Kf7 Kb7 2.Kf6 b4 3.Bxb4 Kxb6 4.Kg5 Kc6
5.Kxh5 f3 6.Kg5 Kb5 7.Be7 Kc4 8.h5 Kd3
9.Bf6 Kxd2 10.Bxd4 Ke2 11.Be3 Kd3
12.Bb6 Ke2 13.h6 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5 Kd7 8.d3 Ke8
9.Ke6 Be2 10.f6 Bg4+ 11.Kxd5 Kf7
12.Be7 Be2 13.Kxd4 Ke6 14.Ke4 (172.528.604.277) 18445
88/109 359:40 +3.57 1.Kh6 Bf3 2.Kg5 Kb7 3.Kxf4 Bd1 4.Ke5 b4
5.Bxb4 Kxb6 6.f4 Kc6 7.f5 Kd7 8.d3 Ke8
9.Ke6 Be2 10.f6 Bg4+ 11.Kxd5 Kf7
12.Be7 Be2 13.Kxd4 Ke6 14.Ke4 {[d]8/4B3/4kP2/7p/4K2P/3P4/4b3/8 b - -} (337.434.084.497) 15635
The final position of the PV in Shredder GUI which only gives the first 14 moves, looks optically good with two passed pawns, but it's just a fortress:
[d]8/4B3/4kP2/7p/4K2P/3P4/4b3/8 b - -
Engine: Kaissa HT (512 MB)
by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
38 2:25 +3.06 1...Bd1 2.d4 Bc2+ 3.Kf4 Bg6 4.Kg5 Bf7
5.Bd8 Kd6 6.Ba5 Ke6 7.Bd2 Be8 8.Bc3 Bf7
9.Ba5 Kd6 10.Bd2 Ke6 11.Bc3 Kd6
12.Kh6 Kd7 13.Bd2 Ke8 14.Kg5 Kd8 (1.096.254.688) 7519
38 2:25 +3.06 1...Bf1 2.d4 Bc4 3.Kf4 Kd7 4.Ke5 Kc6
5.Bb4 Bb3 6.Bc5 Bc4 7.Kf4 Kd7 8.Kg5 Bf7
9.Kh6 Ke8 10.Kg7 Bd5 11.Kg6 Bf7+
12.Kh6 Kd7 13.Kg7 Ke8 14.Ba7 Bd5 (1.096.254.688) 7519
38 2:25 +63.07 1...Bg4 {this is lost for Black} 2.Kf4 (1.096.254.688) 7519
best move: Be2-d1 time: 2:25.813 min n/s: 7.519.615 nodes: 1.096.254.688
Black is holding this? So my rule is here not good enough I think, two passed pawns, sf (scalefactor) switched off automatically is not enough (here) and a single pawn that has a bonus of 3 where black has an extra but doubled pawn, is also not enough to win here. Unless I'm missing something. Two passed pawns is reasonably safe (measured in Fishtest) but a single passed pawn advantage (bonus) of +2 full pawns to switch off scaling down opposite color bishop may cost some Elo in my measurements. Not a lot and it's within the error margins. But maybe I should increase to 3 full pawns for a single passer, to switch to normal scaling..
[d]k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - -
Engine: Ancalagon HT (512 MB)
by T. Romstad, M. Costalba, J. Kiiski, G.
46 110:38 +2.83 1.Kh6 Bf3 2.Kg5 Kb7 3.Kxf4 Bd1 4.Ke5 b4
5.Bxb4 Kxb6 6.f4 Kc6 7.f5 Kd7 8.Kf6 Bg4
9.Kg6 Ke8 10.d3 Bh3 11.f6 Be6 12.Kg7 Bf7
13.Bc5 Be6 14.Bxd4 (43.039.952.743) 6483
45 110:38 +0.53 1.Kf6 Kb7 2.Kg5 b4 3.Bxb4 Kxb6
4.Kxf4 Bh1 5.Ke5 Bf3 6.Kxd4 Kc6
7.Ke3 Bg2 8.f4 Be4 9.d3 Bg6 10.Kd4 Bf5
11.Ke5 Bxd3 12.Bc3 Kd7 13.Kxd5 Ke7
14.Ke5 (43.039.952.743) 6483
45 110:38 +0.51 1.Kf7 Kb7 2.Kf6 b4 3.Bxb4 Kxb6 4.Kg5 Kc6
5.Kxh5 f3 6.Kg5 Kb5 7.Be7 Kc4 8.h5 Kd3
9.Bf6 Kxd2 10.Bxd4 Ke2 11.Be3 Kd3
12.Bb6 Ke2 13.h6 Kd3 14.Kf4 (43.039.952.743) 6483
45 110:38 +0.37 1.Bb4 Kb7 2.Bc5 Bf3 3.Kf6 b4 4.Bxd4 b3
5.Ke5 b2 6.Bxb2 Kxb6 7.Kxf4 Bg2
8.Bd4+ Kc7 9.Kf5 Bf3 10.d3 Kc6
11.Ke5 Kd7 12.Kf6 Kc6 13.Bc3 Kd6
14.Bb2 (43.039.952.743) 6483
45 110:38 0.00 1.Kf8 Kb7 2.Ke7 b4 3.Bxb4 Kxb6 4.Bd6 Kb5
5.Bxf4 Kc4 6.Kf6 Bf3 7.Kg5 Kd3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(337.434.084.497) 15635
The final position of the PV in Shredder GUI which only gives the first 14 moves, looks optically good with two passed pawns, but it's just a fortress:
[d]8/4B3/4kP2/7p/4K2P/3P4/4b3/8 b - -
Engine: Kaissa HT (512 MB)
by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
38 2:25 +3.06 1...Bd1 2.d4 Bc2+ 3.Kf4 Bg6 4.Kg5 Bf7
5.Bd8 Kd6 6.Ba5 Ke6 7.Bd2 Be8 8.Bc3 Bf7
9.Ba5 Kd6 10.Bd2 Ke6 11.Bc3 Kd6
12.Kh6 Kd7 13.Bd2 Ke8 14.Kg5 Kd8 (1.096.254.688) 7519
38 2:25 +3.06 1...Bf1 2.d4 Bc4 3.Kf4 Kd7 4.Ke5 Kc6
5.Bb4 Bb3 6.Bc5 Bc4 7.Kf4 Kd7 8.Kg5 Bf7
9.Kh6 Ke8 10.Kg7 Bd5 11.Kg6 Bf7+
12.Kh6 Kd7 13.Kg7 Ke8 14.Ba7 Bd5 (1.096.254.688) 7519
38 2:25 +63.07 1...Bg4 {this is lost for Black} 2.Kf4 (1.096.254.688) 7519
best move: Be2-d1 time: 2:25.813 min n/s: 7.519.615 nodes: 1.096.254.688
Black is holding this? So my rule is here not good enough I think, two passed pawns, sf (scalefactor) switched off automatically is not enough (here) and a single pawn that has a bonus of 3 where black has an extra but doubled pawn, is also not enough to win here. Unless I'm missing something. Two passed pawns is reasonably safe (measured in Fishtest) but a single passed pawn advantage (bonus) of +2 full pawns to switch off scaling down opposite color bishop may cost some Elo in my measurements. Not a lot and it's within the error margins. But maybe I should increase to 3 full pawns for a single passer, to switch to normal scaling..
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
-
Paloma
- Posts: 1221
- Joined: Thu Dec 25, 2008 9:07 pm
- Full name: Herbert L
Re: EG studies for engines
For #9 i get this
1.Re7 Bg1
2.dxe5 Ne4
3.Kg2
there is probably no clear winning,
just a change in front
1.Re7 Bg1
2.dxe5 Ne4
3.Kg2
there is probably no clear winning,
just a change in front
-
peter
- Posts: 3529
- Joined: Sat Feb 16, 2008 7:38 am
- Full name: Peter Martan
Re: EG studies for engines
Hi Eelco!

I have a 30'+15" game won by SugaR with switched off nullmove against asmFish:
[pgn]
[Event "Nr.1 CCC"]
[Site "?"]
[Date "2017.10.28"]
[Round "?"]
[White "DEGS, Jon"]
[Black "Winnable?, Eelco"]
[Result "*"]
[SetUp "1"]
[FEN "k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 1"]
[PlyCount "52"]
1. Kh6 Bf3 2. Kg5 Kb7 3. Kxf4 Bd1 4. Ke5 b4 5. Bxb4 Kxb6 6. f4 Kc6 7. Kxd4 Bc2
8. Ke5 Bh7 9. Bc3 Bg8 10. Kf6 Bh7 11. Ke7 Bf5 12. Be5 Bg4 13. Kf6 Kd7 14. d4
Bf3 15. f5 Be4 16. Bf4 Bb1 17. Bc1 Kd6 18. Ba3+ Kd7 19. Ke5 Bc2 20. Bd6 Bb1 21.
f6 Bg6 22. Kxd5 Bf7+ 23. Kc5 Ke6 24. Be7 Bg6 25. d5+ Kd7 26. Kd4 Be8 *
[/pgn]
Adjudicated, SugaR had the tbs- Bingo- eval of 132+ already after move 15., asmFish a few moves later on too.
SugaR- output at position after 15th move of White:
[d]8/3k4/5K2/3pBP1p/3P3P/5b2/8/8 b - - 0 1
Analysis by S_XPrO 241017 x64 POPCNT:
15...Be4 16.Bb8 Bd3 17.Ba7 Bb1 18.Bc5 Bd3 19.Ke5 Bb1 20.Bd6 Bd3 21.f6 Bg6 22.Kxd5 Bf7+ 23.Kc5 Be8 24.d5 Bg6 25.Bf8 Bf5 26.Kd4 Bh7 27.Ke5 Bg8 28.Be7 Bf7 29.d6 Bg6 30.Kf4 Ke6 31.Kg5 Be8 32.Kh6 Kf7 33.Kxh5 Bc6 34.Kg5 Bb5 35.h5 Bd7 36.h6 Ke6 37.f7 Ba4 38.f8Q Kd5 39.Qa8+ Bc6 40.Qxc6+
+- (132.58) Depth: 42/53 00:04:08 10082MN, tb=9818116
But I'm not able to take the high score back to root position with default Fish.
Trying now with nullmove- less one, maybe that could be better because of necessary triangle- und body- check- maneuvers, couldn't it

I think it is, but I'm not sure, if it is without help from Black.Eelco de Groot wrote:Is #1 winnable?
I have a 30'+15" game won by SugaR with switched off nullmove against asmFish:
[pgn]
[Event "Nr.1 CCC"]
[Site "?"]
[Date "2017.10.28"]
[Round "?"]
[White "DEGS, Jon"]
[Black "Winnable?, Eelco"]
[Result "*"]
[SetUp "1"]
[FEN "k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 1"]
[PlyCount "52"]
1. Kh6 Bf3 2. Kg5 Kb7 3. Kxf4 Bd1 4. Ke5 b4 5. Bxb4 Kxb6 6. f4 Kc6 7. Kxd4 Bc2
8. Ke5 Bh7 9. Bc3 Bg8 10. Kf6 Bh7 11. Ke7 Bf5 12. Be5 Bg4 13. Kf6 Kd7 14. d4
Bf3 15. f5 Be4 16. Bf4 Bb1 17. Bc1 Kd6 18. Ba3+ Kd7 19. Ke5 Bc2 20. Bd6 Bb1 21.
f6 Bg6 22. Kxd5 Bf7+ 23. Kc5 Ke6 24. Be7 Bg6 25. d5+ Kd7 26. Kd4 Be8 *
[/pgn]
Adjudicated, SugaR had the tbs- Bingo- eval of 132+ already after move 15., asmFish a few moves later on too.
SugaR- output at position after 15th move of White:
[d]8/3k4/5K2/3pBP1p/3P3P/5b2/8/8 b - - 0 1
Analysis by S_XPrO 241017 x64 POPCNT:
15...Be4 16.Bb8 Bd3 17.Ba7 Bb1 18.Bc5 Bd3 19.Ke5 Bb1 20.Bd6 Bd3 21.f6 Bg6 22.Kxd5 Bf7+ 23.Kc5 Be8 24.d5 Bg6 25.Bf8 Bf5 26.Kd4 Bh7 27.Ke5 Bg8 28.Be7 Bf7 29.d6 Bg6 30.Kf4 Ke6 31.Kg5 Be8 32.Kh6 Kf7 33.Kxh5 Bc6 34.Kg5 Bb5 35.h5 Bd7 36.h6 Ke6 37.f7 Ba4 38.f8Q Kd5 39.Qa8+ Bc6 40.Qxc6+
+- (132.58) Depth: 42/53 00:04:08 10082MN, tb=9818116
But I'm not able to take the high score back to root position with default Fish.
Trying now with nullmove- less one, maybe that could be better because of necessary triangle- und body- check- maneuvers, couldn't it
Peter.
-
peter
- Posts: 3529
- Joined: Sat Feb 16, 2008 7:38 am
- Full name: Peter Martan
Re: EG studies for engines
Switching off tbs brings more than nullmove.peter wrote:But I'm not able to take the high score back to root position with default Fish.
Went backward with H6 default from the end of the game above, taking back the mating- score from there to 12...Bg4 (?!), from there 12...Bh7 instead takes some moves forward to raise score to 8.00 again.
k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 1
1. Kh6 Bf3 2. Kg5 Kb7 3. Kxf4 Bd1 4. Ke5 b4 5. Bxb4 Kxb6 6. f4 Kc6 7. Kxd4 Bc2 8. Ke5 Bh7 9. Bc3 Bg8 10. Kf6 Bh7 11. Ke7 Bf5 12. Be5 Bh7 13. d4 Bf5 14. Kf6 Bh7 15. Kg5 *
Going this backward again to starting position doesn't show any more eval- jumps and leads to this output with full hash from Backward:
[d]k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 1
Analysis by Houdini 6.02 Pro x64-popc:
1.Kh6 Bf3 2.Kg5 Kb7 3.Kxf4 Bd1 4.Ke5 b4 5.Bxb4 Kxb6 6.f4 Kc6 7.Kxd4 Bc2 8.Ke5 Bh7 9.Bc3 Bg8 10.Kf6 Bh7 11.Ke6 Bg8+ 12.Ke7 Bh7 13.Bd4 Bf5 14.Be5 Bh7 15.d4 Bf5 16.Bd6 Bh3 17.Bb8 Bf5 18.Be5 Bh7 19.Ke6 Bg8+ 20.Kf5 Bh7+ 21.Kg5 Kd7 22.f5 Ke7 23.f6+ Kf7 24.Kxh5 Bd3 25.Kg5 Bh7 26.Bc7 Be4 27.Ba5 Bd3 28.Be1 Bb1 29.h5 Ke6 30.Bg3
+- (6.70) Depth: 42/95 00:04:24 13573MN
Peter.
-
Vinvin
- Posts: 5312
- Joined: Thu Mar 09, 2006 9:40 am
- Full name: Vincent Lejeune
Re: EG studies for engines
I put the 2 parts together and ran it under McBrain 2.7, Stockfish_171011 and Sting-sf-89.
Condition : 10 minutes on a i7-6*4GHz. 6 Pieces Syzygy.
Please tell me who is wrong or right. I hold the log if you want to see the eval and timing.
22 positions :
Condition : 10 minutes on a i7-6*4GHz. 6 Pieces Syzygy.
Please tell me who is wrong or right. I hold the log if you want to see the eval and timing.
Code: Select all
McBrain-27 Stockfish_171011 Sting-sf-89
1) Kg7-h6 Kg7-h6 Kg7-h6
2) Re2-f2 Re2-f2 Re2-f2
3) O-O O-O O-O
4) Qa2-d2 Qa2-d2 Qa2-d2
5) Kg2-h3 Kg2-h3 Kg2-h3
6) Bb1-c2 Bb1-c2 Bb1-c2
7) Kg2-h3 Kg2-h3 Kg2-h3
8) Bh8-c3 Bh8-e5 Bh8-c3
9) Rf7-e7 Rf7-e7 Rf7-e7
10) Bc5-b4 Bc5-b4 Bc5-b4
11) Bf1-d3 Bf1-d3 Bf1-d3
12) Bg6-h5 Bg6-h5 Bg6-h5
13) b6-b7 b6-b7 b6-b7
14) Bd5-c4 Qd2-d1 Qd2-d1
15) Ba7-d4 Ba7-d4 Ba7-d4
16) Rg3-a3 Rg3-a3 Rg3-a3
17) c5-c6 c5-c6 c5xd6
18) Kb8-c8 Kb8-c8 Kb8-c8
19) Kd4-c5 Kd4-c5 Kd4-c5
20) Qb5-c6 Qb5-c6 Be4-b7
21) Ke2-d3 Ke2-d3 Ke2-d3
22) Ba6-b7 Ba6-b7 Ba6-b7 Code: Select all
k7/6K1/1P6/Bp1p3p/3pbp1P/8/3P1P2/8 w - - 0 0
3q4/5kpp/pr1P3Q/p3p3/b1p5/6P1/3PR3/5BK1 w - - 0 0
1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