Advertisement
Guest User

Time score calculation

a guest
Jul 3rd, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. (((top10%-pb) / (top10%-wr)) * 0.5 + 0.5 if in top 10%,
  2. ((top40%-pb) / (top40%-top10%)) * 0.45 + 0.05 if in top 40%,
  3. ((top70%-pb) / (top70%-top40%)) * 0.045 + 0.005 if in top 70%,
  4. ((top90%-pb) / (top90%-top70%)) * 0.005 if in top 90%,
  5. 0 if placed lower)
  6.  
  7. wr - world record time
  8. pb - your replay's time
  9. top10% - ⌈0.1 * n⌉th position's time (aka the top 10%'s skill level)
  10. top40% - ⌈0.4 * n⌉th position's time (aka the top 40%'s skill level)
  11. top70% - ⌈0.7 * n⌉th position's time (aka the top 70%'s skill level)
  12. top90% - ⌈0.9 * n⌉th position's time (aka the top 90%'s skill level)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement