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

オープン
#272 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@jovo がすでに取り組んでいます。

2026年12月4日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
Python
スター
0
フォーク
0
平均マージ
2時間 9分
マージ済み PR(30日)
164

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

neurodata/prolearn のほかの issue

neurodata/prolearn の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。