Ah, I wish we could ban these cheats altogether. Because if you use them skillfully and analyze each move, then... (it's better not to even think about it. If they were playing a game with a thousand greens here.... :) :)
In offline tournaments, it's impossible to ban cheats in the sense that any player can conduct a preliminary reconnaissance of the starting save using any available method (for example, finding the map and viewing it in the editor), if only to save their own real time so that they don't have to replay it several times. Thank you, Prorock, for sharing the code. It's invaluable for preliminary reconnaissance. It might be useful next time.