Repository navigation
Feat: dag and inspector tools - #295
Merged
Merged
Conversation
bpiwowar
added a commit
that referenced
this pull request
Oct 20, 2026
Factor the DAG tool of #295 so that the web UI, the `experimaestro dag` command and its HTML export share one implementation: - experimaestro.ui.graph builds the graph from the run's serialized objects (no experiment code import, no networkx) and computes the views (grid search configuration, jobs only, stacking by bisimulation, transitive reduction) in Python only - state providers expose the raw objects (get_run_objects, cached, with an RPC for SSH workspaces) and stay graph-agnostic - the web UI graph tab uses a new presentational DagView component, fed by an experiment.graph WebSocket request and the live job statuses - the standalone HTML page embeds the same component (dag.js bundle) with the graph, all its views and the statuses - the dag command opens that page, saves it (--html), dumps JSON or prints the graph stage by stage Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces two main features:
experimaestro inspecta lightweight tool for inspecting serialized tasks (
params.json) or Objects (experimaestro.json)experimaestro inspect [--workspace my_ws] [path/to/params.json | hashid]ion a taskExample visual:
DAG tool
Fancy DAG drawing featuring:
Task node color based on status
optinally also display the intermediate Objects in the Dependency Graph
Aligned Heuristic vs advanced Dagre layouts
Auto-filter when using grid search configs
stack parallel nodes not core to the xp (e.g many parallel evals)
could be integrated in the web app directly
Example visualization for a very complex experiment:

Checklist
pre-commit install) andpre-commit run --all-filespassesfeat: …,fix: …)uv run pytestpassessrc/experimaestro/webui/data/committed (ifapp/changed)See CONTRIBUTING.md for details.