Wednesday, June 12, 2024

Season 26 superfinal statistics

A summary statistics table of previous stages and seasons. 

Draw rate, wins

Final draw rate was 52%.

Game termination

The three most common game termination causes were:

48% - TCEC draw rule
28% - SyzygyTB
21% - Mate

There were no crashes in the stage.

Moves per game

Median= 79
Average= 83.7

There were 24 games longer than 100 moves, the longest was 167 moves (Stockfish - Leela, game 100, draw).

Time per game (hours) 

Median= 4:21
Average= 4:16

Openings

There were variable length book openings in this stage chosen by Jeroen Noomen. The first letter of the ECO codes was distributed as follows:

The engines had almost no freedom to choose the opening variant, all the game pairs repeated the same ECO and the same opening variant twice.

Reverse pairs, wins 

Reverse pairs, same moves 

Pairs of reverse games diverged slower than usual, 12% diverged immediately out of book, 54% of the pairs diverged at most after 1 move. The longest repeated sequence of moves was 25 plys (Leela - Stockfish games 85 and 86, English opening, two white wins).


Wednesday, June 5, 2024

Season 26 superfinal games 91-100, season summary

Stockfish is the winner of the season 26 superfinal. The final score is 31-17 with 52 draws. In the last five game pairs Stockfish won two and extended its lead to a maximum of +15. Then in the last pair Leela finally managed to win and reduced the gap to +14 in the end. Leela had a chance of a game pair win earlier, but Stockfish managed to win the reverse game 94 in a blitz ending, with what both engines thought was a drawn position on move 90.

Stockfish won the first game pair of the match and it held the lead all the way to the end. It won again before Leela won its first pair, reducing the lead back to +1. Stockfish won 3 more game pairs, then Leela won two, after 14 game pairs Stockifsh led by +2. It seemed at that point that the match would be competitive, but in the next 14 pairs Stockfish won 6 times without loss. The lead was up to +8 before Leela managed to win a game pair. The hope for a Leela comeback, like in season 25, slowly diminished as Stockfish continued to increase the lead in the following games. Stockfish won 8 times without loss in the next 20 game pairs and the lead increased to +15. Leela finally won the last game pair, much too late to change anything. After two superfinals where Leela seemed to close the gap, this season Stockfish again dominated the superfinal.

The first league event of season 26 was the entrance league with 16 engines. There were 5 engines that were new to TCEC and 2 returning engines, including Berserk that was 4th in the premier division of season 24 and took one season off. Berserk dominated the league and won, the newcomer Obsidian and Velvet also qualified comfortably. There was a race for the fourth spot between newcomers Stormphrax and Altair, Altair led two rounds to go but Stormphrax closed the gap and advanced on a tiebreak. In league 2 Berserk and Obsidian again won easily. There were 3 more qualification spots - one more than usual because of SlowChess not starting the season. Several engines were involved in the race, after RR3 Viridithas, Velvet and Arasan opened a small gap ahead of the rest and kept it till the end. In league 1 there were 5 engines that led as a group: Seer, Caissa, Berserk, Obsidian and rofChade. After 3RRs rofChade was dropped but the other 4 engines were almost tied. In the last RR Berserk left the other engines behind to win the league. The other 3 engines ended up in a three way tie, the tiebreak decided that Seer was the second engine to advance. 

TBD: premier division, personal

Games 91-92 started with an unusual line in the English opening. In game 91 Leela kept its king in the center and pushed pawns on both sides of the board. The h file opened which was a potential danger for the black king, Leela's eval slowly increased. Leela didn't expect Stockfish's move 19, its eval dropped even though it trapped a black rook. On move 24 the engines started to exchange pieces, starting with a knight for rook trade. Stockfish regained the material and the game reached a RB vs RB position with white a pawn up. Leela wouldn't lower its eval, it gave the rook for a bishop and two pawns, the game continued for 35 more moves. In game 92 Stockfish castled its king, both engines played mostly on the king side. The pawns on the king side moved forward and both kings were exposed. Evals came down despite the fact that Stockfish captured a rook for a knight, the game reached a RRB vs RBN position. After a long shuffle the engines traded minor pieces and the game was adjudicated.

