ONGEKI:Rating: Difference between revisions

m
use trunc()
m (technically more correct)
m (use trunc())
 
Line 4: Line 4:


== Chart rating ==
== Chart rating ==
Per-chart rating value is based on [[Internal level|internal level]] and Technical Score. It is calculated as follows, with <code>floor2</code> defined as floor for two decimal places:
Per-chart rating value is based on [[Internal level|internal level]] and Technical Score. It is calculated as follows, using [[wikipedia:Truncation|truncation]]:


<math>ChartRating = max(InternalLevel + floor2(ScoreCoefficient), 0)</math>
<math>ChartRating = max(InternalLevel + trunc(ScoreCoefficient, 2), 0)</math>


Score coefficient is calculated linearly between:
Score coefficient is calculated linearly between:
Line 19: Line 19:
== Profile rating ==
== Profile rating ==


<math>ProfileRating = floor2 \left (\frac{OldBest30 + NewBest15 + Recent10}{55} \right)</math>
<math>ProfileRating = trunc \left (\frac{OldBest30 + NewBest15 + Recent10}{55}, 2 \right)</math>


[[ONGEKI:LUNATIC|LUNATIC]] 0 charts and [[:Category:ONGEKI_Bonus_Tracks|Bonus Tracks]] are excluded.
[[ONGEKI:LUNATIC|LUNATIC]] 0 charts and [[:Category:ONGEKI_Bonus_Tracks|Bonus Tracks]] are excluded.
5

edits