Migration To Package Surfaces¶
online-fdr exposes p-value and e-value methods through separate package surfaces:
online_fdr.p_valuesfor p-value proceduresonline_fdr.e_valuesfor e-value procedures
The root package no longer re-exports every method.
Import Changes¶
# Before:
# from online_fdr.investing.addis.addis import Addis
# from online_fdr.batching.bh import BatchBH
# from online_fdr.utils.generation import DataGenerator
# Now
from online_fdr.p_values import Addis
from online_fdr.p_values import BatchBH
from online_fdr.core.utils import DataGenerator
For common p-value methods, prefer package-level imports:
For e-value methods:
State Names¶
New code should use:
target_levelfor the configured error-control levelerror_ratefor the controlled error-rate family (FDR,mFDR, orFWER)last_test_levelfor the last method-specific test levellast_rejection_thresholdfor the last input-scale rejection boundarynum_hypothesesfor processed hypothesesnum_batchesfor processed non-empty batches where applicable
Use test_one_detail(...) and test_batch_detail(...) when downstream audit logs need thresholds, indices, or metadata in addition to boolean decisions.