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

未关闭
#272 1 条评论 0 个 reaction 已指派 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 分钟
30 天内合并 PR
164

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

neurodata/prolearn 的其他 Issue

查看 neurodata/prolearn 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。