I recently noticed that the analysis graph is divided by sections, the opening, middle game and endgame, im very interested to know how the engine defines each of those stages, in details if possible :P
I think it's calculated fairly well, but I'm also curious to know how this is determined.
I am almost certain it's not Stockfish (the engine) determining this. I'm curious how lichess determines it.
No I'm pretty sure lichess determines it, but through stockfish's algorithm.
For those actually interested in stockfish's code that determines the game phase.
http://pastebin.com/8Haii8D1Seems to be based on pawn material.