Actifit Bot - V2 Reward System: Development Updates

in #actifit6 years ago (edited)

Repository

https://github.com/mcfarhat/actifit-bot

Introduction

We have worked tirelessly over the last few weeks on implementing the new V2 Actifit reward system, which we just officially announced and launched yesterday.
The new system is a major overhaul of our existing system, aiming at expanding the vision of Actifit to better reward contributions, and involves introducing a new Actifit User Rank system, alongside changes to factors which affect the calculation of the post reward and the upvote reward, essentially targetted at increasing engagement, support for Actifit, and start the process to improve the need and the scarcity of AFIT tokens
For full details about the new reward system, feel free to check out the official announcement here
In addition, we implemented an RC automated account claim system, which allows continuous checking of current RC levels, and automatically claims discounted account slots, in preparation for Actifit to start onboarding new users.
Below you will find more details about what is part of this update.

Technology Stack

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

Work Done

Implement New Actifit V2 Reward System: Commit Link
  • Implement full reward system from bottom up to include activity, content, upvote, engagement, moderation, user rank aspects for better user rewards
  • Combine upvoting with AFIT token rewards (previously 2 separate functionalities) leading now to instantaneous token rewards and total amount calculation post reward session.
  • Implement additional JSON data to the comments to better reflect and store score and reward-relevant information
  • Implement additional testing details for thorough local testing
  • Implement claim rewards functionality before upvote to maximize rewards
Adjust Comment Template: Commit Link
  • Modify the comment template to be better aligned with new reward system
Fix issue with non-existing users' Rank: Commit Link
  • Implement a fix for cases of non-existing users causing error on data return
Implement Automated RC and Account Claim: Commit Link Commit Link
  • Include an automated approach to check current RC, relying on existing prior timed queries.
  • Implement a claim discounted accounts based on a threshold to auto-accumulate discounted account spots
Fix issue with reading beneficiary data: Commit Link
  • Some change took place apparently leading to old beneficiary data fetching, as implemented by old developer, to not be properly fetched. We made a small change to our code to fix this issue.

Roadmap

Further continuous improvements will be done on top of the bot, as we expand the work beyond the new reward system and particularly improve it.

How to contribute?

You can chat to us on the official actifit discord, 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

Sort:  

Thanks for the contribution, @mcfarhat! It's really cool to see you have improved your own ranking system. I just read the announcement and it's interesting to see what kind of criteria you are using for it. I couldn't really find it in the code, but I was wondering if it isn't going to be weighted heavily to people who have delegated? I say this because one of the criteria is obviously delegation, but then there is also the accumulated AFIT token criteria, which delegators probably have the most of? As a side note, I just logged in and see all my AFIT tokens disappeared (I think used to have 600) everything is fine (well I am only rank 3 so "fine" is maybe not the right word ).

Other than the commented out console logs, the use of var and the crazy indentation (😋) the code also looks fine - I should really get into Vue.js as seemingly everyone is using it on here nowadays!


Your contribution has been evaluated according to Utopian policies and 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.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

loool
there are some complex things in there, but the new reward system takes into consideration so many aspects, delegation yes, AFIT tokens yes (not only delegators have the bulk, this is in preparation for upcoming token sales), how frequent are you posting reports, how recent, upvotes, useful comments. Activity still plays a big role (a general 45% counting all different aspects).
3 rank, i assume you haven't been posting recently much. I'm sure you're way better than @elear's 0 rank loool

Thank you for your review, @amosbastian!

So far this week you've reviewed 12 contributions. Keep up the good work!

Hello again Mr McFarhat. We mice have been having a great time with your discount account claiming and creating site.

This Actifit initiative looks interesting, we are not really sure how it works though. We are just simple mice. Where do we go for more info?

Speaking of keeping fit - look at us mice staying active.

videotogif_2018.06.13_20.51.55.gif

Glad to hear!
About Actifit, in short its a project that incentivizes people to get more active and healthy, via rewarding their daily activity as auto-tracked using our mobile app (Android or iPhone).
More details can be found on our official website actifit.io, the original project announcement here , our daily announcements on @actifit Steem account,
oh and mice are more than welcome on our discord server where we can chat and answer your questions, and provide some cheese too :) :)

Thanks for this information Mr Mcfarhat... we will be sure to read all about it soon. As soon as we have had a good night's sleep that is.

A colleague of ours is on Discord from time to time. Reckon he may have just tried to befriend you. Dashing chap he is. A legend of the blockchain! At least this is how he refers to himself.

SnS.

Enjoy a good night's sleep! And yes i received and accepted the invite :)

I just saw the new bits and bobs and they look cool! Im ranked 28.5?! I am honoured! When I have more mana or something or other of which I should learn about, I will update my delegation as a minnowbooster one has just finished.. More SP to @actifit means better upvotes for the users!

Really love this project! Seriously good work in the lead up to SMT launch!

Great work @mcfarhat

Posted using Partiko iOS

Hi @mcfarhat!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Thanks... I need to start wearing my iPod again

Posted using Partiko iOS

Congratulations @mcfarhat! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of comments received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

Presentamos el Ranking de SteemitBoard

You can upvote this notification to help all Steemit users. Learn why here!

Looks like your team is really busy, great. Congratulations!

Yes, I've noticed the rank label in the top right corner. What does it mean?

This is not an absolute rank, is it? It's more a level than a rank, I presume?

About RCs - I don't understand a thing. This stuff is, at the moment, a black hole to me. I hope that I'll learn about whole magic behind it soon.

What about RC delegation? Wasn't it mentioned somewhere?

What's your plan for the History page? Can we see a filtering / sorting functionality in near future?

Keep on doing the great work :)

Hey, @mcfarhat!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

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

Vote for Utopian Witness!

You are really moving right along on this app, nice to see all the cool updates. I can't wait to see what you come up with next! Keep up the good work..

Coin Marketplace

STEEM 0.31
TRX 0.12
JST 0.034
BTC 64742.01
ETH 3172.49
USDT 1.00
SBD 4.10