Games 93-94 started with a 22-ply line in the closed Ruy Lopez, Borisenko variation. All pieces and pawns were still on the board. In game 93 there were no exchanges after the start and the engines blocked the center and most of the queen side. On move 22 the engines exchanged minor pieces on the king side and Leela's eval started to increase. On move 27 the first pawns were exchanged on the queen side, opening the a file, Leela then pushed a pawn to h6. Stockfish's eval also started to increase, Leela captured a pawn on the king side and the queens were exchanged. 

Leela exchanged pawns in the center and created a passer, then offered a rook for a bishop. Stockfish thought about it but took the rook after a few moves, together with another pawn capture this gave Leela 3 connected passers in the center. Leela was not in a hurry to push the passers forward but Stockfish could not stop them. Leela queened eventually, followed by mate.

In game 94 the engines again blocked the center and there were no exchanges after the start. The first pawn exchange was on move 26 on the queen side, leaving a small opening there. The engines exchanged a pair of bishops, then Leela captured a pawn and opened the b file. Evals were low, the engines blocked the king side and exchanged the remaining bishops. Then there was a long shuffle, on move 88 a pair of rooks was exchanged and the shuffling continued. Stockfish's eval started to increase after move 100, then the engines reduced to a double knight ending. 

Leela was a pawn up but its knights could not advance while the white knights had several protected entry points. Leela gave back the pawn and exchanged a pair of knights, giving Stockfish a passer on the king side. Leela gave another pawn in the center, Stockfish gave it back and created another passer. Stockfish reduced to a king and pawns ending and saw the win. Both engines queened but Stockfish gave check first, then queened again and mated. There were two white wins in this game pair, Stockfish leads 29-16.

Games 95-96 started with a rare sideline of the KID Saemisch variation, the center was blocked and all pawns and pieces were on the board. In game 95 the engines exchanged pawns and knights on the queen side. Evals dropped after the black queen moved forward, queens were exchanged and the white king moved without castling. The engines opened the king side, then a series of exchanged reduced to a RB vs RB position. Leela captured a pawn, its eval increased just before adjudication. This only delayed the game's end by a few moves.

In game 96 Stockfish castled its king, the engines exchanged pawns and knights on the queen side and opened the v file. The engines seemed to shuffle but Stockfish's eval slowly increased after move 27, Leela's eval stayed around 1. On move 35 Stockfish pushed a pawn on the king side and exchanged a pair of pawns, then moved major pieces to the g file.

Leela's eval jumped over 2, it tried to defend the g6 pawn with all pieces it could get. The engines exchanged a pair of bishops, Stockfish took its time to get a second rook on the g file and move the queen behind the rooks. Then it moved the pawn to f6 and brought the knight to e7, forcing a knight for rook trade. The g file opened and the game reached a QRB vs QBN position. 

Stockfish captured a pawn after exchanging bishops, then it gave the rook for a knight and captured a second pawn. The two pawns advantage was enough for a win in the queen ending, the game ended in mate. Stockfish wins the game pair, it leads 30-16.

Games 97-98 started with a 22-ply sideline in the Sicilian, Scheveningen variation, with all pieces on the board and one pair of pawns exchanged. In game 97 Leela pushed pawns on the king side, a pawn exchange on the queen side opened the a file. Leela captured a pawn and exchanged a pair of rooks, its eval slowly increased. Leela thought Stockfish will exchange pawns on the king side, when that didn't happen Leela's eval dropped. On move 25 the engines started to exchange pawns and pieces, Stockfish gave a bishop and the game reached a QBB vs QB position. Stockfish had connected passers on the king side, Leela gave back a bishop to capture one passer. The white king was exposed and the black queen gave checks until the game ended in a 3-fold repetition.

In game 98 Stockfish thought Leela's first move after book was a mistake. Leela didn't expect Stockfish's response and its eval jumped immediately over 2.5. Stockfish attacked the king side, it sacrificed a knight and then Leela gave its queen for a rook. Stockfish let Leela capture another rook, it had a strong attack on the black king and Leela still had a rook and a bishop undeveloped on the queen side. 

Stockfish moved a bishop to h6, Leela offered a rook for the bishop but Stockfish preferred to keep its bishop pair. After trading bishop for knight Stockfish used a mate threat to capture a rook. The game reached a Q vs RB ending, Stockfish pushed a passer on the king side. Leela stopped the passer on the 7th rank, then lost the bishop and the game ended in a tablebase win. Stockfish wins the game pair, it leads 31-16.

