Changes between Version 10 and Version 11 of XmlStats


Ignore:
Timestamp:
May 19, 2014, 12:23:38 AM (11 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XmlStats

    v10 v11  
    11= Project statistics data =
    22
    3 Projects export statistics data in XML-format files. Most projects regenerate the files every 24 hours. These files are contained in a download directory, usually PROJECT_URL/stats/.
     3Projects export statistics data in XML-format files.
     4Most projects regenerate the files every 24 hours.
     5These files are contained in a download directory, usually PROJECT_URL/stats/.
    46
    57The download directory contains the following files:
    68
    79 '''tables.xml'''::
    8         This gives the total number of records for each entity type (team, user, and host). It also includes the UNIX time when the files were last generated, and a list of the project's applications, with counts of various things. For example:
     10        This gives the total number of teams, users, and hosts.
     11        It also includes the UNIX time when the files were last generated,
     12        a list of the project's applications,
     13        and the list of [BadgeDoc badges] defined by the project.
     14        For example:
    915{{{
    1016<tables>
     
    2329        ...
    2430    </applications>
     31    <badges>
     32       <badge>
     33           <id>10</id>
     34           <name>user_pct_2</name>
     35           <title>Top 25% in average credit</name>
     36           <image_url>img/pct_25.png</image_url>
     37       </badge>
     38         ...
     39    </badges>
    2540</tables>
    2641}}}
     
    3247 '''user.gz'''::
    3348        List of users
     49 '''badge_user.gz''':: list of user badge assignments
     50 '''badge_team.gz''':: list of team badge assignments
    3451
     52The format of the various XML elements in the output files is as follows.
     53 Notes:
    3554
    36 The format of the various XML elements in the output files is as follows.  Notes:
    37 
    38  * `<cpid>` ('[CrossProjectId cross-project identifier]') is a unique identifier across multiple projects. Accounts with the same email address on different projects will have the same cross-project identifier (as long as at least one computer is attached to both accounts).
    39  * All 'expavg_credit' values were computed at some point in the past (given by 'expavg_time'). To compute their current values, they must be scaled according to the [CreditStats#rac-decay RAC decay formula].
    40  * Text fields may contain XML entities. If you aren't using a real XML parser, you need to decode the entities yourself.
     55 * `<cpid>` ('cross-project identifier') is a unique identifier across multiple projects.
     56  Accounts with the same email address on different projects will have the same cross-project identifier
     57  (as long as at least one computer is attached to both accounts).
     58 * All 'expavg_credit' values were computed at some point in the past (given by 'expavg_time').
     59  To compute their current values, they must be scaled according to the
     60  [CreditStats#rac-decay RAC decay formula].
     61 * Text fields may contain XML entities.
     62  If you aren't using a real XML parser, you need to decode the entities yourself.
    4163
    4264'''Team summary'''