Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 902 times and has 5 replies Next Thread
keithhenry
Ace Cruncher
Senile old farts of the world ....uh.....uh..... nevermind
Joined: Nov 18, 2004
Post Count: 18667
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Question for the Great Wizard, ie. the great point conversion biggrin

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?
----------------------------------------
Join/Website/IMODB



[Jan 7, 2009 5:08:33 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Question for the Great Wizard, ie. the great point conversion biggrin

BOINC works with non-integer credit. You may have to change some of the columns in your database.
[Jan 7, 2009 5:17:28 AM]   Link   Report threatening or abusive post: please login first  Go to top 
keithhenry
Ace Cruncher
Senile old farts of the world ....uh.....uh..... nevermind
Joined: Nov 18, 2004
Post Count: 18667
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Question for the Great Wizard, ie. the great point conversion biggrin

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.
----------------------------------------
Join/Website/IMODB



[Jan 7, 2009 5:23:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Question for the Great Wizard, ie. the great point conversion biggrin

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.
[Jan 7, 2009 5:28:29 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Crystal Pellet
Veteran Cruncher
Joined: May 21, 2008
Post Count: 1414
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Question for the Great Wizard, ie. the great point conversion biggrin

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
[Jan 7, 2009 1:59:50 PM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Question for the Great Wizard, ie. the great point conversion biggrin

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.
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Jan 7, 2009 3:21:53 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread