Write which page each figure sits on, and what each figure draws

Aperta
#272 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jovo ci sta già lavorando.

Dal 4/12/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

A dashboard that shows each results page as it stands, with the unpublished results above the published ones, needs to know which figure sits on which page and what each figure draws. draw_settings.py writes neither today.

What the dashboard shows

One section per page under docs/experiments/, in the docs' order. Each figure on the page appears in page order with its caption. Each figure has two versions:

  • Published: the SVG the docs site serves, such as https://docs.neurodata.io/prolearn/_images/linear-drift-steep-context-online-risk.svg. These come from the last dispatch of docs.yml, so nothing redraws them. An arm marked shown counts as new until the site rebuilds.
  • Candidate: every arm not dropped, with partial seeds, cut to the checkpoints all its seeds reached. It is redrawn at each checkpoint, as draw_settings.py SETTING --unfinished already does.

Where the two differ, the candidate sits above the published figure, labelled with what changed: a new arm, more seeds on an arm, or a new figure. Figures that a draw makes and no page embeds get a section of their own. linear-drift-steep-single is the case today: all five of its done arms draw figures that no page shows.

What prolearn adds

  1. The page of each figure, read from the ![...](figures/X.svg) lines in docs/experiments/*.md.
  2. In <setting>-figures.json, each figure's arms and the seeds each arm drew. Then a reader compares the candidate with the published figure by arms and seeds, not by image.
  3. The published <setting>-figures.json served beside the figures on the site, so the published arm and seed lists can be read back.

Questions

  1. Does the page map go into <setting>-figures.json, or into one file for all pages, written by a separate script?
  2. Is (3) the right way to learn what the site draws, or should the reader rebuild it from status.toml and runs/ at the commit the site was built from?

Related

Pro-MLP (Fourier + monomial), with time features harmonic-polynomial, has no fixed shade in prolearn.plotting. Its --unfinished draws raise, so it cannot show up in any candidate yet.

Lingua principale
Python
Stelle
0
Fork
0
Merge medio
2h 9m
PR unite (30g)
164

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di neurodata/prolearn

Tutte le issue di neurodata/prolearn

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.