According to this question and this question, the visits/day metric on sites' Area 51 page is calculated as the median number of visits per day over the previous 14 days. At the moment, the Area 51 page for the Mathematica site is showing a figure of 718.

But on the main StackExchange site's listing of sites, it's 717. That's also the number showing in the little box on the front page of the site.

It's a trivial difference, but it got me wondering if there was some kind of rounding bug or inconsistent calculation methods going on. Are the calculations different?

1 Answer 1


Good catch – the code was slightly different. Area 51 rounded to the nearest integer, while Stack Exchange always rounded down. Stack Exchange has been updated to also round to the nearest integer, so the two numbers should match now.

  • Glad I could help! I am just surprised that rounding is necessary if the median is used, per this answer. Perhaps the answer should be updated?
    – Verbeia
    Commented Feb 29, 2012 at 20:07
  • 1
    @Verbeia When there is an even number of values, the median is the mean of the two middle values.
    – Emmett
    Commented Feb 29, 2012 at 21:57
  • Oh duh, of course. I should know that - obviously too early in the morning here in Oz.
    – Verbeia
    Commented Feb 29, 2012 at 22:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .