>>/20/
I have added the requested functionality. You can turn it on with the flag --check-type
$ renum --rand --ranstr --check-type
There is a visible performance decrease but this should start to get all of the edge cases that you mentioned. Try it out and tell us how it works for you. Thanks for the idea. Cheers.