1) Accuracy formula
Move accuracy is derived from centipawn loss (CPL): the difference between the engine's best move and the move played. Lower CPL means better practical accuracy.
This creates gentle penalties for small slips and steep penalties for large tactical misses. It mirrors how mistakes feel in real games.