>>529166363
Both the dev mode command and normal births calculate the same way, using PregnancyUtility.ApplyBirthOutcome.
You can use DNspy or ILspy and decompile the game's source code to check this.