| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
![]() |
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 6
|
|
| Author |
|
|
keithhenry
Ace Cruncher Senile old farts of the world ....uh.....uh..... nevermind Joined: Nov 18, 2004 Post Count: 18667 Status: Offline Project Badges:
|
Okay, at some point in the reasonably near future, points are going to be converted to credits. I need to do the same with historical team data I've saved. I have basically the data from the Team Member Details and Statistics page so what I'll be converting is each member's total points at the end of each day. I don't know if what WCG stores internally in its DB is the same sort of data or daily deltas but I'd tend to bet on the former. Dividing by seven does not typically yield nice even results. I would expect I'll need to round the result up (0.5+) or down (0.49-) after some number of decimal places - I presume no more than one or two. Working with totals, I should only need to properly convert it and not have to worry about making sure all the numbers for a member for day after day add up to the same number that the total converts to. I think I will need to make sure the rounded converted individual member numbers for a given day add up to the rounded converted number that is that day's total for the team. If i do this, I think the numbers over time for a given member will remain accurate, especially since they are cumulative totals anyway. Are my thoughts reasonably accurate? Are there details I've missed?
---------------------------------------- |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
BOINC works with non-integer credit. You may have to change some of the columns in your database.
|
||
|
|
keithhenry
Ace Cruncher Senile old farts of the world ....uh.....uh..... nevermind Joined: Nov 18, 2004 Post Count: 18667 Status: Offline Project Badges:
|
BOINC works with non-integer credit. You may have to change some of the columns in your database. Yes I know. You can see that on the Results Status page. There the Claimed and Granted credits have one decimal place but I suspect that's rounded from an actual two decimal place number. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
More like six. They are stored in double precision, I think, and exported with 6dp. World Community Grid displays them with 1dp, and displays totals rounded to an integer.
|
||
|
|
Crystal Pellet
Veteran Cruncher Joined: May 21, 2008 Post Count: 1414 Status: Offline Project Badges:
|
More like six. They are stored in double precision, I think, and exported with 6dp. World Community Grid displays them with 1dp, and displays totals rounded to an integer. Just showing an example in a BOINC project: Granted credit 1.77746456755001 |
||
|
|
JmBoullier
Former Community Advisor Normandy - France Joined: Jan 26, 2007 Post Count: 3716 Status: Offline Project Badges:
|
Keith,
----------------------------------------The safest way to avoid accumulating rounding errors is to keep the precision offered by your input (it seems that it is 6 decimals here) and to round figures as you need or like only when you display or print them. Cheers. Jean. |
||
|
|
|