Weekly overview of the bug-hunting category- week 49, 2018

in #utopian-io5 years ago (edited)

This is a report on the weekly contributions to the bug hunting category. The post contains basic stats like the number of contributions received by the category, an excerpt on new contributors if there are any and a detailed comparison of the week's output with previous weeks.

utopian (1).jpg

Previous Reports

Bug hunting contributions summary

  • Week 49: November 29th - December 6th
  • 5 Contributions, 5 scored, 5 rewarded
  • 1 new contributor, @blockchainstudio
  • An average score of 74

At the time of writing this report, all the bugs received have been fixed by their respective POs.

The contribution

ContributorURLProjectScore
@blockchainstudiowhy-sbd-print-rate-is-still-1-despite-the-haircut-bug-report-explanation-and-suggestionssteemit70
@neupanedipenbusy-org-shows-incorrect-vote-worthbusy.org55
@tobias-g1ramp-alpha-web-app---some-profiles-dont-load-null-images-within-feed1ramp75
@tobias-g1ramp-alpha-web-app---unable-to-submit-post-comment1ramp85
@tobias-g1ramp-alpha-web-app---error-occurs-when-post-submitted-with-same-title-used-in-previous-post-permlink-characters1ramp85

@blockchainstudio, a first-time contributor to the category, he noticed the SBD print rate was still at 1%.

This bug is due to separate and inconsistent

calculations for current_median_history and sbd_print_rate.

The sbd_print_rate is calculated here
https://github.com/steemit/steem/blob/7ebe3f8bddf9e58c943618f55136db6330dd95a0/libraries/chain/database.cpp#L3761-L3783

