Skip to content

Add sBEE metric and bump version to 0.6.0 - #267

Open
MekanMyradov wants to merge 3 commits into
YosefLab:mainfrom
MekanMyradov:add-sbee-metric
Open

Add sBEE metric and bump version to 0.6.0#267
MekanMyradov wants to merge 3 commits into
YosefLab:mainfrom
MekanMyradov:add-sbee-metric

Conversation

@MekanMyradov

Copy link
Copy Markdown

Summary

  • Add sBEE (single-cell Batch Effect Evaluator) as a new batch correction metric
  • Wire sbee into the benchmark pipeline (BatchCorrection, MetricAnnDataAPI, metric_name_cleaner) using 90-neighbor resolution
  • Add tests (test_sbee.py, update test_benchmarker.py)
  • Add API docs entry, changelog entry, and DOI citation in references.bib

Test plan

  • All tests pass (pytest)
  • Docs build successfully (cd docs && make html)
  • Pre-commit hooks pass

@codecov

codecov Bot commented May 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.76543% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.32%. Comparing base (e15177d) to head (3a80be8).

Files with missing lines Patch % Lines
src/scib_metrics/metrics/_sbee.py 98.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #267      +/-   ##
==========================================
+ Coverage   90.72%   91.32%   +0.59%     
==========================================
  Files          26       27       +1     
  Lines        1014     1095      +81     
==========================================
+ Hits          920     1000      +80     
- Misses         94       95       +1     
Files with missing lines Coverage Δ
src/scib_metrics/__init__.py 100.00% <ø> (ø)
src/scib_metrics/benchmark/_core.py 95.40% <100.00%> (+0.05%) ⬆️
src/scib_metrics/metrics/__init__.py 100.00% <100.00%> (ø)
src/scib_metrics/metrics/_sbee.py 98.71% <98.71%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MekanMyradov

MekanMyradov commented May 19, 2026

Copy link
Copy Markdown
Author

Dear @ori-kron-wis,

Can you please approve/reject the PR.

Thanks
Mekan

@ori-kron-wis

Copy link
Copy Markdown
Member

We will review it in the coming days , thank you @MekanMyradov

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.

2 participants