Comment

Comment by mkoryak

I thought that maybe the ranking was real.. no its not

  function getRank(score) {
    // TODO we should add a real ranking one day
    var ONE_BARELY_REACHES_THIS_SCORE = 200;
    return Math.floor(100 * Math.min(Math.E * score / (ONE_BARELY_REACHES_THIS_SCORE * Math.PI), 1));
  }
parent mkoryak 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton