SLVE 2.0.1 - Bug Fix

in #utopian-io5 years ago

slve logo



Steem Late Vote Explorer

Description

Steem Late Vote Explorer (SLVE) is a tool I designed to visually represent and track last-minute votes in the interests of education and abuse detection. It is built with customizability in mind and can currently stream the blockchain to show a live feed of last-minute votes, as well as saving that data for visual representation at any time.



Repository

https://github.com/sisygoboom/abuse_detection_steemit



Bug Fixes

No Default File Location

Previously, if the user created a new AbuseDetection object in abuse_detection_steemit.py, they'd have to supply the directory of the .json files, otherwise they'd be treated with an error message.

Solution

To fix this, I changed the parameter for
containing_folder
from =r'' to =None
Then changed the code so that in the initialisation, if None had been passed, the directory is set as the current working dir (e.i. where the file was launched from).



Here we can see AbuseDetection loading the db without having to declare a directory.

The patch comes in two separate commits due to an error I failed to notice earlier.
1, 2


Steem Sincerity Down

As I pointed out previously, steem sincerity has been less than operational for a few weeks now, this was rendering the streamer in abuse_detection_steemit.py essentially useless. Errors would look like the ones shown below:


Solution

My long-term plan is to migrate to @steem-ua, but until the RPC becomes public and/or my account gets approved for RPC requests, that won't be possible.

For now, the only solution was to remove all traces of anything to do with steem-sincerity. This proved to be a rather arduous task since I'd integrated sincerity quite heavily into my code. The full commit can be found here.



GitHub Account

https://github.com/sisygoboom

Sort:  

Thanks for the contribution, @sisygoboom. It's cool that you are keeping on top of maintaining the project by fixing bugs and removing deprecated code.

Since there weren't many changes I can't really give any relevant feedback. I hope you don't mind.


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]

Thanks man, appreciated.

Thank you for your review, @amosbastian! Keep up the good work!

Hi, @sisygoboom!

You just got a 0.89% 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 to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hey, @sisygoboom!

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!

Hi @sisygoboom!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 3.235 which ranks you at #8249 across all Steem accounts.
Your rank has improved 2 places in the last three days (old rank 8251).

In our last Algorithmic Curation Round, consisting of 189 contributions, your post is ranked at #75.

Evaluation of your UA score:
  • You're on the right track, try to gather more followers.
  • The readers like your work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.34
TRX 0.11
JST 0.034
BTC 66361.53
ETH 3253.14
USDT 1.00
SBD 4.43