How do I get the rank?

5 rating version
1586.54529969856 overall rating
25.6019531140177 ranking

These are the numbers I have access too. How do I understand what rank they are?

30 - this number I think.

What the the kyu vs dan numbers?

When it’s positive I believe it’s a kyu number.

So 30-25.6…≈4.4kyu

If it’s negative I think it might take the absolute value (effectively) and add one since there’s no 0dan.

So |30-31.1| + 1≈2.1 dan

I think this might be the relevant code


eyyy I got it thnx