Skip to content

fix(memory): keep Bloom membership correct after insertion - #91

Open
mazzasaverio wants to merge 1 commit into
ma2za:mainfrom
mazzasaverio:fix/bloom-cache-invalidation
Open

mazzasaverio wants to merge 1 commit into
ma2za:mainfrom
mazzasaverio:fix/bloom-cache-invalidation

Conversation

@mazzasaverio

@mazzasaverio mazzasaverio commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

A negative Bloom filter lookup remained cached after insertion, hiding newly added entries. Clear membership caches after add(), validate parameters and allocate at least one bit. Regression tests cover cached misses, Unicode, repeated additions, existing members and invalid sizing.

Validation: 11 focused tests passed. Full CI passed 528 tests per test-matrix job with 95.15% coverage, plus quality, docs, performance, property, packaging and installed-wheel checks. Local full-suite execution ended with exit 137 during ONNX, so CI supplies that evidence: https://github.com/ma2za/pseudonymize/actions/runs/36972349695 . No detector thresholds or dependencies change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant