Block.ops - An Analysis Tool - Prices Update, New Analyses, PatchessteemCreated with Sketch.

It's been a month since my last block.ops contribution. Work over this period has mainly centred around loading data, finding work-arounds for difficult blocks, and deriving new analyses to make use of the data obtained.

In the last couple of days I also updated the fx rates calculations to include "Steem to Vests". This can be derived from the power down payments virtual operations, i.e. the conversion of Steem Power to liquid Steem. It's a nice addition as much of the information on the blockchain is expressed in Vests and this addition will allow users to convert analysis results to Steem.


gears_blockops.jpg

For the last year I have carried out a monthly analysis of the Steem blockchain activity by application (i.e. by the different websites and applications through which you can post to the Steem blockchain - often termed dApps).

My aim is now to build a tool that can automate such complex analyses of Steem data, providing both historic time series and rapidly updatable real-time results. In addition to the dApp analysis there are many other projects for which such a system could be useful.

This tool is Block.ops.

You can read all about block.ops (including the project aims, technology stack, roadmap and how to contribute) in the introductory post here:
https://steemit.com/utopian-io/@miniature-tiger/block-ops-an-analysis-tool-1537300276791


Repository

https://github.com/miniature-tiger/block.ops


New Features

New analyses - Earnings distribution and retention analyses

A collection of new analyses focused around user earnings. These can be combined together to produce some fairly interesting investigations.

  • Earnings lists: The earnings lists aggregate user earnings for all accounts over a defined period. The earnings that can be collected are:
    - author earnings (based on author_reward virtual operations from each post and comment);
    - author earnings obtained from votes by a defined user group (to deduct bid bot effects);
    - curation earnings (based on curation_reward virtual operations from each individual vote); and
    - benefactor earnings (based on comment_benefactor_reward virtual operations).

  • Earnings distributions: Conversion of the above earnings lists into distributions by separating the user count and earnings information into buckets of chosen size.

  • Retention analyses: Statistics illustrating the proportion of users that remain active (by posting) one month after the earnings period. The retention statistics are also separated by bucket allowing the impact of earnings on retention to be examined.

  • Development of all the above analyses for individual dApps.

An illustration of the use of the first two analyses can be found here:
https://steemit.com/utopian-io/@miniature-tiger/steem-analytics-distribution-of-earnings-1543522494404

An example chart pruduced in this analysis is here:
authorcountvearningsv2.png

The pull request and code changes are here:
https://github.com/miniature-tiger/block.ops/pull/10


Fx / prices update - inclusion of Steem:Vests

The previous fx rate developments allowed conversion of Vests / Steem / SBD payouts to STU. I have now updated the fx rate calculations to include "Steem to Vests". This will allow users to convert analysis results to be expressed in Steem.

The fx Steem:Vests rates are derived from the power down payment virtual operations, i.e. the conversion of Steem Power to liquid Steem when powering down. An empirical approach is applied as for the previous fx rate calculations. The power down payments within the defined period are:

  • grouped into hour blocks
  • filtered to conversions within the 20-40 minutes range (so the conversion is close to the 30 minute mark); and
  • sorted with the largest conversion taken (to reduce the impact of rounding).

The conversion rates are then calculated and the prices collection in MongoDB updated.

The pull request and code changes are here:
https://github.com/miniature-tiger/block.ops/pull/11


Various patches for difficult blocks

Loading the block operations data into MongoDB now works pretty smoothly. However there are still some occasional blocks which cause difficulties, mainly due to users pushing manual operations to the blockchain. I patch these issues as they come up.

The pull request and code changes are here:
https://github.com/miniature-tiger/block.ops/pull/9

Progress!


GitHub Account

My account on github is here:
https://github.com/miniature-tiger

Sort:  

Thank you for your contribution! It is nice to see ongoing development for this project. Generally this is a nice piece of work. I would like to suggest that you use "===" instead of "==" in JS, and also, there are still some places of using Promises instead of async/await.

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]

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

Hey, @miniature-tiger!

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!

Coin Marketplace

STEEM 0.30
TRX 0.11
JST 0.033
BTC 64106.00
ETH 3129.71
USDT 1.00
SBD 4.16