lichess.org
Donate

Beware of the transpositions!

I've just imported a game to be analyzed here. However, the opening it says is wrongly called "A04: Zukertort Opening, Black Mustang Defense", since if you look at the position after move 5.d4 it's should be "C68: Spanish, Exchange, Lasker Variation" instead. Here's the game: http://en.lichess.org/BEkKbHBP

Is there a way to fix such bugs that eventually might happen on another upcoming games? How long does lichess' database goes on deciding an openings' name? Thanks in advance.
I think this is the code used to identify openings:
http://github.com/ornicar/scalachess/blob/master/src/main/scala/Openings.scala#L17-L3050
http://github.com/ornicar/scalachess/blob/master/src/main/scala/OpeningExplorer.scala#L40-L52

Arguably maybe a more accurate approach would be to compute the FEN (http://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation) of each classification and compare that to your game's FENs for the first 20 moves or so, but I don't know how much server overhead that would require...
Yeah, I've asked before about why the analysis doesn't recognize transpositions, but I don't remember what the answer was. I think it had to do with resources like Toadofsky said. Technically it isn't a "bug" per se, it's simply that transpositions are simply not identified at all by the current design.

This topic has been archived and can no longer be replied to.