usgo / agagd

American Go Association Games Database (AGAGD)
https://agagd.usgo.org
MIT License
47 stars 30 forks source link

Rating graph scales show possible floating point errors #57

Open hyperpape opened 5 years ago

hyperpape commented 5 years ago

Sometimes rating graphs seem to have floating point error. For instance, https://agagd.usgo.org/player/12986/ currently shows ticks with values -4.4, -4.2, -4, followed by what I presume are 3.80000003, 3.600000005, 3.40000003, or something similar (the actual 3.8, 3.6, etc. are clipped and do not appear). The following tick is -3.2, then more long decimals.

I don't know if this is a limitation of a library being used, or if it can be worked around.

vash3g commented 4 years ago

There is an issue with this user as their ratings page is only showing three tournaments yet they have played in more: https://agagd.usgo.org/ratings/12986/