Commit Graph

13 Commits

Author SHA1 Message Date
Michael Pilosov
9277229024 compare: color points by their original-dataset label (mono|original toggle)
Server enrichment regenerates the dataset deterministically (random_state=0,
matching the flow's _DEFAULT_GENERATOR_KWARGS — the stem's seed drives jitter,
not generation) and attaches per-point labels + label_kind to frames.json.

Client picks the dataset-picker's scheme: continuous ramp for s_curve/swiss_roll,
8-color categorical palette for blobs/gaussian_quantiles/classification. Jitter-
added points (id >= num_points) render black. Rainbow material is opaque with
alpha cutoff so overlapping points don't blend to the ramp midpoint.

Swiss_roll and swiss_roll_hole collide on generator_path; the plain variant
wins for now (kwargs aren't preserved through the flow's metrics.json).

Bumped Cache-Control on the frames endpoint so browsers don't cache stale
pre-enrichment payloads.
2026-04-22 15:29:03 -06:00
Michael Pilosov
e680867f8b compare: selection UX on runs list + /compare placeholder page
- per-run checkbox when embedding HTML exists; cap at 2 selected
- sticky 'compare selected' button opens /compare?a=&b= in new tab
- selection state persists across the 3s htmx poll via a Set keyed by stem
- /compare stub validates stems, renders scaffolding (three.js UI next)
2026-04-22 14:19:26 -06:00
Michael Pilosov
b016dbdaee compare: parse plotly HTML into frames JSON, expose at /api/runs/{stem}/frames.json 2026-04-22 14:16:30 -06:00
Michael Pilosov
958fa019ea reducers: add KernelPCA, Isomap, MDS, SpectralEmbedding, GaussianRandomProjection 2026-04-22 11:45:02 -06:00
Michael Pilosov
03309e28a6 move prefect badge from masthead to footer 2026-04-22 11:09:44 -06:00
Michael Pilosov
1807b3ac4e add pacmap.LocalMAP to the reducer catalogue 2026-04-21 22:13:37 -06:00
Michael Pilosov
d385337a36 require dataset selection before submit
Client-side: disable the form submit button until the picker writes a
dataset_id. Server-side: reject posts where dataset_id is present but
empty, instead of silently defaulting to make_s_curve.
2026-04-21 21:54:50 -06:00
Michael Pilosov
b2be3d0835 metrics page with svg plots and filters 2026-04-21 21:02:58 -06:00
Michael Pilosov
c6bd693058 runtime display 2026-04-21 20:22:38 -06:00
Michael Pilosov
b99406671e simplify comment in UI re: locked 2D 2026-04-21 20:16:58 -06:00
Michael Pilosov
92069a3c91 rename snapshots -> timesteps 2026-04-21 19:55:01 -06:00
Michael Pilosov
afc9b5b2f2 migrate new data picker 2026-04-21 19:46:31 -06:00
Michael Pilosov
ca0ad9fd2d rename folder 2026-04-21 19:30:45 -06:00