Hi there, this mod inspired me to make an actual randomizer for factorio.
https://mods.factorio.com/mod/randotorio
Still haven't gotten the math quite right, but i believe this is sort of what you were aiming for with this mod.
Posting this as you may be interested.
No code was taken or referenced from FactorioRandomizer in the making of Randotorio.