Repository navigation
Rusty Rival v1.0.80
Rival now spends its clock more fully, and is protected against losing on time when the clock is nearly empty. There is no search or evaluation change: the bench signature is unchanged at 2958774 nodes.
What changed
- Time allocation. When the GUI sends no moves-to-go, Rival assumes 20 moves remain instead of 30. v1.0.79 left a large share of its clock unused in a typical game.
- Low-clock guard. The fixed 10 ms budget floors now shrink with a short clock, and a zero clock gets a small emergency budget. The guard cannot change a budget when the clock is 400 ms or more, or when the clock is 40 ms or more with an increment of 40 ms or more.
- Tablebase clock guard. With less than 250 ms on the clock, Rival skips the Syzygy lookup at the root and plays the move by normal search. The lookup reads tablebase files and cannot be interrupted.
Measured strength
+24.4 Elo against v1.0.79, 95% range +20.6 to +28.3.
| Test | Games | Result |
|---|---|---|
| Confirmation, 10 s + 0.1 s, 1 thread, Hash 128 MB, Syzygy on | 12,000 | +24.4 Elo, 95% range +20.6 to +28.3 |
| Strict clock, 5 s + 0, x86-64, Syzygy on | 400 | 0 losses on time, v1.0.79 lost 2 |
| Strict clock, 5 s + 0, Apple silicon, no tablebases | 400 | 0 losses on time, v1.0.79 lost 5 |
- The confirmation was played by the time-allocation change alone. It carries over to this release because Rival's clock never fell below 327 ms in any of the 12,000 games, so neither guard was ever active.
- The strict-clock tests count a loss for any overrun of the clock, with no margin. The x86-64 test was run on the final source. The Apple silicon test was run before the tablebase guard was added, and that guard has no effect without tablebases.
- The confirmation and the x86-64 strict-clock test were independently audited (NET-2039). The Apple silicon strict-clock test was the developer's own diagnostic; the auditor recounted its games and confirmed 0 against 5.
Limitations
- Sudden death with tablebases can still lose on time. The tablebase guard only acts below 250 ms. Lookups of up to 788 ms were measured on a busy machine with more than half a second on the clock. A lookup that is slower than the remaining clock will still overrun. This did not happen in the tests, and v1.0.79 has the same weakness at every clock.
- The 250 ms threshold was chosen from one failed test run and then passed one independent run of 400 games. It is not tuned further.
- The gain was measured at 10 s + 0.1 s with one thread. It comes from using the clock better, so it may differ at other time controls and it does not apply to fixed-depth, fixed-node or fixed-movetime play.
- The strength test ran on x86-64 Linux only. Apple silicon was covered by a strict-clock test, not a strength test. The Windows binaries are built from the same source but were not match-tested.
Changes
- Spend the clock more fully, with a low-clock guard (NET-2039) in #119
Full Changelog: v1.0.79...v1.0.80