Refresh exploration fields in monitor - #896
Open
klei22 wants to merge 1 commit into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request enhances the
run_exploration_monitor.pytool by enabling dynamic discovery and refreshing of configuration fields from associated exploration YAML files. It introduces a new hotkey to refresh runs and fields, ensures that new or updated fields in the YAML are immediately reflected in the UI, and adds comprehensive tests to verify this behavior.Key changes include:
Dynamic field discovery and refresh:
load_exploration_fieldsfunction to extract run-configuration field names from exploration YAML files, handling both flat and grouped syntaxes while excluding schema keys used for grouping.refresh_tablemethod to detect and append new fields from both the exploration YAML and run configs, ensuring the table columns stay up-to-date without disrupting user preferences.User interface and hotkeys:
Rhotkey, allowing users to refresh runs and add new fields from the exploration YAML, with corresponding updates to the help text and hotkey documentation. [1] [2] [3]Testing and reliability:
tests/test_run_exploration_monitor.pyto verify correct field extraction from exploration YAMLs and to ensure the UI updates as expected when new fields are introduced and the refresh hotkey is used. [1] [2]