Skip to content

WIP: Add BaseRPCPrice adjustment to host scoring

Marcin Jachymiak requested to merge 2019-11-11-baserpc-price-adjustment into master

MERGE REQUEST

Overview

Adjust host score depending on BaseRPCPrice. Score is adjusted based on how large the BaseRPCPrice is compared to the default BaseRPCPrice. The new adjustment is a float between 0.0 and 1.0.

The adjustment factor is computed using a quadratic function, where a BaseRPCPrice of 10 times the default is adjusted to 0. In the graph below, the x-coordinates are multiples of the default base price.

host-score-notebook

Example for Visual changes (ie Screenshot)

Issues Closed

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods, or updating methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to work flow
  • Issue added to Sia-UI repo for new supporting features
Edited by Marcin Jachymiak

Merge request reports

Loading