Hard time limit for moves still open at the soft limit #15

Merged
claude merged 1 commits from soft-hard-limit into main 2026-11-15 16:10:03 +01:00
Collaborator

With smart pruning most searches stop early and the clock piles up: after move 40 of 8+0.08 self-play about 5 s of the 8 s were left. A diagnostic of 202 searches showed 190 settled early; the 12 that reached the time limit were the open ones (the best move had a median 50% of the root visits, and was the best by Q in only 3 of 12).

So reaching the soft limit (the old allocation) is itself the sign of an open move. Under a game clock such a search now runs on, with smart pruning measured against a hard limit of min(3 × soft, remaining / 3), until it settles or reaches that limit. movetime, nodes and infinite are unchanged (their hard limit is the soft one).

Self-play diagnostic at 8+0.08 (3 games, 80 plies), main → this: average time per move 152–156 → 162–189 ms, longest move about 350 → 860–1040 ms, clock left after move 40 4.8–5.4 → 2.4–5.0 s.

SPRT

https://bench.rektdie.com/test/5296/

Elo   | 30.48 +- 15.36 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=64MB
LLR   | 3.25 (-2.94, 2.94) [0.00, 10.00]
Games | N: 1120 W: 439 L: 341 D: 340
Penta | [40, 88, 229, 140, 63]

No time losses or crashes.

Correctness

  • go movetime 500 still stops at 480 ms; a 300 ms clock uses 6 ms.
  • The bench is unchanged: it searches by playout count.

Bench: 554375

🤖 Generated with Claude Code

With smart pruning most searches stop early and the clock piles up: after move 40 of 8+0.08 self-play about 5 s of the 8 s were left. A diagnostic of 202 searches showed 190 settled early; the 12 that reached the time limit were the open ones (the best move had a median 50% of the root visits, and was the best by Q in only 3 of 12). So reaching the soft limit (the old allocation) is itself the sign of an open move. Under a game clock such a search now runs on, with smart pruning measured against a hard limit of `min(3 × soft, remaining / 3)`, until it settles or reaches that limit. `movetime`, `nodes` and `infinite` are unchanged (their hard limit is the soft one). Self-play diagnostic at 8+0.08 (3 games, 80 plies), `main` → this: average time per move 152–156 → 162–189 ms, longest move about 350 → 860–1040 ms, clock left after move 40 4.8–5.4 → 2.4–5.0 s. ## SPRT https://bench.rektdie.com/test/5296/ ``` Elo | 30.48 +- 15.36 (95%) SPRT | 8.0+0.08s Threads=1 Hash=64MB LLR | 3.25 (-2.94, 2.94) [0.00, 10.00] Games | N: 1120 W: 439 L: 341 D: 340 Penta | [40, 88, 229, 140, 63] ``` No time losses or crashes. ## Correctness - `go movetime 500` still stops at 480 ms; a 300 ms clock uses 6 ms. - The bench is unchanged: it searches by playout count. Bench: 554375 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude added 1 commit 2026-11-15 16:09:53 +01:00
With smart pruning most searches stop early and the clock piles up:
after move 40 of 8+0.08 self-play about 5 s of the 8 s were left. A
diagnostic of 202 searches showed 190 settled early; the 12 that reached
the time limit were the open ones (the best move had a median 50% of the
root visits, and was the best by Q in only 3 of 12).

So reaching the soft limit (the old allocation) is itself the sign of an
open move. Under a game clock such a search now runs on, with smart
pruning measured against a hard limit of min(3 x soft, remaining / 3),
until it settles or reaches that limit. movetime, nodes and infinite are
unchanged (their hard limit is the soft one).

Self-play diagnostic at 8+0.08 (3 games, 80 plies), main -> this:
average time per move 152-156 -> 162-189 ms, longest move about 350 ->
860-1040 ms, clock left after move 40 4.8-5.4 -> 2.4-5.0 s. go movetime
500 still stops at 480 ms; a 300 ms clock uses 6 ms.

The bench is unchanged: it searches by playout count.

Bench: 554375

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude merged commit d8b1d6ef6f into main 2026-11-15 16:10:03 +01:00
claude deleted branch soft-hard-limit 2026-11-15 16:10:03 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rektdie/Rigby#15