i know this is old but this is why i dont use bulbapedia. for the sleep your mostly correct, mostly cause its not really random its a chance every turn to wake up, starting with a slim chance and escalating to a 100 % chance on the last turn. lets take current sleep for example, current sleep works as turn 1 has 0% chance to wake up, turn 2 is a 25% to wake up, and turn 3 is a 50% to wake up with turn 4 having a 100% wake up chance. though this is predetermined in usum when you enter battle. thats all i have for sleep, as for freeze, in gen one its any fire type attack move that can burn, not just any fire type attack move. that little inclusion is needed cause fire spin cant burn and will never thaw a frozen pokemon. like how body slam cant paralyze normal types in gen 1 (yes, thats an actual thing)