-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix metrics and observations in autopilot runloop (#3039)
# Description This PR addresses several smaller issues related to metrics in the autopilot run loop and refactors functions in preparation for #2996 (comment). # Changes <!-- List of detailed changes (how the change is accomplished) --> - [ ] `Self::is_solution_fair` is now checked for every solution, not just for the global winner (fixing an oversight in [PR #2996](#2996)) - [ ] Updated the "matched but unsettled" metric to include all winners, not just the global winner (fixing another oversight from [PR #2996](#2996)). - [ ] Reorganized logs and order status updates to facilitate extracting common functionality between shadow and main competitions (to be addressed in follow-up work). Next step: refactor `competition` function from shadow and main runloop to be exactly the same and unify the `Participant` struct (currently both modes have their own version). ## How to test Existing e2e tests
- Loading branch information
Showing
4 changed files
with
114 additions
and
87 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