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
Address review: clean error messages and validate stored hash segments
Collapse backslash line-continuations inside ValueError message
literals (13 sites in minhash.py, lean_minhash.py, b_bit_minhash.py) --
they embedded the source indentation into user-facing error text.
Validate segment bytes in MinHashLSHForest.get_minhash_hashvalues
before inferring the value width: the segment length must be a whole
number of 4- or 8-byte values and all segments must agree, so corrupted
or truncated storage raises ValueError instead of being silently
reinterpreted with the wrong dtype. Add a corrupt-segment test.
0 commit comments