Expand description
Fitted-linear handcrafted evaluation for non-terminal Quantik positions.
Scores a position as the dot product of a small, hand-designed feature
vector and a fitted weight vector (EvalConfig::weights). features is
a pure function of (bb, player). Port of the Python
quantik_core.evaluation module; feature semantics must stay identical
so fitted weights remain interchangeable between implementations.
Structs§
- Eval
Config - Weights for the fitted-linear evaluation and the terminal win bonus.
Constants§
- FEATURE_
NAMES - Feature vector layout produced by
features, in order.
Functions§
- count_
legal_ moves - Count
player’s legal moves, 0 if it is notplayer’s turn. - evaluate
- Score a non-terminal position as
cfg.weights · features(bb, player). - features
- Compute the 6-dimensional handcrafted feature vector for
bb.