imblearn/under_sampling/_prototype_selection/_one_sided_selection.py

Killed 0 out of 3 mutants

Survived

Survived mutation testing. These mutants show holes in your test suite.

Mutant 285

--- imblearn/under_sampling/_prototype_selection/_one_sided_selection.py
+++ imblearn/under_sampling/_prototype_selection/_one_sided_selection.py
@@ -89,7 +89,6 @@
     Resampled dataset shape Counter({{1: 496, 0: 100}})
     """
 
-    @_deprecate_positional_args
     def __init__(
         self,
         *,

Mutant 286

--- imblearn/under_sampling/_prototype_selection/_one_sided_selection.py
+++ imblearn/under_sampling/_prototype_selection/_one_sided_selection.py
@@ -93,7 +93,7 @@
     def __init__(
         self,
         *,
-        sampling_strategy="auto",
+        sampling_strategy="XXautoXX",
         random_state=None,
         n_neighbors=None,
         n_seeds_S=1,

Mutant 287

--- imblearn/under_sampling/_prototype_selection/_one_sided_selection.py
+++ imblearn/under_sampling/_prototype_selection/_one_sided_selection.py
@@ -96,7 +96,7 @@
         sampling_strategy="auto",
         random_state=None,
         n_neighbors=None,
-        n_seeds_S=1,
+        n_seeds_S=2,
         n_jobs=None,
     ):
         super().__init__(sampling_strategy=sampling_strategy)