create account

Actifit Bot Development Updates by mcfarhat

View this thread on: hive.blogpeakd.comecency.com
· @mcfarhat ·
$59.51
Actifit Bot Development Updates
#### Repository
https://github.com/mcfarhat/actifit-bot

#### Introduction
This development update represents some new developed features, adjustments and fixes to the actifit voting and scoring bot. Initial work on this bot was started via a TR response, and I continued some additional work to improve and speed up the development, while other work is being done in parallel on the bot itself under other branches.

#### Technology Stack
The bot is scripted using Node.js, and connects to a MongoDB instance for storing values.

#### Work Done: 
##### New endpoints for various purposes: [Commit Link](https://github.com/mcfarhat/actifit-bot/commit/a5cf05691b7157fb1f61cd6dd9be2a6eb6ae384a)
- Creating new endpoint for returning total number of rewarded users, along total number of tokens distributed
- Creating new endpoint for returning total number of rewards sent out
- Creating new endpoint for supported charities
- Fixing display of user token count to a max of 3 decimal digits
- Removing limit of 250 transactions per user display, and constraining this only to per single user

##### Voting Process Adjustments: [Commit Link](https://github.com/mcfarhat/actifit-bot/commit/a1ba305dca62e0b08af8e4388a63ff290e3f1dbd)
- adding support for fetching more than 100 posts and upvoting them
- fix for incorrect sort order for posts
- adding to logs an automated display of properly markdown formatted output of voted posts along with their ranking (#1, #2,...) for daily report purposes
- adding support for banned users list
- preventing upvote of posts which are more than 1.5 days old

##### Charity support and Additional Fixes: [Commit Link](https://github.com/mcfarhat/actifit-bot/commit/14d35befd3269a1949a5eab37c80f5012a67ea23)
- adding support for rewarding charity activity via assigning actifit token rewarded account as the included charity
- appending banned users check on utils level
- couple of minor fixes

##### New Config Items: [Commit Link](https://github.com/mcfarhat/actifit-bot/commit/56e51ad5ca28dc840d561fd30ac742e115bd8512)
- adding new VP min limit to kick start voting
- adding new max limit percent upvote per post
- increasing retries min to 20 and adjusting relevant log

#### Roadmap
Further continuous improvements will be done on top of the bot, particularly as we adjust the voting approach, as well as token distribution to cope with increased delegation, increased contributions and modified upvoting patterns.

#### How to contribute?
You can chat to us on the [official actifit discord](https://discord.gg/dtkHuKx), or to me in discord private @mcfarhat#6013.
Contributions are accepted as pull requests to the official github repo.
We are having continuous tasks assigned to different contributors to our project. More official tasks are continuously announced :)

#### GitHub Account
https://github.com/mcfarhat


πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 12 others
properties (23)
authormcfarhat
permlinkactifit-bot-development-updates
categoryactifit
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["actifit","utopian-io","development","steemdev","busy"],"users":["mcfarhat"],"links":["https://github.com/mcfarhat/actifit-bot","https://github.com/mcfarhat/actifit-bot/commit/a5cf05691b7157fb1f61cd6dd9be2a6eb6ae384a","https://github.com/mcfarhat/actifit-bot/commit/a1ba305dca62e0b08af8e4388a63ff290e3f1dbd","https://github.com/mcfarhat/actifit-bot/commit/14d35befd3269a1949a5eab37c80f5012a67ea23","https://github.com/mcfarhat/actifit-bot/commit/56e51ad5ca28dc840d561fd30ac742e115bd8512","https://discord.gg/dtkHuKx","/@mcfarhat","https://github.com/mcfarhat"],"image":[]}
created2018-08-07 22:29:48
last_update2018-08-07 22:29:48
depth0
children5
last_payout2018-08-14 22:29:48
cashout_time1969-12-31 23:59:59
total_payout_value45.893 HBD
curator_payout_value13.621 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,861
author_reputation150,651,671,367,256
root_title"Actifit Bot Development Updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,458,766
net_rshares41,352,579,767,895
author_curate_reward""
vote details (76)
@emrebeyler ·
$9.07
Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2322221).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  
properties (23)
authoremrebeyler
permlinkre-mcfarhat-actifit-bot-development-updates-20180809t072713006z
categoryactifit
json_metadata{"tags":["actifit"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2322221","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-08-09 07:27:12
last_update2018-08-09 07:27:12
depth1
children1
last_payout2018-08-16 07:27:12
cashout_time1969-12-31 23:59:59
total_payout_value6.804 HBD
curator_payout_value2.268 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length489
author_reputation448,535,049,068,622
root_title"Actifit Bot Development Updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,611,652
net_rshares6,845,656,303,275
author_curate_reward""
vote details (1)
@utopian-io ·
Thank you for your review, @emrebeyler!

So far this week you've reviewed 1 contributions. Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-mcfarhat-actifit-bot-development-updates-20180809t072713006z-20180814t124443z
categoryactifit
json_metadata"{"app": "beem/0.19.42"}"
created2018-08-14 12:44:45
last_update2018-08-14 12:44:45
depth2
children0
last_payout2018-08-21 12:44: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_length113
author_reputation152,955,367,999,756
root_title"Actifit Bot Development Updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,161,394
net_rshares0
@mdsohagm24 ·
Nice post bro.
I have given you Upvote and comments. 
Please,
You also do it.
https://steemit.com/mgsc/@mdsohagm24/coinbase-is-boosting-its-crypto-buying-limit-to-usd25k-a-day
properties (22)
authormdsohagm24
permlinkre-mcfarhat-actifit-bot-development-updates-20180808t012736756z
categoryactifit
json_metadata{"tags":["actifit"],"links":["https://steemit.com/mgsc/@mdsohagm24/coinbase-is-boosting-its-crypto-buying-limit-to-usd25k-a-day"],"app":"steemit/0.1"}
created2018-08-08 01:27:42
last_update2018-08-08 01:27:42
depth1
children0
last_payout2018-08-15 01:27: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_length175
author_reputation1,138,359,696
root_title"Actifit Bot Development Updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,471,804
net_rshares0
@steemitboard ·
Congratulations @mcfarhat! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

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

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[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-mcfarhat-20180808t211535000z
categoryactifit
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-08-08 21:15:36
last_update2018-08-08 21:15:36
depth1
children0
last_payout2018-08-15 21:15: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_length723
author_reputation38,975,615,169,260
root_title"Actifit Bot Development Updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,565,526
net_rshares0
@utopian-io ·
Hey @mcfarhat
**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlinkre-actifit-bot-development-updates-20180812t135210z
categoryactifit
json_metadata"{"app": "beem/0.19.42"}"
created2018-08-12 13:52:12
last_update2018-08-12 13:52:12
depth1
children0
last_payout2018-08-19 13:52: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_length300
author_reputation152,955,367,999,756
root_title"Actifit Bot Development Updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,955,427
net_rshares0