-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding provider optimizer tiers (#1679)
* added selection weights, wip adding tiers * finished tiering in the optimizer, needs tests * added tests for tiering and bug fixes * added tier selection tests * added selection weight unitests * added shift tier chance to selection tier * adjusted optimizer to work without perturbation * fixes * adding optimizer flags * improved formulas for selection, added unitests * added unitests * fix exploration chance * refactor optimizer to allow extracting tiers without choosing a provider + lint * finished fixing old optimizer tests * added unitests, added code to give stake handicap for higher tiers being degraded * added more unitests * lint * lint * comments * fix unitests failing when running concurrently * support not setting stake (usually in tests) in pairing * now actually solve the uninitialized stake * remove duplication of batches --------- Co-authored-by: Ran Mishael <ran@lavanet.xyz>
- Loading branch information
1 parent
aae38b9
commit f7c62a0
Showing
11 changed files
with
1,179 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.