The first problem is current_median_history is already haircut (which I don't recommend doing so in Expected behavior), so percent_sbd can never surpass 10%.

The second problem is due to the inflation between the time when current_median_history is calculated and the time when update_virtual_supply() (which updates sbd_print_rate) is called, percent_sbd is always strictly less than 10% just a bit.

He would go on to give these suggestions

  • Use non-haircut value for current_median_history for consistency

    • All other real history values are non-haircut values, as you can see on https://api.steemjs.com/get_feed_history. This inconsistency can create lots of confusions, e.g., recent asset value error (steemit.com) / voting value error (busy.org which they still have)
    • Witnesses still need to report non-haircut prices, which again is very inconsistent and confusing. (https://steemd.com/witnesses)
  • Introduce a new variable such as "haircut discount" and show the value on steemd and get_feed_history as well.

    • For instance, https://api.steemjs.com/get_feed_history should show "base": "0.328 SBD", "quote": "1.000 STEEM", "haircut": "0.796"
    • This makes the code much more readable and much less prone to bugs such as the current one.

This contribution was reviewed by @crokkon

@neupanedipen, a returning contributor to the category, he discovered an error in the vote worth that pops up when the upvote slider is used. This same error is reflected on the user's dashboard as well.

When I click on the upvote option in a post (with slider option for voting enabled), it shows very high vote worth which is not actually your vote worth.

This issue was later resolved by the POs in busy.org's latest update.

@tobias-g, a moderator in the category, he decided this week he'll get his hands dirty - purring the whitelist for projects plagued with bugs. 1Ramp would prove to be exceptionally buggy. 1Ramp, as described in its FAQ is a social media platform for creators. On 1Ramp, you can join communities of your interest (art, literature, photography, fashion, travel etc), write blogs, share photos, get feedback, and take inspiration by browsing through the work shared by other creators. The moderator found three bugs, detailed below:

steemconnect.com/api/broadcast:1 

Failed to load resource: the server responded with a status of 500 ()

Within the response from SteemConnect the following error is provided:

{"error":"server_error","error_description":"permlink.size() > STEEM_MIN_PERMLINK_LENGTH && permlink.size() < STEEM_MAX_PERMLINK_LENGTH: Permlink is not a valid size."}

The following request payload was used in the above request:

{"operations":[["comment",{"parent_author":"","parent_permlink":"","auth

This issue was resolved by the PO in this pull request - https://github.com/hapramp/alpha-web/pull/80

  • When a user attempts to submit a post with a title that has already been used previously, the application will throw an error. When you create a post with the same title the application prepends the current date & time to the permlink, however, the timestamp is causing an error upon submission to the blockchain via Steem Connect.
    Upon submitting the first post, the request payload is as follows:
{"operations":[["comment",{"parent_author":"","parent_permlink":"hapramp","author":"votezilla","permlink":"this-is-a-title","title":"this is a title","body":"<p>this is a body</p>\n\n  <div id=\"1ramp-footer\" />\n  <hr>\n  <center>\n  <h4>\n  <a href=\"https://1ramp.io\">\n  <img src=\"https://ipfs.busy.org/ipfs/QmTFN4mf55SRZkP8Ug7jXVP3sXAmH7sd35zMNwLFpgGqNU\"/>\n  </a>\n  <br>\n  See this post on <a href=\"https://play.google.com/store/apps/details?id=com.hapramp\">1Ramp Android</a> and <a href=\"https://alpha.1ramp.io/@votezilla/this-is-a-title\">Web</a>.\n  </h4>\n  </center>","json_metadata":"{\"tags\":[\"hapramp\",\"hapramp-design\",\"design\"],\"app\":\"hapramp/0.0.16\"}"}]]}

This created the following post: https://alpha.1ramp.io/@votezilla/this-is-a-title

When attempting to submit a post with the same title, the following errors are shown within the console:

Error 1

steemconnect.com/api/broadcast:1
Failed to load resource: the server responded with a status of 500 ()

Error 2

actions.js:86 [CREATE POST ERROR] Error: sc2-sdk error

at o.p [as _captureStackTrace] (bluebird.js:1068)

at o._resolveFromExecutor (bluebird.js:3246)

at new o (bluebird.js:2845)

at Object.createPost (steem.js:341)

at Object.<anonymous> (actions.js:69)

at r (runtime.js:62)

at Generator._invoke (runtime.js:296)

at Generator.e.(anonymous function) [as next] (https://alpha.1ramp.io/static/js/main.3492e6e4.js:1:1732164)

at r (main.3492e6e4.js:56758)

at main.3492e6e4.js:56758

Within the response from SteemConnect the following error is provided:

{"error":"server_error","error_description":"false: Invalid permlink character: T"}

The following request payload was used in the above request:

{"operations":[["comment",{"parent_author":"","parent_permlink":"hapramp","author":"votezilla","permlink":"20181202T132132047Z-this-is-a-title","title":"this is a title","body":"<p>this is a body</p>\n\n <div id=\"1ramp-footer\" />\n <hr>\n <center>\n <h4>\n <a href=\"https://1ramp.io\">\n <img src=\"https://ipfs.busy.org/ipfs/QmTFN4mf55SRZkP8Ug7jXVP3sXAmH7sd35zMNwLFpgGqNU\"/>\n </a>\n <br>\n See this post on <a href=\"https://play.google.com/store/apps/details?id=com.hapramp\">1Ramp Android</a> and <a href=\"https://alpha.1ramp.io/@votezilla/20181202T132132047Z-this-is-a-title\">Web</a>.\n </h4>\n </center>","json_metadata":"{\"tags\":[\"hapramp\",\"hapramp-design\",\"design\"],\"app\":\"hapramp/0.0.16\"}"}]]}

This post was resolved by the PO in this pull request - https://github.com/hapramp/alpha-web/pull/82.

The 3 contributions by tobias-g were reviewed and scored by @fego.

In summary, there were 5 contributions to the category this week and all were scored and rewarded and also in accordance with the Utopian review guidelines governing the category. There were no staff picks. There was a new contributor to the category this week, @blockchainstudio. Also, @neunpanedipen returned to bug hunting after a long break from the category, good to have you back :).

Hunter Totals and Average

bargraph 18.png

@tobias-g joins @mightypanda who's been the most consistent of the hunters for weeks past, they both top the bug-hunters table with 3 finds each. @tobias-g is presently the hunter with the highest average reward score of 81.67, previously occupied by @stmdev at 80.

Weekly Average Score and number of Contributions

bargraph 21.png

All contributions were scored and rewarded this week, hence the week's average score is 74. The average score of 74 is higher than week 48 and week 47's 0 and 65.17 respectively. It is the highest recorded average in 8 weeks. Compared to last week, this week the category received 4 contributions more. Note that in the calculation of the average, the zero scored contributions are not included.

Reports Reviewed By Reviewer

bargraph 22.png

bargraph 19.png

The 19 contributions received by the category in the past 8 weeks were assessed by 4 reviewers. Of the 19 contributions, 16 were rewarded.

  • @sachincool have now reviewed 2 contributions (40, 40) with an average score of 40.
  • @fego have reviewed 12 contributions (45.5, 72.5, 44.5, 80, 35.5, 80, 55, 75, 85, 85) with an average score of 65.8.
  • @tobias-g have reviewed 4 contributions (37.5, 65, 70) with an average score of 57.5.
  • @crokkon have reviewed 1 contribution, with an average score of 70.

Other items

In other updates, the category is currently discussing with @espoem possible ways to onboard project owners and bug-hunters alike. Plans are being put in place to further expand the whitelist to give the testers a much broader field to explore. Hopefully, the measures to achieving these objectives would be further addressed in the moderator's weekly meeting scheduled for Monday, 10th of December 2018.

For bug-hunters and open source enthusiasts looking to help open source projects, please take a look at our whitelist of projects that you can submit bug reports for:

https://docs.google.com/spreadsheets/d/1S7ayFTEy5CBMyeJvFRgq5JUjlqZxFjWAWhhrBL0GC60/edit#gid=1954068373


If you wish to have your open source projects added to our whitelist you can contact us on our help channel at our discord server. You can also leave your questions and comments below :)


Thanks

@fego

Sort:  

This post was tremendously informative, with detailed information about the category and the contributions to it.

However, it had quite a few issues of style, grammar, and proofreading, making it occasionally difficult to read. There were some places where I had to guess from context what you meant to write. While we judge #iamutopian posts differently from regular Blog category posts, the basic requirement of writing carefully and well is still present. I would really like to see more of an emphasis on this in future weekly reports.

Thanks for the contribution. I really did appreciate the effort.

Please note that while I haven't changed the footer, I am not scoring #iamutopian posts based on the questionnaire. They have their own metric, and that will be the case until we go live with the new guidelines and new questionnaire, which will be comprehensive enough to reflect these types of posts.

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]

@didic, thanks for the review. It will be of great help if you point out to me where I erred, especially on the issues of style and grammar

Of course. Here are some examples:

@blockchainstudio, a first-time contributor to the category, he noticed the SBD print rate was still at 1%.

This could work as:
"@blockchainstudio is a first-time contributor to the category. He noticed the SBD print rate was still at 1%."

Or:
"@blockchainstudio, a first-time contributor to the category, noticed the SBD print rate was still at 1%."

purring the whitelist for projects plagued with bugs.

What was it supposed to be? Perusing?

1Ramp, as described in its FAQ is a social media platform for creators.

The missing comma after FAQ is very confusing.

Also, @neunpanedipen returned to bug hunting after a long break from the category, good to have you back :).

You can't talk about and to a person in the same sentence. A period after "category" would have been very helpful.

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

Hi @fego!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @fego!

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!

Congratulations @fego! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 600 upvotes. Your next target is to reach 700 upvotes.

Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 64107.21
ETH 3073.84
USDT 1.00
SBD 3.88