create account

The math behind Recent Average Credit (RAC) by caleb23

View this thread on: hive.blogpeakd.comecency.com
· @caleb23 · (edited)
$10.45
The math behind Recent Average Credit (RAC)
<html>
<p>Greetings fellow BOINCers and Gridcoin enthusiasts!</p>
<p>While working on a <a href="https://github.com/gridcoin-community/Whitepaper">proposed version of the Gridcoin whitepaper</a>, I got involved in trying to sort out exactly how Recent Average Credit (RAC) is calculated in the BOINC source code (the exact location in the source code is <a href="https://github.com/BOINC/boinc/blob/master/lib/util.cpp">here</a>). I was a bit confused at first. Since I'm actually a theoretical physicist by trade, I set out to make sense of RAC in my own terms. The explanation I came up with can be downloaded <a href="https://github.com/gridcoin-community/Whitepaper/blob/master/RAC_calculation_note.pdf">here</a>.</p>
<p>I realize people have discussed RAC elsewhere (see links below), but I hope my explanations can shed some additional light. I know in particular this may be useful to the Gridcoin community. Since RAC translates directly into a researcher's magnitude, and thereby Gridcoin payouts, we want to make sure RAC is calculated in a way that, among other requirements, 1) accurately captures a researcher's average contributions on a project-by-project basis, and 2) is hard to unfairly manipulate to get more GRC. In the long run, one could ask whether RAC is even the <em>best</em> way of quantifying researcher contributions. At any rate, an understanding of how RAC works mathematically is important for making Gridcoin secure and fair.</p>
<p>Disclaimer: Physicists and mathematicians are notorious for making really dumb mistakes. I sincerely hope there are none in my write-up. Per the academic parlance, I at least hope my explanations are "correct in spirit."&nbsp;</p>
<p>Finally, although I wrote the linked write-up myself, the basic scaffolding was taken from an early version of <a href="https://github.com/gridcoin-community/Whitepaper/blob/master/rewardingresearches.tex">this document</a>. In addition, a discussion similar to mine can be found <a href="https://steemit.com/gridcoin/@jefpatat/the-math-behind-boinc-rac">here</a>. The main differences are that my approach takes an alternative starting point, and is also more formal from a mathematical point of view. Lastly, there is some background information in <a href="https://steemit.com/gridcoin/@hotbit/rac-and-grc-rewards-for-dummies-calculate-you-maximum-rac-in-5-seconds">this post</a>.&nbsp;</p>
<p>I welcome any thoughts/feedback. If you find any errors, feel free to point them out in the comments.</p>
<p><br></p>
</html>
👍  , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorcaleb23
permlinkthe-math-behind-recent-average-credit-rac
categorygridcoin
json_metadata{"tags":["gridcoin","boinc"],"links":["https://github.com/gridcoin-community/Whitepaper","https://github.com/BOINC/boinc/blob/master/lib/util.cpp","https://github.com/gridcoin-community/Whitepaper/blob/master/RAC_calculation_note.pdf","https://github.com/gridcoin-community/Whitepaper/blob/master/rewardingresearches.tex","https://steemit.com/gridcoin/@jefpatat/the-math-behind-boinc-rac","https://steemit.com/gridcoin/@hotbit/rac-and-grc-rewards-for-dummies-calculate-you-maximum-rac-in-5-seconds"],"app":"steemit/0.1","format":"html"}
created2017-11-16 20:31:42
last_update2017-11-17 05:02:33
depth0
children8
last_payout2017-11-23 20:31:42
cashout_time1969-12-31 23:59:59
total_payout_value7.900 HBD
curator_payout_value2.554 HBD
pending_payout_value0.000 HBD
promoted0.138 HBD
body_length2,522
author_reputation87,150,140,963
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,609,630
net_rshares4,883,011,298,105
author_curate_reward""
vote details (22)
@jringo ·
I swear I'll learn how to math some day soon. xD
👍  
properties (23)
authorjringo
permlinkre-caleb23-the-math-behind-recent-average-credit-rac-20171116t220037448z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-11-16 22:00:36
last_update2017-11-16 22:00:36
depth1
children3
last_payout2017-11-23 22:00:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length48
author_reputation29,720,071,239,659
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,615,636
net_rshares297,128,320
author_curate_reward""
vote details (1)
@caleb23 ·
$0.03
I know it's pretty math-y, sorry..... :P

