MRG: refactor calculate_gather_stats
to disallow repeated downsampling
#3352
70.83% of diff hit (target 86.52%)
View this Pull Request on Codecov
70.83% of diff hit (target 86.52%)
Annotations
Check warning on line 228 in src/core/src/index/mod.rs
codecov / codecov/patch
src/core/src/index/mod.rs#L228
Added line #L228 was not covered by tests
Check warning on line 895 in src/core/src/signature.rs
codecov / codecov/patch
src/core/src/signature.rs#L893-L895
Added lines #L893 - L895 were not covered by tests
Check warning on line 899 in src/core/src/signature.rs
codecov / codecov/patch
src/core/src/signature.rs#L898-L899
Added lines #L898 - L899 were not covered by tests
Check warning on line 902 in src/core/src/signature.rs
codecov / codecov/patch
src/core/src/signature.rs#L902
Added line #L902 was not covered by tests
Check warning on line 907 in src/core/src/signature.rs
codecov / codecov/patch
src/core/src/signature.rs#L905-L907
Added lines #L905 - L907 were not covered by tests
Check warning on line 728 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L728
Added line #L728 was not covered by tests
Check warning on line 786 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L786
Added line #L786 was not covered by tests
Check warning on line 794 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L794
Added line #L794 was not covered by tests
Check warning on line 1545 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L1544-L1545
Added lines #L1544 - L1545 were not covered by tests
Check warning on line 1547 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L1547
Added line #L1547 was not covered by tests
Check warning on line 1550 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L1550
Added line #L1550 was not covered by tests
Check warning on line 1564 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L1564
Added line #L1564 was not covered by tests
Check warning on line 1572 in src/core/src/sketch/minhash.rs
codecov / codecov/patch
src/core/src/sketch/minhash.rs#L1572
Added line #L1572 was not covered by tests
Check warning on line 557 in src/core/src/storage/mod.rs
codecov / codecov/patch
src/core/src/storage/mod.rs#L557
Added line #L557 was not covered by tests
Check warning on line 559 in src/core/src/storage/mod.rs
codecov / codecov/patch
src/core/src/storage/mod.rs#L559
Added line #L559 was not covered by tests