games: leave the bots at school, and a note saying where they are
The policy on main is a 300k-hand placeholder — real, and the bots play a proper game off it, but thin. A 20M-hand run is still going on millenia. Both the plan and the memory now say exactly how to collect it, and how to start it again if it is lost. Nothing in the code is waiting on it: the policy is a data file, and a better one only makes the bots harder to beat. Claude-Session: https://claude.ai/code/session_013M5nD7PgUboJXoDcYHzpuJ
This commit is contained in:
@@ -479,6 +479,33 @@ A multi-session build. This section is the handover; read it before anything els
|
||||
size, with chips scaled to match. The bet total hangs *below* the ring
|
||||
(`.pete-spot-total`), which is the existing rule for exactly this reason.
|
||||
|
||||
### Pick this up here — a 20M-hand policy is still training
|
||||
|
||||
The `policy.gob` on main is a **300,000-hand run** — a placeholder. It works (95%
|
||||
heads-up hit rate, and the bots play a real game off it), but it is thin: 4,129
|
||||
nodes. A **20,000,000-hand run** was started on millenia on 2026-07-14 and needs
|
||||
collecting:
|
||||
|
||||
```sh
|
||||
ssh reala@192.168.1.212 'tail -2 ~/pete-train/train.log' # is it done?
|
||||
scp reala@192.168.1.212:~/pete-train/policy-new.gob internal/games/holdem/policy.gob
|
||||
go test ./internal/games/holdem/ -run TestTheBotsAreActuallyTrained -v # hit rate must hold ≥60%
|
||||
```
|
||||
|
||||
Then re-drive the table in a browser and commit it. If the run was lost, just do it
|
||||
again — it is one command and about an hour:
|
||||
|
||||
```sh
|
||||
rsync -az --delete --exclude .git --exclude node_modules ./ reala@192.168.1.212:~/pete-train/
|
||||
ssh reala@192.168.1.212 'cd ~/pete-train && go build ./cmd/holdem-train && \
|
||||
nohup ./holdem-train -iterations 20000000 -workers 30 -out ~/pete-train/policy-new.gob \
|
||||
> ~/pete-train/train.log 2>&1 &'
|
||||
```
|
||||
|
||||
millenia (`reala@192.168.1.212`) has 32 cores and does ~250k hands a minute. The
|
||||
local box does ~110k. Nothing about the *code* is waiting on this — the policy is a
|
||||
data file, and a better one only makes the bots harder.
|
||||
|
||||
### Next, in order
|
||||
|
||||
1. **Deploy.** Hangman, solitaire, trivia, UNO and hold'em are all played and all
|
||||
|
||||
Reference in New Issue
Block a user