create account

Scotbot: convergent_linear reward curves are supported by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 · (edited)
$21.52
Scotbot: convergent_linear reward curves are supported
![](https://cdn.steemitimages.com/DQmVLEQz4R6TLspWojh1uHaiMhZ2w8125zWdBp1YeodBrzM/image.png)

Each scot has now two new parameters:
* `post_reward_curve` - can be `default`, `convergent_linear`
* `post_reward_curve_parameter` - can be None or a float number

Default setting is `post_reward_curve=default` and `post_reward_curve_parameter=None`, which means that the post reward is calculated by 
```
weight_rshares = rshares ^ config[token]["author_curve_exponent"]
```


When `post_reward_curve` is set to `convergent_linear`, the post reward is calculated by:
```
s = config[token]["post_reward_curve_parameter"]
weight_rshares = ( rshares  *  rshares ) / ( rshares + s )
```

and config[token]["author_curve_exponent"] is not used for calculation.



## Comparison
Lets assume there is a pool of 2 TOKEN and there are three posts with 500, 1500 and 10000 rshares

#### default settings

 | author curve exponent| rshares | weight_rshares | payout |
 | --- | --- | --- | --- |
 | 1.0 |500  | 500 | 0.08 |
 | 1.0 | 1500  | 1500 | 0.25 |
 | 1.0 | 10000  | 10000  | 1.67 |
 | 1.05 | 500 | 682  | 0.07 |
 | 1.05 | 1500 | 2162 |0.23 |
 | 1.05 | 10000  | 15848| 1.7 |
 | 1.1 | 500 | 930| 0.06 |
 | 1.1 | 1500 | 3116| 0.21 |
 | 1.1 | 10000  | 25118| 1.72 |
 | 1.3 | 500 | 3225| 0.04|
 | 1.3 | 1500 | 13456| 0.15|
 | 1.3 | 10000  | 158489| 1.81 |
 | 1.5 | 500 | 11180| 0.02| 
 | 1.5 | 1500 | 58094| 0.11|
 | 1.5 | 10000  | 1000000| 1.87 |

## convergent_linear

|  post reward curve parameter| rshares | weight_rshares | payout |
 | --- | --- | --- | --- |
 | 10 |500  | 490| 0.08 |
 | 10 | 1500  | 1490| 0.25 |
 | 10 | 10000  | 9990| 1.67 |
 | 100 | 500 | 416| 0.07 |
 | 100 | 1500 | 1406|0.24 |
 | 100 | 10000  | 9900| 1.69 |
 | 1000 | 500 | 166| 0.03 |
 | 1000 | 1500 | 900| 0.18 |
 | 1000 | 10000  | 9090| 1.79 |
 | 10000 | 500 | 23| 0.01|
 | 10000  | 1500 | 195| 0.07|
 | 10000  | 10000  | 5000| 1.92 |

## Conclusion
When using the convergent_linear cuve, the parameter can be used to decide from which reward to should convert to a linear curve. For `post_reward_curve_parameter=10`, the payout is the same as for exponent = 1.

For post_reward_curve_parameter = 1000, the rshares for the post with 500 rshares are weighted with 0.33, the post with 1500 rshares is weighted with 0.6 and the post with 10000 rshares is weighted with 0.909.

Thus, `convergent_linear ` with a parameter of 1000 can be used to reduce the payout of post with less than 1000 rshares.

___

Let me know when you want to change the configuration for your SCOT.
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 138 others
properties (23)
authorholger80
permlinkscotbot-convergentlinear-reward-curves-are-supported
categorysteem-engine
json_metadata"{"tags": ["steem-engine", "scotbot", "palnet", "sct", "spt", "weed"], "image": ["https://cdn.steemitimages.com/DQmVLEQz4R6TLspWojh1uHaiMhZ2w8125zWdBp1YeodBrzM/image.png"], "app": "beempy/0.23.10", "format": "markdown", "canonical_url": "https://hive.blog/steem-engine/@holger80/scotbot-convergentlinear-reward-curves-are-supported"}"
created2019-07-01 15:09:42
last_update2020-05-23 14:26:21
depth0
children17
last_payout2019-07-08 15:09:42
cashout_time1969-12-31 23:59:59
total_payout_value17.090 HBD
curator_payout_value4.432 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,538
author_reputation358,857,509,568,825
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,621,805
net_rshares44,986,686,922,205
author_curate_reward""
vote details (202)
@eonwarped ·
Did you change the curation formula too? https://github.com/steemit/steem/blob/master/libraries/chain/util/reward.cpp#L103

This is also where all the other formulas used in the past are.
πŸ‘  
properties (23)
authoreonwarped
permlinkptzo88
categorysteem-engine
json_metadata{"tags":["steem-engine"],"links":["https://github.com/steemit/steem/blob/master/libraries/chain/util/reward.cpp#L103"],"app":"steemit/0.1"}
created2019-07-02 00:33:45
last_update2019-07-02 00:33:45
depth1
children0
last_payout2019-07-09 00:33:45
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_length187
author_reputation88,102,208,706,615
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,647,554
net_rshares771,443,105
author_curate_reward""
vote details (1)
@freebornangel ·
So, if i read that math right, we are getting a sublinear curve.
Small votes are going down exponentially while large votes will go up due to smaller votes counting for even less in the math, yes?
properties (22)
authorfreebornangel
permlinkptz5aq
categorysteem-engine
json_metadata{"tags":["steem-engine"],"app":"steemit/0.1"}
created2019-07-01 17:44:54
last_update2019-07-01 17:44:54
depth1
children1
last_payout2019-07-08 17:44: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_length196
author_reputation171,005,551,503,977
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,629,724
net_rshares0
@ajayyy ·
Yes
properties (22)
authorajayyy
permlinkpv4jep
categorysteem-engine
json_metadata{"tags":["steem-engine"],"app":"steemit/0.1"}
created2019-07-24 02:11:15
last_update2019-07-24 02:11:15
depth2
children0
last_payout2019-07-31 02:11:15
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_length3
author_reputation29,025,741,762,621
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,668,371
net_rshares0
@isnochys ·
$0.04
And still no witness vote by @aggroed for you, Holger...
πŸ‘  
properties (23)
authorisnochys
permlinkptz1jq
categorysteem-engine
json_metadata{"tags":["steem-engine"],"users":["aggroed"],"app":"steemit/0.1"}
created2019-07-01 16:23:54
last_update2019-07-01 16:23:54
depth1
children0
last_payout2019-07-08 16:23:54
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.009 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation47,886,018,797,724
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,625,632
net_rshares77,302,345,887
author_curate_reward""
vote details (1)
@partiko ·
Thank you so much for participating in the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.00% upvote! Together, let’s change the world!
properties (22)
authorpartiko
permlinkre-scotbot-convergentlinear-reward-curves-are-supported-20190701t153023
categorysteem-engine
json_metadata"{"app": "partiko"}"
created2019-07-01 15:30:24
last_update2019-07-01 15:30:24
depth1
children0
last_payout2019-07-08 15:30:24
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_length213
author_reputation39,207,160,334,751
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,622,803
net_rshares0
@pibara ·
Would be cool to have n x S^log(n) curves as well.
properties (22)
authorpibara
permlinkptz0g8
categorysteem-engine
json_metadata{"tags":["steem-engine"],"app":"steemit/0.1"}
created2019-07-01 16:00:09
last_update2019-07-01 16:00:09
depth1
children2
last_payout2019-07-08 16:00: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_length50
author_reputation60,469,629,952,622
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,624,367
net_rshares0
@holger80 ·
$0.27
I will look into them. Do you have a name for them?

Posted using [Partiko Android](https://partiko.app/referral/holger80)
πŸ‘  , , ,
properties (23)
authorholger80
permlinkholger80-re-pibara-ptz0g8-20190701t163759505z
categorysteem-engine
json_metadata{"app":"partiko","client":"android"}
created2019-07-01 16:38:00
last_update2019-07-01 16:38:00
depth2
children1
last_payout2019-07-08 16:38:00
cashout_time1969-12-31 23:59:59
total_payout_value0.206 HBD
curator_payout_value0.066 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length122
author_reputation358,857,509,568,825
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,626,374
net_rshares542,208,758,406
author_curate_reward""
vote details (4)
@josephsavage ·
$0.23
Isn't this a design flaw that a name is required instead of just using the formula?
πŸ‘  , ,
properties (23)
authorjosephsavage
permlinkre-holger80-holger80-re-pibara-ptz0g8-20190701t171958789z
categorysteem-engine
json_metadata{"tags":["steem-engine"],"app":"steempeak/1.13.5"}
created2019-07-01 17:20:00
last_update2019-07-01 17:20:00
depth3
children0
last_payout2019-07-08 17:20:00
cashout_time1969-12-31 23:59:59
total_payout_value0.171 HBD
curator_payout_value0.055 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation40,265,599,540,471
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,628,477
net_rshares452,575,132,385
author_curate_reward""
vote details (3)
@silvertop ·
$0.06
Just wondering, do you know if Palnet has a limit of one post per day?
I posted two post last night both with the palnet tag and my second post my @actifit post did not post to palnet???πŸ€”
πŸ‘  , , ,
properties (23)
authorsilvertop
permlinkptyyjn
categorysteem-engine
json_metadata{"tags":["steem-engine"],"users":["actifit"],"app":"steemit/0.1"}
created2019-07-01 15:19:00
last_update2019-07-01 15:19:00
depth1
children5
last_payout2019-07-08 15:19:00
cashout_time1969-12-31 23:59:59
total_payout_value0.044 HBD
curator_payout_value0.014 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length187
author_reputation463,215,569,359,794
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,622,251
net_rshares119,428,342,585
author_curate_reward""
vote details (4)
@clayboyn ·
Edit the post and change the tag to lowercase.  It's registered as Palnet instead of palnet on the chain for some reason and it causes the bug.
πŸ‘  ,
πŸ‘Ž  , ,
properties (23)
authorclayboyn
permlinkptyz8e
categorysteem-engine
json_metadata{"tags":["steem-engine","palnet"],"app":"palnet/0.1"}
created2019-07-01 15:33:51
last_update2019-07-01 15:33:51
depth2
children4
last_payout2019-07-08 15:33:51
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_length143
author_reputation375,924,347,019,335
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,622,985
net_rshares-6,853,296,219
author_curate_reward""
vote details (5)
@silvertop ·
$0.03
Thank you, so nice to have Steem-engine and palnet!!
Exciting times to come!!!πŸ‘πŸ€—
πŸ‘  , ,
properties (23)
authorsilvertop
permlinkptz1bi
categorysteem-engine
json_metadata{"tags":["steem-engine"],"app":"steemit/0.1"}
created2019-07-01 16:18:54
last_update2019-07-01 16:18:54
depth3
children0
last_payout2019-07-08 16:18:54
cashout_time1969-12-31 23:59:59
total_payout_value0.026 HBD
curator_payout_value0.008 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length80
author_reputation463,215,569,359,794
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,625,385
net_rshares72,917,965,813
author_curate_reward""
vote details (3)
@silvertop ·
$0.04
Sorry to bother you again, maybe you can help.  I posted my @actifit post for July 1st and edited the post on  steemit adding photo's and I rechecked to make sure palnet was lower case.
Nothing posts to PAL, this is two post in a row.  I have reached out to PAL tonight on discord, I'm just scratching my head, trying to figure out how to fix this ....
Thanks again @silvertop... Mike
πŸ‘  , ,
properties (23)
authorsilvertop
permlinkre-clayboyn-ptyz8e-20190702t072204300z
categorysteem-engine
json_metadata{"tags":["steem-engine"],"app":"steempeak/1.13.5"}
created2019-07-02 07:22:09
last_update2019-07-02 07:22:09
depth3
children2
last_payout2019-07-09 07:22:09
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.009 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length384
author_reputation463,215,569,359,794
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,661,180
net_rshares76,431,905,875
author_curate_reward""
vote details (3)
@steem-plus ·
SteemPlus upvote
Hi, @holger80!

You just got a **4.7%** upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in [here](https://steemit.com/@steem-plus) to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
properties (22)
authorsteem-plus
permlinkscotbot-convergentlinear-reward-curves-are-supported---vote-steemplus
categorysteem-engine
json_metadata{}
created2019-07-03 02:26:24
last_update2019-07-03 02:26:24
depth1
children0
last_payout2019-07-10 02:26:24
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_length434
author_reputation247,952,188,232,400
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,706,036
net_rshares0
@steem-ua ·
$0.02
#### Hi @holger80!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your **UA** account score is currently 7.148 which ranks you at **#58** across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 172 contributions, your post is ranked at **#3**. Congratulations! 
##### Evaluation of your UA score:

* Your follower network is great!
* The readers appreciate your great work!
* Great user engagement! You rock!


**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
πŸ‘  
properties (23)
authorsteem-ua
permlinkre-scotbot-convergentlinear-reward-curves-are-supported-20190702t084258z
categorysteem-engine
json_metadata"{"app": "beem/0.20.19"}"
created2019-07-02 08:43:00
last_update2019-07-02 08:43:00
depth1
children0
last_payout2019-07-09 08:43:00
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length624
author_reputation23,214,230,978,060
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,663,358
net_rshares49,133,432,045
author_curate_reward""
vote details (1)
@tts ·
To listen to the audio version of this article click on the play image.
[![](https://s18.postimg.org/51o0kpijd/play200x46.png)](http://ec2-52-72-169-104.compute-1.amazonaws.com/holger80__scotbot-convergentlinear-reward-curves-are-supported.mp3)
Brought to you by [@tts](https://steemit.com/tts/@tts/introduction). If you find it useful please consider upvoting this reply.
properties (22)
authortts
permlinkre-scotbot-convergentlinear-reward-curves-are-supported-20190701t152114
categorysteem-engine
json_metadata""
created2019-07-01 15:21:15
last_update2019-07-01 15:21:15
depth1
children0
last_payout2019-07-08 15:21:15
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_length372
author_reputation-4,535,154,553,995
root_title"Scotbot: convergent_linear reward curves are supported"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,622,360
net_rshares0