Skip to content

Experiments as one page per result - #240

Open
jovo wants to merge 14 commits into
mainfrom
claude/results-pages-8526da
Open

jovo wants to merge 14 commits into
mainfrom
claude/results-pages-8526da

Conversation

@jovo

@jovo jovo commented Dec 4, 2026

Copy link
Copy Markdown
Member

Refs #236

Replaces the four per-setting experiment pages with one page per claim, drawn from the runs already in runs/:

  1. Settings: the four streams, prospective risk, how to read the figures, the rule for leaving chance.
  2. Prospective learning works, no time fails (R1).
  3. Infinitely many tasks, if time is encoded right (R2a, R2b). R2c, the predicted boundary, follows in a separate PR.
  4. Prospective context learning (R3).
  5. Forecasters (R4). The drift half waits on linear-drift-steep-single (Add linear-drift-steep-single, so the forecasters run on drift #233).
  6. Online learning (R5): the 2×2 grid.
  7. Size and cost (R6): late risk against FLOPs and against learned numbers, and learned numbers against FLOPs to first reach risk 0.1, one dot per seed.
  8. Generality: the table of where each learner leaves chance.

How it is drawn. experiments/draw_pages.py holds PAGES, one map of page to figures to settings and arms. From it the script draws each figure, writes its caption with the current seed count, writes each page's run.py commands, and writes the generality table, into docs/experiments/figures/ (gitignored). A panel draws only arms marked shown with a finished seed, and the commands list only those. Figures follow the house rules: color by family, batch dashed, online solid, chance and Bayes on every risk axis, the midway-boundary line on drift. Network weight counts come from each run's architecture, and a test checks them against every count the meter recorded.

Choices awaiting answers in #236. Q11 (one row per learner in the generality table, naming the encodings that work), Q12 (torch in the docs jobs, so the gallery examples train real learners), Q13 (no example for the forecasters and generality pages), Q14 (draw_pages.py replaces draw_settings.py --all in CI and the docs workflow, and AGENTS.md says so). This PR implements each proposed default, so it should wait for those answers.

Gallery. Five new examples, one per result page with a learner the docs can train: plot_prospective_learning, plot_infinitely_many_tasks, plot_context_learning, plot_online_learning, plot_size_and_cost.

Findings worth a look. The GRUs stay at chance on both switching settings. On steep drift, RoPE-TF, TF and Pro-OMLP (Fourier) pass the rule for leaving chance by tracking or swinging, not by reaching the Bayes risk. The generality page says so.

Checks. pre-commit, pytest --runslow tests/test_draw_pages.py, pytest --testmon, draw_pages.py, and sphinx-build -W --keep-going.

🤖 Generated with Claude Code

Replace the per-setting experiment pages with a Settings page and one page
per claim (R1-R6) plus a generality table. experiments/draw_pages.py maps
each page to its figures, settings and arms, and draws the figures, captions'
seed counts, reproduce commands and table from that map. Five gallery
examples train the learners the pages describe.

Refs #236

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jovo

jovo commented Dec 4, 2026

Copy link
Copy Markdown
Member Author

Codex review of 15d8f28, run by pr-review.

  1. AGENTS.md:10 — risk. The PR description says Q11–Q14 remain unanswered, yet this adds the implementation that depends on each choice. The repository rule prohibits coding before every task question is answered. If the maintainer rejects Q14, for example, the changed CI and docs workflow must be reverted or redesigned.

  2. docs/experiments/size-and-cost.md:10 — risk. This states result magnitudes, “three orders” and “six,” although the repository rule forbids experiment pages from quoting FLOPs ratios. A later run can change these ratios while the prose remains false. Describe the relative placement on the log axis without numerical ratios.

@jovo jovo added the reviewed-codex Reviewed by Codex (pr-review) label Dec 4, 2026
jovo and others added 13 commits December 3, 2026 23:41
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reverse MODE_STYLES and every figure that follows it, as the maintainer
decided in #236, and draw the generality table's cells as colored marks
with a key.

Refs #236

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rift

A learner without time tracks the drifting classes near the risk of a
boundary fitted midway, so beating chance there says nothing about time.
The maintainer chose this bar in #236.

Refs #236

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pushers committed seeds 3 and 4, so the hardcoded count broke CI on
main and on this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The online-learning figure drops MLP, OMLP, Forest, OForest, TF and OTF.
Main's tracker-style test now expects batch solid, as this branch draws.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TF without time now ends below the midway line on drift, Pro-TF beats it
with monomial features, DeepAR leaves chance after the first third, and
Pro-Forest reaches low risk cheaply with one sample per step too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewed-codex Reviewed by Codex (pr-review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant