create account

Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’) by trostparadox

View this thread on: hive.blogpeakd.comecency.com
· @trostparadox · (edited)
$22.41
Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)
# Good Bots vs. Bad Bots

https://www.radwarebotmanager.com/web/wp-content/themes/shieldsquare/assets/img/Good-vs-bad.png

## What Constitutes a ‘Good’ Auto-Voting Bot?

A few weeks ago, I posted a [comment alluding to a new Hive curation-rewards protocol I’ve been envisioning](https://peakd.com/hive-139531/@trostparadox/re-themarkymark-qosqzj).

I followed that up with a [post where I explained the benefits of a curation-rewards protocol that would encourage auto-voting bots to]( https://peakd.com/hive-167922/@trostparadox/improving-the-curation-rewards-process-via-a-significant-though-subtle-change-to-auto-voting):

<ul>accentuate high-quality <em>manual</em> curation rather than overwhelming, stifling, burying, or manipulating it (intentionally or unintentionally).
</ul>

### In General, ‘Good Bots’ Don’t Early-Vote

To that end, I have developed an underlying philosophy about auto-voting, which is:
**<ul>Early-voting periods should be *almost exclusively* the domain of manual curators.</ul>**


This led me to adopt the following long-term ‘goal’:
<ul>Rather than trying to actively <em>discourage</em> auto-voting bots from casting early votes, what if we directly <em>incentivize</em> them to <em>willingly</em> participate <strong><em>later</em></strong> in the vote-casting process?</ul>

This current post, however, focuses on an easier-to-complete short-term goal, which is to provide an auto-voting tool that can be meaningfully used by account-holders who are more interested in expanding the Hive ecosystem than maximizing short-term profits.

### But First, a Few Quick Thank-You’s

I want to thank @theycallmedan for indirectly inviting me to Hive and inspiring my efforts to participate in and improve the Hive ecosystem and community, @themarkymark for his constant openness to field my tech questions, @aggroed and @eonwarped for their help getting a new tribe set up for the entrepreneurship class I teach at Oklahoma State University, @acidyo and @ocd for welcoming my students who have chosen to check out Hive, and @guiltyparties for being a sounding board, helping me ‘think out loud’ about the feasibility of various curation-rewards protocols.

### Initial Development -- Focusing on Willing Account-Holders

I am going in a couple different directions with all this, but rather than initially jumping into the difficult realm of trying to *influence* profit-maximizing bots to abstain from early-voting, I have decided to start with the development of an auto-voting bot specifically aimed at account holders who genuinely ***want*** their HP to be a force for good within the ecosystem.  In particular, I am targeting those who are willing to forfeit early-voting curation profits expressly for the purpose of improving the quality of the ecosystem as a whole (and thus ***growing the pie instead of chasing a larger percentage of a static pie***).

To that end, I want to develop an automated voting system that incorporates the following features:
* performs auto-voting *only* when the account holder is NOT manually curating (i.e. leaves plenty of voting power available to support as much manual curation as the account holder is willing and able to perform)
* performs auto-voting on posts *only* after a substantial amount of time has lapsed (to allow high-quality manual curation by others to occur first)
* prioritizes posts that have *already* received high-upvote-counts (ideally, from pre-screened high-quality manual curators)
    * I will be working separately on a protocol for identifying and pre-screening high-quality manual curators.  This will not be an initial feature, but will hopefully be added sometime later.
* allows author white-listing, so account holders can prioritize authors who have proven (to the account holder) their ability to consistently produce high-quality content
* allows author black-listing, so account holders can withhold upvotes to authors who have proven (to the account holder) unworthy of their support
* allows curator white-listing, so account holders can ‘trail’ (subject to the aforementioned time delay) manual curators who have proven (to the account holder) their ability to consistently curate high-quality content 
    * NOTE: I intend to eventually evaluate, track, and publish the extent to which any accounts might be attempting to abuse this feature, by early-voting with one account while late-voting with a different account.

NOTE:  I am posting this on #LeoFinance, #STEMGeeks, #proofofbrain, and other *linear-rewards* tribes, because the auto-voting bot I am describing herein should be deployable on linear-curation-rewards systems *without penalty*, and thus should generally be welcomed by members of those tribes.  *Please reply if you see any potential downsides of the use of a bot like this in a linear-curation-rewards setting.*

### Ongoing Reporting of Results

The other ‘feature’ that I want to include is the production and publication of periodic reports identifying the accounts using the bot, with the calculation and presentation of the extent to which their potential curation rewards are being ‘forfeited’ by their participation in this *‘good bot’* curation schema.


## What I Need Help With ...

To get started with this effort, I need some guidance and direction.  I have a fair bit of programming experience, but it’s been a few years since I’ve done any serious programming and I’ve never done any blockchain-specific programming.  (FWIW, my background is an undergraduate engineering degree from MIT, a masters and PhD in engineering from Oklahoma State, and a PhD in entrepreneurship from Oklahoma State).

So, my requests are:
* Can anyone point me to some existing auto-voting code that might be similar (either open-source or something you’ve done that you are willing to share, with recognition but without compensation)?
* Would anyone be willing to ‘tutor’ me a bit (again, with recognition but without compensation) with respect to helping me get up to speed with IDEs and whatever else I need to set up and configure in order to get started developing on the Hive ecosystem?


*If you are able to help with either of the above requests, feel free to contact me via OpenHive.Chat or Discord, or leave a reply with instructions on how I can contact you.*


***A ‘good bot’ can help grow the pie.
Let's grow the pie, together!***
<br/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 74 others
properties (23)
authortrostparadox
permlinkguidance-needed-toward-development-of-a-good-bot-to-aid-account-holders-who-want-to-prioritize-ecosystem-growth-over-indi
categorycuration
json_metadata"{"app":"peakd/2021.03.7","format":"markdown","description":"Can anyone point me to some existing auto-voting code that might be similar to what I am proposing herein?","tags":["curation","rewards","auto-voting","leofinance","stemgeeks","proofofbrain","palnet","ctp","archon","neoxian"],"users":["trostparadox","theycallmedan","themarkymark","aggroed","eonwarped","acidyo","ocd","guiltyparties"],"links":["/hive-139531/@trostparadox/re-themarkymark-qosqzj","/hive-167922/@trostparadox/improving-the-curation-rewards-process-via-a-significant-though-subtle-change-to-auto-voting","/@theycallmedan","/@themarkymark","/@aggroed","/@eonwarped","/@acidyo","/@ocd","/@guiltyparties","/trending/leofinance"],"image":["https://www.radwarebotmanager.com/web/wp-content/themes/shieldsquare/assets/img/Good-vs-bad.png"]}"
created2021-03-19 20:51:54
last_update2021-03-23 13:41:36
depth0
children14
last_payout2021-03-26 20:51:54
cashout_time1969-12-31 23:59:59
total_payout_value12.862 HBD
curator_payout_value9.543 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,382
author_reputation97,073,519,726,065
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries
0.
accounthiveonboard
weight100
1.
accounttheycallmedan
weight300
2.
accounttipu
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,471,010
net_rshares32,799,654,787,227
author_curate_reward""
vote details (138)
@acidyo ·
@mahdiyari might be able to direct you to the right code, not sure if hive.vote is opensource or anything about the code really as I'm not a coder but maybe he'll see this mention. Good luck! 
👍  , , , , ,
properties (23)
authoracidyo
permlinkre-trostparadox-qq8lch
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-19 22:05:06
last_update2021-03-19 22:05:06
depth1
children1
last_payout2021-03-26 22:05:06
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_length192
author_reputation2,616,694,627,565,910
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,472,109
net_rshares32,162,908,237
author_curate_reward""
vote details (6)
@trostparadox ·
Thanks!
properties (22)
authortrostparadox
permlinkre-acidyo-qq8o14
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-19 23:03:03
last_update2021-03-19 23:03:03
depth2
children0
last_payout2021-03-26 23:03:03
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_length7
author_reputation97,073,519,726,065
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,473,030
net_rshares0
@hivebuzz ·
Congratulations @trostparadox! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@trostparadox/upvotes.png?202103182343"></td><td>You distributed more than 200 upvotes.<br>Your next target is to reach 300 upvotes.</td></tr>
<tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@trostparadox/upvoted.png?202103190630"></td><td>You received more than 3500 upvotes.<br>Your next target is to reach 3750 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@trostparadox) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

👍  
properties (23)
authorhivebuzz
permlinkhivebuzz-notify-trostparadox-20210319t210008000z
categorycuration
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-03-19 21:00:06
last_update2021-03-19 21:00:06
depth1
children0
last_payout2021-03-26 21:00:06
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_length852
author_reputation367,910,686,742,255
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,471,121
net_rshares1,866,679
author_curate_reward""
vote details (1)
@mahdiyari · (edited)
I think all you said is already possible on hive.vote if someone really wants to do that (prioritizing and blacklist/whitelist is not possible yet). I know some people set their votes like after 24 hours on hive.vote to support early voters but it's rare.

Anyway, hive.vote is not open source but there were some open source voting bots in the past. I don't remember any right now.
👍  ,
properties (23)
authormahdiyari
permlinkqq9w5o
categorycuration
json_metadata{"app":"hiveblog/0.1"}
created2021-03-20 14:56:12
last_update2021-03-20 14:59:54
depth1
children4
last_payout2021-03-27 14:56:12
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_length382
author_reputation168,453,265,420,231
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,486,167
net_rshares18,217,941,096
author_curate_reward""
vote details (2)
@trostparadox ·
Thanks for the info about hive.vote.

My primary interest here is setting it up so that those who actively and willingly choose to forego early-auto-voting curation rewards in order to avoid corrupting the manual curation process can be readily recognized for doing so.

Would you have any interest in working with me to add that capability to hive.vote?  If so, feel free to DM me via OpenHive.Chat or Discord.
👍  
properties (23)
authortrostparadox
permlinkre-mahdiyari-qqbs01
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-21 15:21:39
last_update2021-03-21 15:21:39
depth2
children3
last_payout2021-03-28 15:21: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_length412
author_reputation97,073,519,726,065
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,508,992
net_rshares18,194,104,921
author_curate_reward""
vote details (1)
@mahdiyari ·
Sorry, wasn't around for a few days.
Can you explain what exactly to be added?
properties (22)
authormahdiyari
permlinkqqh1st
categorycuration
json_metadata{"app":"hiveblog/0.1"}
created2021-03-24 11:41:24
last_update2021-03-24 11:41:24
depth3
children2
last_payout2021-03-31 11:41: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_length78
author_reputation168,453,265,420,231
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,568,461
net_rshares0
@rishi556 ·
https://github.com/rishi556/leovoter

Might help you get started. It's a leo based autovoter that I made to vote posts made by a particular set of authors whenever they posted to leo. 

For IDE it depends on what you are using. VSCode is a great general one for multiple languages. If you are going with javascript, I'd also recommend you checkout Jetbrains webstorm and for python lookup pycharm(also by jetbrains).
👍  , , , , ,
properties (23)
authorrishi556
permlinkre-trostparadox-qq8mxq
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-19 22:39:27
last_update2021-03-19 22:39:27
depth1
children1
last_payout2021-03-26 22:39:27
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_length416
author_reputation111,989,080,224,041
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,472,738
net_rshares32,015,524,038
author_curate_reward""
vote details (6)
@trostparadox ·
Thanks!
properties (22)
authortrostparadox
permlinkre-rishi556-qq8neu
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-19 22:49:42
last_update2021-03-19 22:49:42
depth2
children0
last_payout2021-03-26 22:49:42
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_length7
author_reputation97,073,519,726,065
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,472,849
net_rshares0
@rxhector ·
for IDE - i really like vscode (handles many languages)

the hive developer stuff is here - https://developers.hive.io/#introduction-welcome

google search for 
hive bots code - https://www.google.com/search?q=hive+blockchain+vote+bot+code&oq=hive+blockchain+vote+bot+code

i'm trying to migrate from php to javascript so i probably wouldnt be much help
👍  , , , , ,
properties (23)
authorrxhector
permlinkqq8kly
categorycuration
json_metadata{"tags":["proofofbrain"],"links":["https://developers.hive.io/#introduction-welcome"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@rxhector/qq8kly"}
created2021-03-19 21:49:12
last_update2021-03-19 21:49:12
depth1
children3
last_payout2021-03-26 21:49:12
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_length353
author_reputation20,310,242,279,674
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,471,828
net_rshares32,152,688,839
author_curate_reward""
vote details (6)
@trostparadox ·
Thanks!  I'll check those out.

My most recent coding has been with PHP and javascript.
👍  
properties (23)
authortrostparadox
permlinkre-rxhector-qq8kx1
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-19 21:55:54
last_update2021-03-19 21:55:54
depth2
children2
last_payout2021-03-26 21:55: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_length87
author_reputation97,073,519,726,065
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,471,944
net_rshares18,265,484,794
author_curate_reward""
vote details (1)
@rxhector ·
i got really good with php/multi-curl(data scraping/data mining)

trying to migrate to javascript(nodejs) trying to learn game-dev/websockets

i've 'browsed' some of the hive javascript library and it 'looks' easy enough LOL
 
properties (22)
authorrxhector
permlinkre-trostparadox-qq8llj
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-19 22:10:33
last_update2021-03-19 22:10:33
depth3
children0
last_payout2021-03-26 22:10:33
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_length226
author_reputation20,310,242,279,674
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,472,198
net_rshares0
@themarkymark ·
I have a lot of posts on VS Code that might be helpful.  I am a huge fan of VS Code and think everyone should give it a try.

https://peakd.com/created/vscode
👍  ,
properties (23)
authorthemarkymark
permlinkre-trostparadox-qq9hwc
categorycuration
json_metadata{"tags":["curation"],"app":"peakd/2021.03.7"}
created2021-03-20 09:48:09
last_update2021-03-20 09:48:09
depth3
children0
last_payout2021-03-27 09:48: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_length158
author_reputation1,669,708,968,655,089
root_title"Guidance needed: toward development of a ‘good bot’ (to aid account holders who want to prioritize ‘ecosystem growth’ over ‘individual profits’)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,480,840
net_rshares18,253,742,665
author_curate_reward""
vote details (2)