fairseq/incremental_decoding_utils.py
Killed 4 out of 5 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 42
--- fairseq/incremental_decoding_utils.py
+++ fairseq/incremental_decoding_utils.py
@@ -16,7 +16,7 @@
self.init_incremental_state()
def init_incremental_state(self):
- self._incremental_state_id = str(uuid.uuid4())
+ self._incremental_state_id = None
def _get_full_incremental_state_key(self, key: str) -> str:
return "{}.{}".format(self._incremental_state_id, key)