pyro/infer/mcmc/logger.py
Killed 0 out of 8 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 397
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -14,7 +14,7 @@
get_ipython
ipython_env = True
except NameError:
- ipython_env = False
+ ipython_env = True
# Identifiers to distinguish between diagnostic messages for progress bars
# vs. logging output. Useful when using QueueHandler in multiprocessing.
Mutant 398
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -14,7 +14,7 @@
get_ipython
ipython_env = True
except NameError:
- ipython_env = False
+ ipython_env = None
# Identifiers to distinguish between diagnostic messages for progress bars
# vs. logging output. Useful when using QueueHandler in multiprocessing.
Mutant 399
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -18,7 +18,7 @@
# Identifiers to distinguish between diagnostic messages for progress bars
# vs. logging output. Useful when using QueueHandler in multiprocessing.
-LOG_MSG = "LOG"
+LOG_MSG = "XXLOGXX"
DIAGNOSTIC_MSG = "DIAGNOSTICS"
Mutant 400
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -18,7 +18,7 @@
# Identifiers to distinguish between diagnostic messages for progress bars
# vs. logging output. Useful when using QueueHandler in multiprocessing.
-LOG_MSG = "LOG"
+LOG_MSG = None
DIAGNOSTIC_MSG = "DIAGNOSTICS"
Mutant 401
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -19,7 +19,7 @@
# Identifiers to distinguish between diagnostic messages for progress bars
# vs. logging output. Useful when using QueueHandler in multiprocessing.
LOG_MSG = "LOG"
-DIAGNOSTIC_MSG = "DIAGNOSTICS"
+DIAGNOSTIC_MSG = "XXDIAGNOSTICSXX"
# Following compatibility code is for Python 2 (available in Python 3.2+).
Mutant 402
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -19,7 +19,7 @@
# Identifiers to distinguish between diagnostic messages for progress bars
# vs. logging output. Useful when using QueueHandler in multiprocessing.
LOG_MSG = "LOG"
-DIAGNOSTIC_MSG = "DIAGNOSTICS"
+DIAGNOSTIC_MSG = None
# Following compatibility code is for Python 2 (available in Python 3.2+).
Mutant 403
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -56,7 +56,7 @@
updated via the ``pos`` kwarg.
"""
def __init__(self, warmup_steps, num_samples, min_width=80, max_width=120,
- disable=False, num_bars=1):
+ disable=True, num_bars=1):
total_steps = warmup_steps + num_samples
# Disable progress bar in "CI"
# (see https://github.com/travis-ci/travis-ci/issues/1337).
Mutant 404
--- pyro/infer/mcmc/logger.py
+++ pyro/infer/mcmc/logger.py
@@ -56,7 +56,7 @@
updated via the ``pos`` kwarg.
"""
def __init__(self, warmup_steps, num_samples, min_width=80, max_width=120,
- disable=False, num_bars=1):
+ disable=False, num_bars=2):
total_steps = warmup_steps + num_samples
# Disable progress bar in "CI"
# (see https://github.com/travis-ci/travis-ci/issues/1337).