pub fn lookup_reference(
bb: &Bitboard,
db: &OpeningBookDatabase,
) -> Option<Value>Expand description
Probe the book for an exact reference at bb, reconstructing the JSON
shape produced by crate::bench::reference::solve_position (minus a
full principal variation — only the first optimal move is known).
Returns None unless (a) a row exists for bb’s canonical key with
solved = true, and (b) bb is its own canonical representative — see
the module doc for why the second condition is required.