You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put the complete search-only global-tuning workflow in tools/tune/, so the running campaign can be audited and reproduced from the repository instead of private orchestration files.
This does not change sunfish.py or claim an Elo gain.
What is included
a frozen 2:1:1 opponent panel with calibration and source/binary provenance
weighted, reproducibly randomized panel support in logistic GP and SPSA
the full search-knob inventory, including exact off-boundaries and conditional IID axes
a deterministic policy gate for fuel, mate-band, and eventual-widening invariants
immutable per-run training protocols binding engines, books, panel, space, settings, and source files
resumable campaign orchestration and crash-safe pending-pair journals
an honest split between auditing a frozen benchmark manifest and verifying its historical method checkout
The C twin only gains the UCI knobs needed by the shared parameter space; its defaults remain node-identical to Python.
Full C-twin audit found and fixed one stale test assumption.
NULL_CAP_MARGIN is intentionally independent in the lab twin, while Python currently reuses EVAL_ROUGHNESS. The old gate changed only EVAL_ROUGHNESS, so C and Python were no longer testing the same recurrence. The gate now explicitly couples the two values whenever it is checking Python parity.
table sizes 500 and 50: 913 and 915 probes, 0 mismatches
The complete 27-position QS=0 sweep remains pending on faster hardware: it is retained in make gate, but the Python reference took over six minutes and 1 GB locally. This PR should not merge before that final sweep passes.
Added an independent prevalidation audit for the terminal consensus. It now recomputes the support/L1/SHA winner from all 20 canonical lane optima and rejects a tampered selection or evidence record. The combined tuner suite is now 161 tests, all passing.
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
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.
Purpose
Put the complete search-only global-tuning workflow in
tools/tune/, so the running campaign can be audited and reproduced from the repository instead of private orchestration files.This does not change
sunfish.pyor claim an Elo gain.What is included
The C twin only gains the UCI knobs needed by the shared parameter space; its defaults remain node-identical to Python.
Verification
python3 -m unittest tools.tune.logistic_gp.test_logistic_gp tests.test_tuning_tools— 160 passedpython3 -m unittest discover -s tools/tune -p 'test_*.py'— 10 passedmake -C tools/ctwin test— 247 search probes and 423 move-generation lists, 0 mismatchespython3 tools/tune/verify_recovery.py --method-root <frozen-checkout>— verifiedgit diff --check— clean