Do you know if all these checks are documented somewhere (other than the source code)?
The "beginner chess engine" for the wiki is here: https://www.chessprogramming.org/CPW-Engine (focusing on readability instead of optimizations)
For the heuristics of stockfish themselves, see https://hxim.github.io/Stockfish-Evaluation-Guide/
Do you know if all these checks are documented somewhere (other than the source code)?