Skip to content

Enhance run explorations - #874

Merged
gkielian merged 3 commits into
ReaLLMASIC:masterfrom
klei22:enhance_run_explorations
Aug 2, 2026
Merged

Enhance run explorations#874
gkielian merged 3 commits into
ReaLLMASIC:masterfrom
klei22:enhance_run_explorations

Conversation

@klei22

@klei22 klei22 commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements to the experiment configuration system and the exploration monitor UI, focusing on more flexible parameter sweeps and enhanced usability. The main changes include support for default and null sweep values in YAML configurations, improved handling of command-line arguments, new UI features in the monitor, and comprehensive tests for the new behaviors.

Experiment configuration and sweep improvements:

  • Added support for default and null values in sweep configurations. The default sentinel omits a parameter from the generated config, while null preserves Python None (and omits the CLI flag). This is handled in both the YAML schema (explorations/default.yaml) and the sweep logic (run_experiments.py). [1] [2] [3] [4] [5] [6]

  • Added tests to ensure correct handling of default and null in configuration generation and command building (tests/test_run_experiments.py).

Exploration monitor UI and usability enhancements:

  • Added a new hotkey (I) to view the associated exploration YAML file for a run, with a dedicated read-only screen (ExplorationConfigScreen). [1] [2] [3] [4] [5]

  • Added a new hotkey (D) to remove all colour-maps from columns in the monitor UI. [1] [2] [3]

  • Improved column reordering: colour and sort settings now follow columns when reordered, preserving user preferences (MonitorApp._remap_indexed_column_settings). [1] [2] [3]

Testing and code quality:

  • Added tests for the new UI features and column setting remapping in the monitor (tests/test_run_exploration_monitor.py).

These changes make experiment configuration more expressive and robust, and significantly improve the usability and reliability of the exploration monitoring tool.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the experiment exploration workflow by extending YAML sweep semantics (default to omit parameters; null to preserve None/omit CLI flags) and improving the run_exploration_monitor.py TUI with new hotkeys and better column-setting behavior during reordering.

Changes:

  • Added default/null sweep handling in run_experiments.py, including CLI construction behavior for None.
  • Improved the exploration monitor UI with: a hotkey to view the associated exploration YAML, a hotkey to clear all column colour-maps, and remapped colour/sort settings when columns are reordered.
  • Added new unit tests covering sweep behavior and the new monitor UI behaviors.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
optimization_and_search/run_experiments.py Implements default/null sweep semantics and updates CLI building to omit None flags.
run_exploration_monitor.py Adds YAML viewer screen + new hotkeys and preserves colour/sort settings during column reordering.
explorations/default.yaml Updates default exploration spec to demonstrate/enable the new default/null sweep behavior.
tests/test_run_experiments.py Adds tests validating default omission and null/None CLI handling.
tests/test_run_exploration_monitor.py Adds tests for YAML viewer hotkey and column setting remapping logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +144 to +147
if self.config_file.exists():
contents = self.config_file.read_text()
else:
contents = "Associated exploration YAML file was not found."
@gkielian
gkielian merged commit 1d33831 into ReaLLMASIC:master Aug 2, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants