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

Abierto
#272 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@jovo ya está trabajando en esto.

Desde el 4/12/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
2 h 9 min
PR fusionados (30 d)
164

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de neurodata/prolearn

Todos los issues de neurodata/prolearn

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.