Skip to content

Conversation

@mmagnuski
Copy link
Collaborator

Adds support for custom statistics function in pylabianca.selectivity.compute_selectivity() (will also depracate compute_selectivity_continuous)
This update introduces an option to pass a user-defined statistical function to the run_selectivity() function. This allows for selectivity tests not currently supported by the built-in API — for example, comparing post- vs pre-event activity. While the core API may eventually be extended to include such cases, this addition provides a flexible workaround in the meantime.

@codecov
Copy link

codecov bot commented Jun 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@@           Coverage Diff           @@
##            main     #46     +/-   ##
=======================================
- Coverage   76.1%   75.9%   -0.3%     
=======================================
  Files         18      18             
  Lines       3647    3647             
=======================================
- Hits        2778    2770      -8     
- Misses       869     877      +8     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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