imblearn/over_sampling/_adasyn.py

Killed 0 out of 3 mutants

Survived

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

Mutant 102

--- imblearn/over_sampling/_adasyn.py
+++ imblearn/over_sampling/_adasyn.py
@@ -82,7 +82,6 @@
     Resampled dataset shape Counter({{0: 904, 1: 900}})
     """
 
-    @_deprecate_positional_args
     def __init__(
         self,
         *,

Mutant 103

--- imblearn/over_sampling/_adasyn.py
+++ imblearn/over_sampling/_adasyn.py
@@ -86,7 +86,7 @@
     def __init__(
         self,
         *,
-        sampling_strategy="auto",
+        sampling_strategy="XXautoXX",
         random_state=None,
         n_neighbors=5,
         n_jobs=None,

Mutant 104

--- imblearn/over_sampling/_adasyn.py
+++ imblearn/over_sampling/_adasyn.py
@@ -88,7 +88,7 @@
         *,
         sampling_strategy="auto",
         random_state=None,
-        n_neighbors=5,
+        n_neighbors=6,
         n_jobs=None,
     ):
         super().__init__(sampling_strategy=sampling_strategy)