Add a nine-task navigator to the first pipeline stage#17
Conversation
The 'Heuristic policies in simulation' card now pages through all nine simulation-heuristics task packages (arrows + keyboard), each with its environment, the task.md description, a GitHub link, a matching pencil illustration in the loop medallion, and a per-task environment popover and starter chip.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3981de87da
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if(e.key==='ArrowRight'){renderTask(ti+1);e.preventDefault();} | ||
| }); | ||
| renderTask(0); | ||
| setTimeout(function(){TASKS.forEach(function(t){var im=new Image();im.src=t.img;});},1500); |
There was a problem hiding this comment.
Avoid preloading every task illustration
This runs on every landing-page visit and forces the browser to fetch all task illustrations after 1.5s, even when the visitor never opens the stage-01 pager. The eight new PNGs in website/assets add about 7.7 MiB of transfer, so on mobile or slow connections this burns bandwidth and can compete with user-initiated loads; lazy-load the current or adjacent task images instead of preloading the whole set.
Useful? React with 👍 / 👎.
The Heuristic policies in simulation card now lets viewers page through all nine simulation-heuristics task packages with ‹ › arrows (keyboard ←/→ works when the pager is focused, wraps around):
MuJoCo Ant → HalfCheetah → Pong (RAM) → Breakout (RAM) → Breakout (RGB) → Montezuma's Revenge → ViZDoom D1 → ViZDoom D3 → Atari-57 suite
Per task, the card shows the environment name, the one-line description from its
task.md, and a link to the task package on GitHub. The improvement-loop diagram updates too: a matching graphite-pencil illustration in the center medallion (8 new plates inwebsite/assets/env-*.png, style-matched to the Ant), a per-task starter chip, and a per-task environment popover. The submit chip's scoring line is now suite-generic (every task shipsanchors.jsonwith starter=0 / reference=100 normalization).Verified locally: all nine pages cycle with images loaded, popovers update, no console errors, no layout overflow at 1280px or 375px; the pager only renders inside stage 01 as before.