dr-sandbox/app/web
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
..
static compare: color points by their original-dataset label (mono|original toggle) 2026-04-22 15:29:03 -06:00
templates compare: color points by their original-dataset label (mono|original toggle) 2026-04-22 15:29:03 -06:00
__init__.py rename folder 2026-04-21 19:30:45 -06:00
main.py compare: color points by their original-dataset label (mono|original toggle) 2026-04-22 15:29:03 -06:00
plotly_parse.py compare: parse plotly HTML into frames JSON, expose at /api/runs/{stem}/frames.json 2026-04-22 14:16:30 -06:00