Skip to content

Add parameter sweep dialog to OasisSubmitter#1903

Draft
Mbeaulne wants to merge 1 commit into03-04-bulk_argument_upload_-_clean_upfrom
03-05-add_paramater_sweep
Draft

Add parameter sweep dialog to OasisSubmitter#1903
Mbeaulne wants to merge 1 commit into03-04-bulk_argument_upload_-_clean_upfrom
03-05-add_paramater_sweep

Conversation

@Mbeaulne
Copy link
Collaborator

@Mbeaulne Mbeaulne commented Mar 5, 2026

Description

Added a parameter sweep feature to the Oasis submitter that allows users to define multiple values for pipeline parameters and automatically generate all combinations. The feature supports two modes: cartesian product (every combination) and zip (paired values). Users can input values manually, paste comma-separated lists, or generate numeric ranges using a built-in range generator with linear and logarithmic scaling.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

  1. Navigate to a pipeline with configurable input parameters
  2. Click the new parameter sweep button (grid icon) next to the run with arguments button
  3. Add multiple values to one or more parameters using:
    • Manual input (comma-separated values)
    • Range generator (e.g., "0.001..0.1 log 5")
  4. Switch between cartesian and zip modes to see different combination strategies
  5. Preview the generated run matrix in the Preview tab
  6. Submit the sweep to create multiple runs with different parameter combinations
  7. Verify that the bulk submission works correctly and creates the expected number of runs

Additional Comments

The implementation includes comprehensive validation to prevent invalid configurations (mismatched value counts in zip mode, empty values, excessive run counts). The range generator supports both linear and logarithmic scaling with customizable step counts. A maximum limit of 500 runs prevents accidental creation of too many runs.

@Mbeaulne Mbeaulne changed the title Add paramater sweep Add parameter sweep dialog to OasisSubmitter Mar 5, 2026
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=03-05-add_paramater_sweep/e0195c1`

@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch 4 times, most recently from bff3bd0 to cf69263 Compare March 11, 2026 19:05
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_clean_up branch from fdf114c to 506fa14 Compare March 11, 2026 19:05
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from cf69263 to f00cc7f Compare March 11, 2026 20:20
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_clean_up branch 2 times, most recently from d29103e to acb3ae3 Compare March 11, 2026 20:24
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch 2 times, most recently from 1d2e8e5 to 56a603f Compare March 11, 2026 20:27
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_clean_up branch from acb3ae3 to 60e28d2 Compare March 11, 2026 20:27
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_clean_up branch from 60e28d2 to a146ca7 Compare March 11, 2026 21:18
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from 56a603f to a3e812b Compare March 11, 2026 21:18
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from a3e812b to e0195c1 Compare March 11, 2026 21:32
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_clean_up branch from a146ca7 to bc03442 Compare March 11, 2026 21:32
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.

1 participant