"Penalty for Illegal Moves The penalty for the first illegal move is to add two minutes to the opponent's time. A second illegal move results in loss of the game.".
https://new.uschess.org/sites/default/files/media/documents/...
" # Add more cases for other piece types such as rooks, knights, bishops, queens, and kings. # ... "
So not great..
But even if it wasn't so lazy it would just find a script (or multiple scripts) which say that they do that. Probably combine them or add some minor stuff and output the result.
It can't really verify that data it used to come up with this result is accurate or reason about it in any way? Can it?
So if you're incapable of verifying that yourself it would be pretty useless?