Skip to content

put vstack inside accumulate chunks

7237023
Select commit
Loading
Failed to load commit list.
Merged

feat: Sampler interface and ability to add custom samplers #101

put vstack inside accumulate chunks
7237023
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 21, 2026 in 0s

92.00% (target 80.00%)

View this Pull Request on Codecov

92.00% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 94.65241% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.00%. Comparing base (76ba1a1) to head (7237023).

Files with missing lines Patch % Lines
src/annbatch/loader.py 93.33% 4 Missing ⚠️
src/annbatch/samplers/_chunk_sampler.py 95.23% 4 Missing ⚠️
src/annbatch/utils.py 90.90% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   92.45%   92.00%   -0.45%     
==========================================
  Files           6       10       +4     
  Lines         636      738     +102     
==========================================
+ Hits          588      679      +91     
- Misses         48       59      +11     
Files with missing lines Coverage Δ
src/annbatch/__init__.py 100.00% <100.00%> (ø)
src/annbatch/abc/__init__.py 100.00% <100.00%> (ø)
src/annbatch/abc/sampler.py 100.00% <100.00%> (ø)
src/annbatch/samplers/__init__.py 100.00% <100.00%> (ø)
src/annbatch/types.py 100.00% <100.00%> (ø)
src/annbatch/utils.py 84.61% <90.90%> (-2.20%) ⬇️
src/annbatch/loader.py 90.32% <93.33%> (-1.67%) ⬇️
src/annbatch/samplers/_chunk_sampler.py 95.23% <95.23%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.