Introduce compare_sparse CLI tool to verify index consistency

Adds a new binary that validates bit-level consistency between dense and sparse K-mer index representations by sampling slots across partitions and reporting discrepancies. Refactors sibling cache matrix initialization into a centralized factory method to simplify control flow and standardize error handling. Introduces diagnostic configurations, benchmark scripts, and an ignored test case to support k-mer resolution analysis.
This commit is contained in:
Eric Coissac
2026-08-17 11:16:42 +02:00
parent 128db64564
commit 1f9c6388eb
14 changed files with 776 additions and 26 deletions
+10
View File
@@ -493,6 +493,16 @@ dependencies = [
"impl-tools",
]
[[package]]
name = "compare_sparse"
version = "0.1.0"
dependencies = [
"anyhow",
"fastrand",
"obicompactvec",
"obikindex",
]
[[package]]
name = "console"
version = "0.15.11"