Games 99-100 started with the main line of the Czech Benoni defense, the center was blocked and all pieces and pawns were on the board. In game 99 Leela pushed pawns on the king side and the white king went there without castling. Leela's eval slowly increased, after move 19 the engines exchanged pawns and opened the king side. The f file opened and the engines exchanged a pair of rooks on move 29, first piece exchange. Both engines had a passer in the center, more minor pieces were exchanged and both kings were left without any pawns protecting them.

Material was equal but the black e pawn was hard to defend. Leela first got its king to the center for safety, then exchanged queens and only then captured the e pawn. In a RBN vs RBN position Leela exchanged pawns on the queen side and then slowly captured the remaining black pawns. There were two connected white passers left, Stockfish could only delay with checks but eventually Leela queened. Stockfish lost material and the game ended in a tablebase win.

In game 100 the engines exchanged a pair of bishops, Stockfish pushed the h pawn and castled long. More minor pieces were exchanged, Stockfish pushed the pawn to h6 and the engines started to shuffle. Stockfish had a pair of advanced knights, but with all pawns on the board the major pieces could do nothing. On move 62 Stockfish gave a pawn, on move 98 the engines exchanged queens. Shuffling continued with evals at 0, the game was adjudicated on move 167 after enough pieces were exchanged. Leela wins the game pair, Stockfish leads 31-17.


Saturday, June 1, 2024

Season 26 superfinal games 81-90

After 90 games Stockfish leads 28-15 with 47 draws. Stockfish won 3 game pairs without loss, increasing its lead to +13 with 5 game pairs left to play. Leela hasn't been able to win a game pair for 16 straight pairs, it is not making a comeback this season. There was on game pair with two white wins. 

Games 81-82 started with a line in the QGA, central variation, played in high level human games. All pieces were on the board, black was a pawn up and had a passer in the center. In game 81 there was a long PV agreement at the start, the engines exchanged minor pieces, Leela regained the pawn and attacked the black king. Stockfish moved its exposed king without castling, Leela captured two more pawns and cleared the black king side. There were 4 connected white passers but the white king was behind them. Stockfish captured one passer and Leela's eval dropped. In a series of exchanges the engines reduced to a RB vs RB position. Leela was two pawns up with a passer on the 7th rank, Stockfish also pushed a passer to the 2nd rank. Both evals were close to 0 and the game was adjudicated.

In game 82 Leela kept the pawn and kept its king safe, Stockfish's eval jumped when Leela castled its king and allowed a king and rook fork, losing a rook for a knight. Two moves later Leela's eval jumped even higher. Stockfish opened the c file and moved a rook forward, Leela pushed a pawn on the king side that reached h3 and the white king hid behind it. Stockfish used all its pieces to threaten the black king, Leela exchanged pieces and pawns, on move 44 the game reached a RR vs RB position.

Stockfish created a passer on the queen side, then managed to confine the black king on the h file. A zugzwang on move 62 forced Leela to move its blocking rook, Stockfish used mate threats to push its passer and gain more material. Stockfish queened and the game ended in a tablebase win. Stockfish wins the game pair, it leads 25-14.

Games 83-84 started with a rare sideline in the Robasch defense. In game 83 the engines castled in opposite directions. For one move Leela's eval spiked close to 2 after a 12 minute think, Stockfish surprised with a pawn push on the queen side and both evals dropped. The engines opened files and exchanged pieces rapidly. Stockfish was a pawn up in a QB vs QB position, Leela regained the pawn and exchanged queens, the game was adjudicated very early on move 34.

In game 84 the engines repeated the reverse game for 11 plys and castled in opposite directions. The black queen moved forward on the queen side, the engines exchanged pawns and minor pieces there. Stockfish captured a pawn, most of the black pawns on the queen side were gone and the black pieces there were a threat to the white king. Stockfish exchanged a pair of rooks and protected its pawn on e5 that kept the long diagonal closed. Leela's eval dropped on move 28, Stockfish's eval dropped 2 moves later. The engines exchanged pawns on the king side and opened files but it seemed Leela found a way to hold a draw. On move 38 Stockfish's eval jumped back up, Leela was surprised by the next white move.

