Information regarding how the bot handles actual user interactions, besides just mine.
When testing an app like this, as the developer, I know how the bot is supposed to work which affects my ability to find bugs. By opening it up and letting anyone test the bot, they are going to do things that I wouldn't end up doing, and will help me discover the edge case bugs that I otherwise wouldn't find.
There's no other data collection besides that.
@jesta
Have you tried breaking the Bot by having it self-delegate? IE. by paying 1 STEEM to it with @powerbot in the memo?
The way it was designed actually prevents that, since @powerbot doesn't actually do any of the delegating itself. There's a number of other bots (@powerbot-1, @powerbot-2, @powerbot-3, @powerbot-4) that do the actual delegations.
I didn't think of that until now though, and that likely would have caused some sort of error, if the @powerbot account was actually delegating it's SP!
That's correct @jesta, being a developer I know those bugs can haunt you. The bugs which you never anticipated. Good Luck with @powerbot.
Thanks, and exactly.
I considered adding a joke in there about data collection, a blockchain, and steemdb - but decided against it :)
Hahhaha, everyone would not have understood that joke anyway. Would love to know all the bugs you encountered while doing the testing.
The first bug was fun... with dynamic numbers (which SP -> VEST math is), I ran into an issue where the request strategy ended up short by
0.0000000005 VESTS
, and then in an attempt to allocate more vests, was actually ended up decreasing the size of the request by that amount. The loop was counting down from1028804.22191
in0.0000000005
increments hah, which would have finished someday and resulted in a failed request, but who knows how long that would have taken!The bandaid fix for that one was to just apply a small + (0.000001) to each vest addition in it's strategy. I'm going to have to dig in deeper to figure out where that value isn't being rounded properly to the 6th decimal.
In the mean time, bonus 0.000001 VESTS on every request LOL
Wow interesting bug though. The whole concept of vests always haunts me. Have to play with a lot of numbers and write an appropriate algo to deal with it. Great fix too. Bonus for all