sbi/inference/snpe/snpe_c.py
Killed 7 out of 9 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 209
--- sbi/inference/snpe/snpe_c.py
+++ sbi/inference/snpe/snpe_c.py
@@ -78,7 +78,7 @@
each round.
"""
- self._use_combined_loss = use_combined_loss
+ self._use_combined_loss = None
kwargs = del_entries(
locals(), entries=("self", "__class__", "use_combined_loss")
Mutant 213
--- sbi/inference/snpe/snpe_c.py
+++ sbi/inference/snpe/snpe_c.py
@@ -149,7 +149,7 @@
# continue. It's sneaky because we are using the object (self) as a namespace
# to pass arguments between functions, and that's implicit state management.
- self._num_atoms = num_atoms
+ self._num_atoms = None
kwargs = del_entries(locals(), entries=("self", "__class__", "num_atoms"))
return super().__call__(**kwargs)