The white bishop was hanging but Leela didn't take because of the threat of Qh4, allowing Stockfish to capture back and also threaten the black king. Stockfish had to be careful because Leela had mate threats as well, but Stockfish kept its king safe. Eventually Stockfish gave a bishop for a pawn and then captured the black knight so it was two pawns up. It chased the black king to the queen side and protected against a back rank mate.

Stockfish exchanged queens and captured the remaining black pawns. It was 3 pawns up in a RN vs RB position and the win was just a matter of time. Leela avoided exchanges, Stockfish pushed its passers forward and mated in the end. Stockfish wins the game pair it leads 26-14.

Games 85-86 started with the Old Indian, Tartakover variation, with the white queen out on the queen side. In game 85 Leela pushed a pawn on the king side, Stockfish captured it and opened the g file. The engines exchanged most minor pieces and both castled long. Leela regained the pawn and captured another one, evals slowly increased. Stockfish placed its pieces around the king and waited for the attack, on move 41 the engines exchanged a pair of rooks and the game reached a QRB vs QRN position. 

Leela attacked the center and opened the e file. After another pawn trade Leela created a passer on the king side. The engines exchanged queens and Leela pushed its passer. Stockfish lost more material as it created its own passer on the queen side. However Leela queened and the game ended in a tablebase win.

In game 86 the engines repeated the reverse game for 25 plys, exchanging most minor pieces and opening the g file, Leela was up a pawn. Stockfish moved its king to the king side without castling, stabilized its pawns and then reduced to a QRR vs QRR position. Leela castled long and Stockfish captured two pawns on the king side. On move 35 the engines exchanged a pair of rooks, evals were already high.

Stockfish captured a pawn on the queen side while Leela tried to attack from the king side. The black queen moved forward and the engines exchanged rooks. Stockfish saw the win in the queen ending though it was a long endgame. Leela captured a pawn, the white king move forward and captured two pawns in the center. Stockfish pushed passers forward and Leela lost its queen, the game ended in mate. There were two white wins in this game pair, Stockfish leads 27-15.

Games 87-88 started with a 20-ply sideline in the Nimzo-Indian, Saemich variation. The center was blocked with one pair of pawns exchanged and all pieces were on the board. In game 87 the engines played mostly behind their pawn lines, Leela's eval increased for a while and then came back down again. Stockfish exchanged a pair of pawns on the queen side, then blocked it with pawns and pieces. Leela was left without knights after an exchange, Stockfish also exchanged its last knight. Leela doubled rooks on the g file and used mate threats to capture a pawn. Stockfish doubled rooks on the a file and kept its king safe. After some shuffling the engines exchanged a pair of rooks, the game was adjudicated after queens were exchanged. 

In game 88 Leela pushed the g pawn early and Stockfish thought that was a mistake. Leela's eval stayed low while Stockfish exchanged a pair of pawns on the king side and doubled pawns on the f file. On move 19 Leela's eval spiked over 3, but Stockfish did not play what Leela expected and its eval dropped back. Then there was a series of exchanges, Leela's eval increased back to around 2 and the game reached a QRB vs QRN position.

Leela was a pawn up and its king seemed reasonably safe, but still evals were high and increasing. Stockfish shuffled and repeated for a long time, the focus was on the f6 pawn. After a while Stockfish managed to get the black king away from the pawn. Leela did not have enough defenders and it lost the pawn, the black king ran to the queen side. 

Stockfish gave a pawn in the center and created a passer, then exchanged queens. The passer moved forward, Stockfish gave a rook for a knight and queened the passer. The game ended in mate. Stockfish wins the game pair, it leads 28-15.

Games 89-90 started with a sideline of the French Winawer, advance variation. In game 89 the white queen moved forward on the king side, after a minor piece exchange the black king moved without castling. Leela gave a pawn and opened the b file, Stockfish exchanged a pair of rooks and reduced to a QRN vs QRN position. The engines started to shuffle, with a few pawn moves and pawn exchanges. Stockfish's eval was 0, Leela lowered it eval after a series of exchanges on move 111 that included the rooks, the game was adjudicated a few moves later. In game 90 the engines repeated the reverse for 26 plys with transpositions, the black king moved without castling, Stockfish gave a pawn and the b file was open. Again the engines reduced to a QRN vs QRN position, then started shuffling with a few pawn moves. Evals came slowly down, on move 114 Stockfish gave pawns, the game was adjudicated after a knight for rook trade.