Skip to content

Move the playground to playgrounds 0.3.0, one concern per output - #108

Merged
flgrubm merged 5 commits into
mainfrom
sim/playgrounds
Dec 3, 2026
Merged

flgrubm merged 5 commits into
mainfrom
sim/playgrounds

Conversation

@flgrubm

@flgrubm flgrubm commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Follows #107.

  • playgrounds input → v0.3.0. The archive still leaves the input out; its flake files are unchanged.
  • flakeModules.playground → flakeModules.playgrounds, as playgrounds' guide names a project's module; new checks.playground-flake-module (a site importing both modules serves the package), run by CI and ./check.sh playground.
  • Outputs: one concern each, data without explanations. Determinized (default), Modes, Runs, Premises, Steps, Exact, Chains.
  • With 0.3.0's links: each printed piece maps to its smallest source node; chain self-loops are plain edges; the histogram uses the page's colours.

Reviewer surface (lean/Determinize/Spec/, Theorems.lean): unaffected.

🤖 Generated with Claude Code

flgrubm and others added 5 commits December 2, 2026 18:43
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The playgrounds' guide (§6) has a project export its language as
flakeModules.playgrounds, built with withSystem; flakeModules.playground
becomes that. checks.playground-flake-module builds a site that imports
both modules; CI and check.sh run it beside the conformance kit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Runs keeps the distributions and their statistics; the theorems'
premises and the inferred modes become outputs of their own (Premises,
Modes), and Determinized shows only the determinized program. The panes
keep their data and the reasons for missing values, not explanations.
Premises, Steps, Exact and Chains update on edits, as the simulator's
panes do, and share the runs and the finite models with Runs and Exact.
One map of the outputs serves the worker and the tests, which check it
against the manifest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Determinized is the first output, so the default tab, and Modes the
second. Determinized also runs on Run: the playgrounds' host switches to
Runs when Run is pressed on an output that doesn't run on Run, so
without it the first press would leave the default tab empty.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
0.3.0 links code items' mappings, item sources and graph nodes with the
editor, draws self-loops and the page's colours in SVG items. The
determinized and annotated programs map each piece to the smallest node
it belongs to, since the host marks every mapping under the pointer;
the chains draw their self-loops as edges again; and the histogram takes
its colours from var(--pg-*) tokens instead of prefers-color-scheme.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@flgrubm flgrubm self-assigned this Dec 3, 2026
@flgrubm
flgrubm merged commit 96ce2fa into main Dec 3, 2026
5 checks passed
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