meooow25 / carrot

A browser extension for Codeforces rating prediction
MIT License
114 stars 4 forks source link

Rating performance shouldn't be Infinity for rank 1 #36

Closed ryski closed 3 years ago

ryski commented 3 years ago

Hey,

I have observed that this extension is showing rating performance as infinity for rank 1. I don't think it should be that, maybe there are some off by one errors in the code?

image

meooow25 commented 3 years ago

Hi, that is working as intended.

Performance is the rating at which your delta would be zero.
But if you're rank 1, you always get a positive delta regardless of your rating.
I've chosen to show that as inf performance.