Well, at least the formulas are all there in one place -- hopefully people find that useful :)

On a connected note, the community will eventually have to agree on how to discuss RAC in the whitepaper. Probably the math should be toned down somewhat in favor of more intuitive explanations (or the nitty-gritty math should just be shoved to an appendix). But I'll let other people decide on that.
👍  ,
properties (23)
authorcaleb23
permlinkre-jringo-re-caleb23-the-math-behind-recent-average-credit-rac-20171116t225152343z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-11-16 22:51:51
last_update2017-11-16 22:51:51
depth2
children2
last_payout2017-11-23 22:51:51
cashout_time1969-12-31 23:59:59
total_payout_value0.023 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length438
author_reputation87,150,140,963
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,618,649
net_rshares14,472,224,840
author_curate_reward""
vote details (2)
@jringo ·
so far i think the idea is to have a technical whitepaper and a general audience white paper.  the former will have all the math and the latter will be more intuitive
👍  ,
properties (23)
authorjringo
permlinkre-caleb23-re-jringo-re-caleb23-the-math-behind-recent-average-credit-rac-20171117t001658367z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-11-17 00:16:57
last_update2017-11-17 00:16:57
depth3
children1
last_payout2017-11-24 00:16:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length166
author_reputation29,720,071,239,659
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,623,794
net_rshares966,548,010
author_curate_reward""
vote details (2)
@saluton ·
Hello!
👎  
properties (23)
authorsaluton
permlinkifbddql8se6ypyycqehtuw
categorygridcoin
json_metadata"{"tags": [""]}"
created2017-11-16 20:33:09
last_update2017-11-16 20:33:09
depth1
children0
last_payout2017-11-23 20:33:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation-479,314,437,113
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,609,729
net_rshares-291,185,754
author_curate_reward""
vote details (1)
@steemitboard ·
Congratulations @caleb23! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@caleb23) Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click [here](https://steemit.com/@steemitboard)

If you no longer want to receive notifications, reply to this comment with the word `STOP`

> By upvoting this notification, you can help all Steemit users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-caleb23-20180205t064856000z
categorygridcoin
json_metadata{"image":["https://steemitboard.com/img/notifications.png"]}
created2018-02-05 06:48:54
last_update2018-02-05 06:48:54
depth1
children0
last_payout2018-02-12 06:48:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length684
author_reputation38,975,615,169,260
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id35,073,918
net_rshares0
@steemitboard ·
Congratulations @caleb23! You have received a personal award!

[![](https://steemitimages.com/70x70/http://steemitboard.com/@caleb23/birthday1.png)](http://steemitboard.com/@caleb23)  1 Year on Steemit
<sub>_Click on the badge to view your Board of Honor._</sub>


> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-caleb23-20180914t195538000z
categorygridcoin
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-09-14 19:55:36
last_update2018-09-14 19:55:36
depth1
children0
last_payout2018-09-21 19:55:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length476
author_reputation38,975,615,169,260
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,304,162
net_rshares0
@steemitboard ·
Congratulations @caleb23! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@caleb23/birthday2.png</td><td>Happy Birthday! - You are on the Steem blockchain for 2 years!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@caleb23) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=caleb23)_</sub>


###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-caleb23-20190914t200739000z
categorygridcoin
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-09-14 20:07:39
last_update2019-09-14 20:07:39
depth1
children0
last_payout2019-09-21 20:07:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length616
author_reputation38,975,615,169,260
root_title"The math behind Recent Average Credit (RAC)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,579,730
net_rshares0