-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use NativePriceEstimating version of RacingEstimating in factory (#1883)
Now that we have a RacingPriceEstimator that can deal with `NativePriceEstimating`, we can change the factory to instead of being: `Native(Sanitized(Competition(inner))` to `Competition(inner)` Since currently all inner are still general purpose `PriceEstimating` implementations, nothing much changes (each inner becomes a `Native(Sanitized)`, but this allows for new types of estimators that only implement the `NativePriceEstimating` trait. It also makes it so that price estimates only require n (by default 2) solutions in order to return a price (we used to wait for all estimators before)
- Loading branch information
Showing
6 changed files
with
54 additions
and
28 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
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