-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate score in autopilot domain (#2724)
# Description Related to #2719 (will not fix it until unit test is updated 👇 ) Adds score calculation to `domain::Settlement` object, which will be used to calculate the score during solver competition. ## How to test Will update the `settlement` unit test to test with a settlement transaction that contains multiple fee policies so the whole functionality (surplus, multiple fee policies, score) is tested together. Will update the test in a separate PR. Now, only the function is merged to unblock progress on other tasks for colocation.
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 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