Steem Flag Rewards Project Update and Milestone

in #utopian-io3 years ago (edited)

What is Steem Flag Rewards

Steem Flag Rewards Program incentivizes the anti-abuse community. Our project rewards those who are tracking and taking action against abuse.

Let’s make Steem less-friendly to abuse . It is simple. Building abuse fighters equals less abuse.

We have identified a list of abuse categories the program actively pursues. If the post or comment matches the abuse category we take it into our own hands and flag it.

The program is after abuse posts or comments with payout. Flag the post, write a comment identifying the abuse category and mention @steemflagrewards.

Our bot will then upvote our abuse fighters' comments. This is their reward for cleaning the platform and risking possible retaliation.



We are open source!

September Project Updates

We had significant bot developments happening at our steemflagrewards repository. Amidst all the activity with anti-abuse ops and HF20, September is a month to remember.

This post will be somewhat of an amalgamation of technical and operational developments.

Enhancements and New Features for SFR Bot

1 . Clear_Queue Function


This has been a much needed feature for our team at SFR. We needed the ability to clear the voting queue when the bot gets stuck in queue mode.

For whatever reason, the bot was in perpetual queue mode. This causes unintended delays with the program's day to day operations. Some of the reasons may include node issues, which happen a lot of the time. Or possibly a bug in the approval and queuing feature.

Without this command made available, we required manual database updates. Constant baby-sitting of the script is not your ideal scenario.

It's a simple solution to keep our operations going while I'm away. It does require re-approving the flag comments but it got things moving again so it helped.

The long term goal is to do away with this function once we streamline the queue mechanism.

async def clear_queue(ctx):
    cursor.execute('UPDATE steemflagrewards SET queue = 0 WHERE queue == 1')
    await ctx.send('Queue has been successfully cleared!')

2 . Successfully migrated bot to themarkymark's host
The bot is no longer living on my mining rig so definitely a good thing!

We're slowly moving to a more streamlined operations. Hosting the bot to a server and giving our devs access will help prevent a single point of failure.

With this migration, a vastly improved bot responsiveness is noticeable. To the extent that it was actually too fast in one regard which I'll explain.

Thanks to @themarkymark for his generous support.

Yes, I can GPU mine my altcoins in peace. And go on vacation...

3 . Queue Voting Adjustment for STEEM_MIN_VOTE_INTERVAL_SEC
This is the only time I'm complaining about response time being fast.

There was a slight issue with the queue voting which did not manifest until the bot migration. There was a decreased communication latency on the dedicated server host to the Discord server, leading to rapid queue voting.

I followed the trail from the console errors. Then implemented a simple break fix to restoring service.

# sleeps to account for STEEM_MIN_VOTE_INTERVAL
await asyncio.sleep(STEEM_MIN_VOTE_INTERVAL) 

4 . Avoid Early Voting Penalty
We have integrated a check into the code to ensure the bot votes no less than 15 minutes from the comment's created time. This is to optimize rewards for our abuse fighters and curation for the SFR bot.

It did take a bit of manipulating the datetime formats. I specifically removed TZinfo from created and the microseconds from now to compare the two. Then obtain the number of seconds to wait. This is achieved with the following code:

#gets post created date without timezone info for comparing to now
created = comment['created'].replace(tzinfo=None)
dif = now - created
ts = round(dif.total_seconds())
if(difmin < 15):
     await asyncio.sleep(ts)

5 . Edits for PEP8 Guidelines
Edits were made per the recommendations of @amosbastian and @emrebeyler. I reviewed the PEP8 Style Guide and made a few minor adjustments in accordance with those guidelines.

Further beautification of the code will be an ongoing process.

SFR Ops Milestone

Good job, everyone!

Abuse Payout Denied!

Content identified as abuse was tracked via 481 approved SteemFlagRewards flag mentions comments.


SFR and the Steem Community

If we include other outgoing flags from various group collaboration, the value of removed post payout is higher.

Steem Flag Rewards's strategy involves collaborating with those who are aware of the importance of flagging within the Steem ecosystem.

Prime example are the good folks over at SteemSpeak like @whatsup and @elgeko.

Big shoutout to our friendly neighborhood dolphin, @supermeatboy. He defers being rewarded by @steemflagrewards upvotes so it would go to minnows, redfish and plankton.


High SP Assist

Higher SP accounts' willingness to assist with flags is pivotal towards the overall efficacy of blockchain moderation. Every flag helps to deter abuse and we are very thankful.

It is a slim minority of users that regularly engage in flagging. That being said, we need all the help we can get.

Kudos to all that have assisted like @steevc, @slobberchops, and @kabir88 to name a few.

On behalf of the team at Steem Flag Rewards, we would also like to thank those who are delegating to our program. We are moving towards higher efficiency operations.

Additionally, I would like to highlight @fulltimegeek's quick response to our request. His assistance to help neutralize the retaliatory downvotes of abusers is much appreciated .

The fact that we are able to divert votes from the abuser is a win in my book. It is also a win for the larger Steem community.


Thank you @anthonyadavisii for your contribution to the Utopian antiabuse initiative.

I have read your submission more than once and I will say it is an example that everyone should read.

Your contribution explains the antiabuse project well. This enables the reader to join in antiabuse efforts. The project update highlights where your project is improving. Your work in support of antiabuse on the steem blockchain is making a difference.

For your next contribution make sure every sentence is understandable. I had some difficulty on a few of them.

If you would like a follow up comment for me to explain I will do that.

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
Chat with us on Discord.

Thank you for your review, @iamstan!

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

Thanks for the review!

For your next contribution make sure every sentence is understandable. I had some difficulty on a few of them.

Yeah, I need to work on that. Think sometimes I am prone to using many words when a few will do. I will try to be more concise.

Also, thanks for all your hard work on the antiabuse project!

Hi @anthonyadavisii, I'm @checky ! While checking the mentions made in this post I noticed that @amosbastion doesn't exist on Steem. Did you mean to write @amosbastian ?

If you found this comment useful, consider upvoting it to help keep this bot running. You can see a list of all available commands by replying with !help.

Thanks, @checky! Fixed!

Also, appreciate your work with this helpful bot, @ragepeanut!

Not sure how I missed this post @anthonydavisii!

Upvoted and resteemed!

Thanks for all the work you do to make this project work and grow

Hey, @anthonyadavisii!

Thanks for contributing on Utopian.
Congratulations! Your contribution was Staff Picked to receive a maximum vote for the anti-abuse category on Utopian for being of significant value to the project and the open source community.

We’re already looking forward to your next contribution!

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

Want to chat? Join us on Discord

Vote for Utopian Witness!

good post

So, what did you like about it?

first i want to say that i understood something and that is that there is nothing good in you ,kid

Cool necro-posting. Lol

Posted using Partiko Android

I think with some help and insight he might do better.
It crushes me when I see an account that has not posted much.
They have been here for 7 months and still have steemit delegations. Not active for 41 days, just became active again 3 days ago.

Lets try to help him learn how to do well here.

ya , i am busy not like you always sleeping and using steemit,kid

Now I can't flag it because it will hide your meme there cowboy.

i think that you might be using such cheap tricks of getting crypto by putting comments so you are expressing your tricks,kid

Hi @anthonyadavisii!

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


you just received a 14.43% upvote from @steemhq - Community Bot!

Wanna join and receive free upvotes yourself?
Vote for steemhq.witness on Steemit or directly on SteemConnect and join the Community Witness.

This service was brought to you by

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

Award for the number of upvotes
Award for the number of comments

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

Support SteemitBoard's project! Vote for its witness and get one more award!