Comment on Fun fact: you can't upload this image on piefed.social
BB84@mander.xyz 1 week agoUsually 0/0=NaN and NaN compared with a number would be false.
Maybe the (up-down)/(up+down) is just what AmazingWizard summarized from the code. But from what we have seen of the quality of that codebase I won’t be surprised if it’s literally this expression, division by zero and all. Lol
Edie@lemmy.ml 1 week ago
Here’s recalculate_attitude, line 1268 checks that they have at least made 10 votes.