forked from facebook/Ax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor _get_trial_indices_to_fetch (facebook#3086)
Summary: This diff refactors the _get_trial_indices_to_fetch method to improve its readability and maintainability. The changes include: 1. Extracting a new method _identify_trial_indices_to_fetch that takes both old and new trial statuses as input 2. Simplifying the logic for identifying newly completed, running, and previously completed trials with new data after completion. 3. Improving code organization and reducing duplication Differential Revision: D66045355
- Loading branch information
1 parent
7f2c4a0
commit 9a98ad8
Showing
1 changed file
with
65 additions
and
50 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