Experiment ExplorerExplore a Slurm/Python research repository from its launchers: find an experiment, understand its source, compare its parameters, and reach its output folders and logs. Experiment Explorer adds an Experiments sidebar and an interactive editor view to VS Code. It works with existing Public beta · Linux and Remote SSH are the initial target environments. Windows and macOS have not been validated. Automated tests cover scanner and UI behavior; a live graphical compatibility sweep remains manual. InstallRequires VS Code 1.85+, a trusted workspace, and Python 3.9+ on the workspace host. Your training environment and its Python packages are not required.
If the scanner cannot find To try the synthetic project, clone or download this source repository, then open Find and organize experimentsLaunchers that call the same resolved Python entry file are grouped into one experiment, including launchers in different folders. Expand a group to reach each original
If a section is hidden, use Experiments: Show current experiments, Experiments: Show pinned experiments, or Experiments: Open overview from the Command Palette. Understand the code and its outputsThe details view extracts job names, SBATCH resources, Python commands, arguments, dataset declarations, output destinations and stdout/stderr templates. It resolves simple shell variables and arrays, with warnings for unresolved values. Click any section heading to collapse or expand it. Collapse all and Expand all control the current experiment or launcher view, and your choices are remembered as you switch experiments and update parameters within the editor panel. Generated outputs and launcher/log shortcuts start expanded near the top. The interactive workflow view supports dragging, panning and cursor-centered zoom. Source links take you to operations such as loading data, preprocessing, training, evaluation and writing results. Edges reflect bounded static source evidence; descriptions are labelled according to their source or inference. A Python call graph does not necessarily represent the conceptual experiment pipeline or runtime order. Branches, dynamic dispatch and omitted code can change what actually happens. Use the visualization as source navigation and inspect its evidence. Generated outputs lists verified existing output folders inside the workspace, such as directories for plots, embeddings or reports. Destinations come from launcher output arguments and, when missing there, supported Python defaults or writer expressions. Missing, unresolved, external or unchecked paths remain source declarations rather than folder shortcuts. Existence is checked during the bounded scan and checked again when opening a folder. An existing destination does not prove a job ran or produced its current contents. Launchers and logs, immediately below outputs, provides Open .sh, clickable indexed logs, Show in Explorer, and log-folder open/copy shortcuts. Declared stdout/stderr templates remain distinct from existing log files. A filename or template match is labelled Possible match; stronger links retain their evidence rather than assigning results by resemblance alone. The artifact index samples bounded directories. An absent match does not prove a file is missing. Use Rescan, or Resample artifacts for this run in original-run details, to refresh the evidence. Compare configurations and share contextParameter controls collect observed values and complete presets while preserving original launchers. Omitted options, flags and repeated arguments remain distinct. A custom combination is labelled as a draft; it inherits no results from a nearby preset. Explore parameter coverage compares two extracted parameters, such as dataset × model. Click a populated cell to inspect its exact source invocations or load an observed preset. Counts are source declarations, not completed jobs; empty cells do not prove a sweep is incomplete. Open experiment brief creates an unsaved Markdown document with the experiment's purpose, source references, resource profiles, parameter variations, output folders and extraction caveats. Review its paths and arguments before sharing it. Prepare launcher changesBrowsing and scanning are read-only. Optional launcher authoring accepts both parameter controls and a pasted Python/srun command. Choose an original invocation, prepare a draft and review the full The extension never submits Slurm jobs, runs training, moves outputs or rewrites Python experiment code. Saving or applying a launcher requires an explicit action after preview. Privacy and limitationsThe extension's scanner and UI run locally on the workspace host. They make no network requests, upload no repository contents and add no telemetry. Scanning parses text and Python syntax; it does not import project code or execute shell files. Organization preferences are stored in VS Code workspace state, and the current scan snapshot is held in memory. Source navigation and artifact sampling are bounded by file, depth, byte and time limits. Large repositories, unusual shell syntax, dynamically constructed paths, Python registries and external destinations can produce partial results. File-opening actions are restricted to indexed paths inside the selected repository. See technical limits and development. The sidebar is a local navigation aid, not an execution monitor or a proof of reproducibility. Inspect source evidence when a result association or inferred description matters. Build and contribute
Tests require Node.js as well as Python. The build produces Report a bug or suggest a workflow in GitHub Issues. Include a small synthetic launcher/source example, the extension and VS Code versions, and any extraction warning. Remove private paths, account names and tokens before posting. Licensed under MIT. See third-party notices and inspiration. |