Hi,
starting with badges, I shortly discussed with Rytis how to make it and
than made some things similar and others different.

I have 2 tables work_team and work_user. As Rytis proposed I have a row
for each subproject and user, as Rytis proposed, to be open for upcoming
subprojects. The validator fills the tables. Also for the export I tried
to use Rytis xml format. The structure of the tables is simply:
- id: user- or teamid
- appid: the appid, since different subproject is a different appid
- wus: number of valid wus
- credit: total granted credit

I have also no rights to provide content to svn. I think this could be
added somewhere on a central method, where credits are inserted. The
only addOn is to count credits and number of wus based on appid.

yoyo

Rytis Slatkevičius wrote:
> The way PrimeGrid has implemented it is 3 tables (work_user, _team, _host)
> that are populated with data by validator. We use a column per subproject
> and a row per entity (user, team or host), however, a much more universal
> way would be to keep each subproject in a separate row (so a user would have
> multiple rows if he participates in multiple subprojects). That way you
> would not need to change table structure when a new subproject is added.
> I am sorry, but I can't contribute code to the BOINC source tree, because my
> validator is a completely custom one (written in Perl, a remnant from
> PerlBOINC times).
> As for WCG, they do seem to already be collecting data for badges, so maybe
> it would be easier for them to simply contribute their code.
>
> On Wed, Aug 5, 2009 at 7:18 PM, Phil <[email protected]> wrote:
>
>   
>> The Primegrid and y...@home projects provide an extra level of statistical
>> detail with subproject credit breakdown and an associated export file for
>> this http://www.primegrid.com/stats/
>>
>> I assume it entails an extra table(s) and code changes to populate the
>> table.
>>
>> I've asked World Community Grid if they can produce an equivalent, seeing
>> as
>> they have subprojects -
>>
>> http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=26299&lastpage=yesand
>> they have asked if the code changes are integrated into the BOINC
>> server. Is there any interest in integrating them in a way that allows them
>> to be switched on if subprojects are utilized at all ?
>>
>> Phil
>> --
>> Distributed Computing stats
>> http://stats.free-dc.org
>> _______________________________________________
>> boinc_dev mailing list
>> [email protected]
>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
>> To unsubscribe, visit the above URL and
>> (near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to