
2008-08-16, 00:07
|
 |
round the world
Administrator
|
|
Join Date: Jul 2001
Location: San Francisco
Posts: 979
|
|
Quote:
|
Originally Posted by MetalThrashingMad
Quick question, what does the "Top 20 bands" on the homepage mean? How is the score/percentage determined? 
|
When someone opens a tab, this hit is registered in the database. Once an hour we calculate the number of hits for each band as a sum of hits of all their tabs.
We then sort the bands by the number of hits in the last 2 weeks. The top band gets 100%, the other bands - the percentage of the number of hits of the top band.
For example, if we have bands X, Y and Z with 1000, 2000 and 1500 hits, the list will be:
Y - 100% (100%*2000/2000)
Z - 75% (100%*1500/2000)
X - 50% (100%*1000/2000)
__________________
I ride too fast to worry about cholesterol...
|