Simply having the same script return the same results when given same parameters would be enough for me, but obviously even that seems to be too much to ask.
And working on K1R, I've had random instances where messing with a global and then quitting the game at certain times will make the game CTD instead of actually quitting.