Please use the following structure, depending on the type of your contribution.
New Features
- What feature(s) did you add?
I thought it would be a good idea to have more diversity among all the voting bots, so I add this Tag Promotion feature.
Bot owners can choose a couple of tags which they want to promote, by setting allow_tag_promotion to true and specified the tags at promoted_tags to enable this feature.
Once the feature is enabled, every article containing any of the tags will get a bonus when they bid. The ratio can be adjusted at promote_ratio.The promote_ratio = 0.5 means an article with a promoting tag will get a 50% bonus: a bid of 1 SBD will be recorded as 1.5 SBD
- How did you implement it/them?
Link to relevant lines in the code on GitHub and explain briefly what you added/changed.
I add a new boolean flag contain_promotion_tag before the checkPost function. If the post has any of the promoting tags, the flag will be set to true and the amount parameter of the post will be changed before pushed into round.
Detail about this commit : https://github.com/MattyIce/postpromoter/pull/70/files
Posted on Utopian.io - Rewarding Open Source Contributors