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

Đang mở
#272 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@jovo đang làm issue này rồi.

Từ ngày 4/12/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
2 giờ 9 phút
Pull request đã merge (30 ngày)
164

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của neurodata/prolearn

Tất cả issue của neurodata/prolearn

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.