The random number generator says something like "RNG between 0 and 1 generates the number 1". This is true for go (as it is in an int), but Python (as a comparison) generate sas float within that interval.
This should be made clearer by type-converting it to a bool deliberately or similarly, making that more apparent.
Section
Pillar 2: Distributed Tracing
Lecture
Status
Time Code
5:33
What happened?
The random number generator says something like "RNG between 0 and 1 generates the number 1". This is true for go (as it is in an int), but Python (as a comparison) generate sas float within that interval.
This should be made clearer by type-converting it to a bool deliberately or similarly, making that more apparent.
H/T to @alexpovel