HF RL Explorer

Bloom filter: fix bug

Bloom filter: fix bug: a task in smol-software-harbor (Harbor dataset). The Bloom filter in src/bloom.c answers "maybe present" for almost every string: its probes only ever touch the first few bits of the filter, so the false-positive rate is huge (see make -B test ). The probe index must be…

The task

The Bloom filter in `src/bloom.c` answers "maybe present" for almost every string: its probes only ever touch the first few bits of the filter, so the false-positive rate is huge (see `make -B test`). The probe index must be taken modulo the filter size `BLOOM_BITS`. Fix it and run `make -B test`.

Part of efederici/smol-software-harbor.