SLVE 2.0.1 - Bug Fix by sisygoboom

View this thread on steempeak.com
· @sisygoboom ·
$7.58
SLVE 2.0.1 - Bug Fix
![slve logo](https://cdn.utopian.io/posts/3010e56a608d8c977416f234dbbf8307d5c21.jpg)

---
---

# 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).
<center>
https://i.imgur.com/TmmRLLt.png
*Here we can see AbuseDetection loading the db without having to declare a directory.*
</center>

The patch comes in two separate commits due to an error I failed to notice earlier.
[1](https://github.com/sisygoboom/abuse_detection_steemit/commit/ad9169a7c1a87f9e8796821adf43f9b0c2692ae8), [2](https://github.com/sisygoboom/abuse_detection_steemit/commit/0ddbedb6264992f82435e5a5ce241d177045f0ff)

---

### 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:
https://i.imgur.com/etOaLna.png
https://i.imgur.com/1rjfBte.png

---

#### 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](https://github.com/sisygoboom/abuse_detection_steemit/commit/1e782bc3b27007f4bbf92ce2b8fb84c5921cf250).

---
---

## GitHub Account
https://github.com/sisygoboom
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id66,843,816
authorsisygoboom
permlinkslve-201---bug-fix
categoryutopian-io
json_metadata{"app":"steem-plus-app","tags":["utopian-io","development","python","abuse","steemdev"]}
created2018-12-01 13:36:30
last_update2018-12-01 13:36:30
depth0
children6
net_rshares13,058,205,737,554
last_payout2018-12-08 13:36:30
cashout_time1969-12-31 23:59:59
total_payout_value5.685 SBD
curator_payout_value1.899 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,401
author_reputation25,572,770,303,018
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries
0.
accountsteemplus-pay
weight100
1.
accountutopian.pay
weight500
max_accepted_payout100,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (37)
@amosbastian ·
$9.71
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](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/2-3-4-2-2-3-4-).

---- 
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)
post_id66,853,577
authoramosbastian
permlinkre-sisygoboom-slve-201---bug-fix-20181201t182456161z
categoryutopian-io
json_metadata{"users":["sisygoboom"],"tags":["utopian-io"],"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/3\/2-3-4-2-2-3-4-","https:\/\/support.utopian.io\/","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"app":"steemit\/0.1"}
created2018-12-01 18:24:57
last_update2018-12-01 18:24:57
depth1
children2
net_rshares15,900,299,842,432
last_payout2018-12-08 18:24:57
cashout_time1969-12-31 23:59:59
total_payout_value7.343 SBD
curator_payout_value2.366 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length754
author_reputation174,225,255,912,876
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (12)
@sisygoboom ·
Thanks man, appreciated.
properties (22)
post_id66,856,315
authorsisygoboom
permlinkre-amosbastian-re-sisygoboom-slve-201---bug-fix-20181201t200146836z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-12-01 20:01:48
last_update2018-12-01 20:01:48
depth2
children0
net_rshares0
last_payout2018-12-08 20:01:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length24
author_reputation25,572,770,303,018
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Thank you for your review, @amosbastian! Keep up the good work!
properties (22)
post_id66,946,767
authorutopian-io
permlinkre-re-sisygoboom-slve-201---bug-fix-20181201t182456161z-20181203t205754z
categoryutopian-io
json_metadata{"app":"beem\/0.20.9"}
created2018-12-03 20:57:57
last_update2018-12-03 20:57:57
depth2
children0
net_rshares0
last_payout2018-12-10 20:57:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length63
author_reputation152,913,012,544,965
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steem-plus ·
SteemPlus upvote
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](https://steemit.com/@steem-plus) to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
properties (22)
post_id66,862,553
authorsteem-plus
permlinkslve-201---bug-fix---vote-steemplus
categoryutopian-io
json_metadata{}
created2018-12-01 23:40:36
last_update2018-12-01 23:40:36
depth1
children0
net_rshares0
last_payout2018-12-08 23:40:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length437
author_reputation247,995,867,762,997
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
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](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

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

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id66,863,358
authorutopian-io
permlinkre-slve-201---bug-fix-20181202t000916z
categoryutopian-io
json_metadata{"app":"beem\/0.20.9"}
created2018-12-02 00:09:18
last_update2018-12-02 00:09:18
depth1
children0
net_rshares0
last_payout2018-12-09 00:09:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length592
author_reputation152,913,012,544,965
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steem-ua ·
#### 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](https://discord.gg/KpBNYGz)**
properties (22)
post_id66,887,898
authorsteem-ua
permlinkre-slve-201---bug-fix-20181202t151024z
categoryutopian-io
json_metadata{"app":"beem\/0.20.9"}
created2018-12-02 15:10:27
last_update2018-12-02 15:10:27
depth1
children0
net_rshares0
last_payout2018-12-09 15:10:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length635
author_reputation23,203,609,903,979
root_title"SLVE 2.0.1 - Bug Fix"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000