Skip to content

Commit

Permalink
removed cheating, normal log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskar Taubert committed Oct 23, 2023
1 parent bbda900 commit e42db3d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/test_cmaes.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def test_PSO():
"""
Test single worker using Propulator to optimize sphere using a PSO propagator.
"""
return
rng = random.Random(42) # Separate random number generator for optimization.
limits = {
"a": (-5.12, 5.12),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_propulator_sphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_Propulator():
}
with tempfile.TemporaryDirectory() as checkpoint_path:
set_logger_config(
level=logging.DEBUG,
level=logging.INFO,
log_file=checkpoint_path + "/propulate.log",
log_to_stdout=True,
log_rank=False,
Expand All @@ -66,7 +66,7 @@ def test_Propulator():
)

# Run optimization and print summary of results.
propulator.propulate(debug=2)
propulator.propulate()
propulator.summarize()
best = min(propulator.population, key=attrgetter("loss"))

Expand Down
1 change: 0 additions & 1 deletion tests/test_pso.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def test_PSO():
"""
Test single worker using Propulator to optimize sphere using a PSO propagator.
"""
return
rng = random.Random(42) # Separate random number generator for optimization.
limits = {
"a": (-5.12, 5.12),
Expand Down

0 comments on commit e42db3d

Please sign in to comment.