-
Notifications
You must be signed in to change notification settings - Fork 314
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 (#3086)
Summary: Pull Request resolved: #3086 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 Reviewed By: lena-kashtelyan Differential Revision: D66045355 fbshipit-source-id: 70e8b22701dbbc6c9a915a0a14ba172b18857cee
- Loading branch information
1 parent
5f3e8e2
commit ec08fe5
Showing
1 changed file
with
72 additions
and
55 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