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.

Copy link
Collaborator Author

Mbeaulne commented Mar 5, 2026

@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/bff3bd0`

@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch 2 times, most recently from 3de09e0 to 04689c7 Compare March 5, 2026 19:44
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from 04689c7 to bff3bd0 Compare March 5, 2026 19:48
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