Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>Experiment ExplorerNew to Visual Studio Code? Get it now.
Experiment Explorer

Experiment Explorer

Preview

Bertran Miquel Oliver

| (0) | Free
Explore Slurm/Python experiments, source workflows, output folders and logs locally in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Experiment Explorer

Explore 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 .sh and Python files, without instrumenting your experiments or connecting to a tracking server. Your existing chat and other extensions remain available.

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.

Install

Requires 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.

  1. Download the .vsix asset from GitHub Releases.
  2. In VS Code, open the Command Palette and select Extensions: Install from VSIX…. Choose the downloaded file and reload if prompted. In a Remote SSH window, install on the remote workspace host.
  3. Open the repository you want to explore and click Experiments in the activity bar. Opening the sidebar starts the first scan.
  4. Select an experiment to see its description, generated output folders, original launchers, logs and source navigation.

If the scanner cannot find python3, set Experiment Explorer: Python Path (experimentExplorer.pythonPath) to a Python 3.9+ interpreter executable. No server, API key, npm installation or Slurm installation is needed to browse.

To try the synthetic project, clone or download this source repository, then open examples/demo as your VS Code workspace. Its fixtures illustrate grouped launchers, missing entry points, declared outputs and log evidence; no jobs need to run. The downloadable VSIX contains the extension, while the demo is distributed with the source repository.

Find and organize experiments

Launchers 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 .sh file. An unavailable declared entry point is marked Obsolete and archived by default; you can restore it explicitly.

  • Search and order: search names, descriptions, tags, scripts, arguments, datasets and output destinations; order by name, Python script, source folder, invocation count or last modified.
  • Current experiments: a collapsible section for Active experiments whose newest member runfile was modified less than seven days ago, newest first. Entries age out automatically; Rescan picks up new edits. This measures launcher edits, not running jobs or recent results.
  • Pins and collections: keep a stable shortlist, create virtual folders, and drag experiments into collections. Rename display labels, edit purpose descriptions and add tags without renaming source files.
  • Archive and hide: declutter the view while retaining the experiment and its saved metadata. These actions do not move or delete files.
  • Related editor context: opening a related launcher, Python file or resource-backed result-folder tab highlights matching experiments, with the relationship evidence shown.

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 outputs

The 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 context

Parameter 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 changes

Browsing 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 .sh preview or diff. You can copy it, save a new launcher, or explicitly apply a supported change to an existing launcher. Existing-file changes check for intervening edits and unsaved buffers. Unsupported shell constructs may prevent safe replacement; inspect and edit the resulting draft yourself.

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 limitations

The 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

python3 scripts/check.py
python3 build_vsix.py

Tests require Node.js as well as Python. The build produces experiment-explorer-<version>.vsix without downloading dependencies. See DEVELOPMENT.md for architecture, validation and release checks.

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft