create account

RE: steemdb 0.2.0 - rshares allocation browser, new data api's and some minor improvements by penguinpablo

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @jesta/steemdb-0-2-0-rshares-allocation-browser-new-data-api-s-and-some-minor-improvements

· @penguinpablo ·
$0.08
Wow, very nice! Thank you @jesta! Keep it up :)

I found a small bug in the calculation of the reputation number for some users: @dantheman for example has a reputation of 104 here https://steemdb.com/@dantheman while this should be 71 at the moment.
👍  ,
properties (23)
authorpenguinpablo
permlinkre-jesta-steemdb-0-2-0-rshares-allocation-browser-new-data-api-s-and-some-minor-improvements-20160909t100344381z
categorysteemdb
json_metadata{"tags":["steemdb"],"users":["jesta","dantheman"],"links":["https://steemdb.com/@dantheman"]}
created2016-09-09 10:03:45
last_update2016-09-09 10:03:45
depth1
children1
last_payout2016-10-10 11:15:30
cashout_time1969-12-31 23:59:59
total_payout_value0.059 HBD
curator_payout_value0.018 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length250
author_reputation792,312,678,950,166
root_title"steemdb 0.2.0 - rshares allocation browser, new data api's and some minor improvements"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,182,617
net_rshares207,485,157,256
author_curate_reward""
vote details (2)
@jesta ·
Yeah I've been asking around to figure out why that's happening, I haven't been able to figure it out myself. I copied the code pretty much directly from steemit.com's source code, and I'm not exactly sure why it's not accurate.

If anyone wants to help, [here's the lines of code](https://github.com/aaroncox/steemdb/blob/master/app/helpers/Reputation.php) that are causing the problem :)
properties (22)
authorjesta
permlinkre-penguinpablo-re-jesta-steemdb-0-2-0-rshares-allocation-browser-new-data-api-s-and-some-minor-improvements-20160909t102019697z
categorysteemdb
json_metadata{"tags":["steemdb"],"links":["https://github.com/aaroncox/steemdb/blob/master/app/helpers/Reputation.php"]}
created2016-09-09 10:20:18
last_update2016-09-09 10:20:18
depth2
children0
last_payout2016-10-10 11:15:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length389
author_reputation140,605,453,893,072
root_title"steemdb 0.2.0 - rshares allocation browser, new data api's and some minor improvements"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,182,691
net_rshares0