Repository navigation
Redesign the landing page around the real training run - #3
Merged
Merged
Conversation
The network rarely proposes pass (self-play only allows it at the end), so after an opponent's pass the engine filled its own territory before passing. GTP, the arena, terminal play and the browser engine now pass immediately when the area count after both passes is a win (Search.PassWins). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JyK2tUFLPsLyWjy2h2erVw
- cmd/gofer-wasm: rules and search compiled to WebAssembly; the network runs in onnxruntime-web (web/engine.js, loaded on first play) - Hero: play Gofer (live candidate moves and win-rate estimate) or watch a real win over GNU Go level 10, replacing the 19x19 human-game replay and the engine-less free-play board - Elo-by-generation chart, regenerated social image from a real position - Tailwind compiled at build time (make site) instead of the runtime play CDN; scripts moved to site.js/engine.js; HTML 85 KB -> 54 KB - CI builds the WebAssembly engine Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JyK2tUFLPsLyWjy2h2erVw
A new visual identity (paper, ink and a vermilion seal; Bricolage Grotesque, Instrument Serif and JetBrains Mono, self-hosted) with hand-written CSS and no CSS build step. Everything on the page is drawn from the training run: - Hero: Gofer's own analysis of every position of a win over GNU Go level 10 (candidate moves, win estimate, whether GNU Go played the move Gofer expected), on a canvas board with animated stones. - How it learns: the self-play / train / evaluate loop with a live self-play game, the policy loss by generation and gen 16's results. - Watch it learn: scrub through all 18 networks - one self-play game each, the raw opening policy before search, and the Elo ladder with GNU Go and rollout anchors. - Play: the WebAssembly engine, with live candidates on the board. - Under the hood: spec sheet, replayed terminal sessions, quick start. cmd/sitedata writes web/data/*.json from a run directory (make site-data), so every number is reproducible. The in-browser search now yields to the page every 16 visits. Before, a search blocked the only thread for its whole duration (about 1 s at 400 visits, 4.5 s at 1600) and the page froze; now it renders at 24-28 fps while Gofer thinks. A new game or undo cancels a running search instead of letting it play into the next game. Tailwind is gone (web/src, tailwind.config.js); CI vets the onnx build tag and checks the site scripts and data parse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JyK2tUFLPsLyWjy2h2erVw
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A full redesign of the landing page, built around the real training run instead of marketing copy. It also brings the play-in-the-browser work to
main: #2 merged into the v3 branch after that branch had already been merged, so those two commits never reachedmain. They're the first two commits here, unchanged.What's on the page now
web/fonts/). The wooden board is drawn on canvas, with shaded stones that drop into place and captures that fade out.Every number comes from the run:
cmd/sitedatawritesweb/data/*.jsonfrom a run directory (make site-data RUN=…). The hero game is committed asdocs/results/games/gnugo-l10-vs-gofer.sgf.Engine fix: the page froze while Gofer thought
The in-browser search ran on the page's only thread and never yielded, so the page froze for the whole search: about 1 s at 400 visits and 4.5 s at 1600. No progress or candidates showed, and scrolling stopped. The search now yields every 16 visits, so the page runs at 24–28 fps while Gofer thinks, at a cost of about 16% search time. Because of that yield, "New game" or "Undo" could arrive mid-search, so a reset now cancels the running search instead of letting it play into the next game.
Housekeeping
web/src/,tailwind.config.js). The page is plain HTML, CSS and JS, andmake siteonly rebuilds the WebAssembly engine and copies the model.onnxbuild tag (coverscmd/sitedata) and checks that the site scripts and data parse.Test plan
go test -short ./...;go vet ./...,-tags onnx, andGOOS=js GOARCH=wasm;gofmt;node --checkGenerated by Claude Code