TeamStatsFile

From FaHWiki

Jump to: navigation, search

General

The Team Stats file is available in both HTML and text form.

Only for the top n teams are these files generated. If a team drops below the rank of n-2, the files will not be generated any more, but the last ones will not be removed either. The value of n seems to vary, at one point in time it was 1240, at a later time it was 1674, right now it may be different again. Originally the files where generated for the top 500 team, later for the top 1500.

All the Team Stats files are available at:
http://fah-web.stanford.edu/teamstats/
They are updated every 3 hours.
This may have changed to once a day according to Folding-community: individual team stats update

The HTML file of the teams are linked on the team stats CGI page if is available, and contains the exact same information as the text file.
These team stats text files were created to be used by 3rd party stats applications to reduce the load on Stanfords servers.
Therefor if you create an application which uses stats for one or more teams, you should use the team stats text files instead of the CGI webpages.
In the case that there are no team stats files for the team you need the data for, you can grab the CGI page for that team, but DO NOT crawl through the CGI pages. Your IP will be banned if you do crawl the CGI pages.
If you only want the stats for one or more teams you could also consider the Full team list (daily_team_summary.txt). This file contains only the overall score and number of work units for all the teams, but not the team members, sorted by rank.

Format

The file contains the rank, ID, name, total score and the number completed workunits for the team. And the list of team members, with their rank in the project, rank in the team, username, total credits, completed work units and team ID sorted by rank.

The filename of each file is "team$ID.txt" or "team$ID.html", where $ID is the team ID.

How the file is structured can be seen below, where the first 15 lines of the file team1.txt are shown.

FOLDING@HOME TEAM STATS: Team # 1


Sat Mar  4 09:00:00 PST 2006
team    teamname        score   wu
1       Pande Lab       6743699 112556
Team rank: 85
 
Team members:
rank    team rank       name    credit  total   team
94      1       Ronald_Eddy     2548907 41904   1
971     2       DataKrusher     560706  6087    1
5127    3       mdm228  157532  2690    1
9172    4       kbrandenburg    94024   328     1
9486    5       pmerz2  91236   1933    1

Line 1 indicates that the file holds the Folding@Home Team Stats for Team number 1.
Line 4 has the timestamp on which the file was generated.
Line 5 has a tab separated list of key names for the values on line 6.
Line 6 has a tab separated list of values for the names on line 5.
Line 7 indicates the rank of the team in the project.
Line 9 indicates that the following lines contain the team member data.
Line 10 has a tab separated list of key names for the values on the lines below it.
Line 11 until the end of the file has a tab separated list of values for the keys on line 10, one line for each team member.

It is possible for a single team member name to be listed multiple times. This is because the name listed is a substring of the real username registerd by Stanford. If the real username is an emailaddress, the name used in the text file is username part of the email address: username@domain.tld. [1]

Links

Personal tools