Open maypink opened 1 year ago
Hello @maypink! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Line 14:1: F401 'examples.synthetic_graph_evolution.utils.draw_graphs_subplots' imported but unused Line 92:17: F841 local variable 'diversity_filename' is assigned to but never used
examples/synthetic_graph_evolution/graph_search.py
:Line 65:49: E226 missing whitespace around arithmetic operator
experiments/experiment_analyzer.py
:Line 3:1: F401 'scipy.stats.mannwhitneyu' imported but unused Line 6:1: F401 'golem.core.paths.project_root' imported but unused Line 7:1: F401 'golem.visualisation.opt_history.multiple_fitness_line.MultipleFitnessLines' imported but unused
Line 20:1: F401 'golem.core.optimisers.opt_history_objects.opt_history.OptHistory' imported but unused Line 22:1: F401 'golem.core.optimisers.optimizer.GraphOptimizer' imported but unused Line 25:1: F401 'golem.metrics.edit_distance.tree_edit_dist' imported but unused Line 48:121: E501 line too long (123 > 120 characters) Line 49:121: E501 line too long (121 > 120 characters) Line 135:63: F821 undefined name 'graph_name' Line 135:77: F821 undefined name 'num_nodes'
Line 68:9: F841 local variable 'processed_rewards' is assigned to but never used
golem/core/optimisers/adaptive/operator_agent.py
:golem/visualisation/opt_history/fitness_line.py
:Merging #194 (f8bc36d) into main (3234a52) will increase coverage by
0.05%
. Report is 4 commits behind head on main. The diff coverage is74.61%
.
@@ Coverage Diff @@
## main #194 +/- ##
==========================================
+ Coverage 74.13% 74.19% +0.05%
==========================================
Files 129 130 +1
Lines 7687 7777 +90
==========================================
+ Hits 5699 5770 +71
- Misses 1988 2007 +19
Files Changed | Coverage Δ | |
---|---|---|
golem/core/dag/graph.py | 77.01% <ø> (ø) |
|
golem/visualisation/opt_history/fitness_line.py | 35.15% <0.00%> (ø) |
|
golem/core/optimisers/adaptive/reward_agent.py | 47.61% <47.61%> (ø) |
|
...misers/adaptive/mab_agents/contextual_mab_agent.py | 35.71% <50.00%> (+4.04%) |
:arrow_up: |
...olem/core/optimisers/genetic/operators/mutation.py | 89.21% <50.00%> (ø) |
|
golem/core/optimisers/adaptive/context_agents.py | 72.41% <61.53%> (-12.40%) |
:arrow_down: |
golem/core/optimisers/populational_optimizer.py | 95.49% <66.66%> (-0.81%) |
:arrow_down: |
...m/core/optimisers/adaptive/mab_agents/mab_agent.py | 75.00% <81.57%> (+34.45%) |
:arrow_up: |
...ore/optimisers/genetic/operators/base_mutations.py | 91.32% <85.71%> (-0.05%) |
:arrow_down: |
golem/core/optimisers/adaptive/operator_agent.py | 90.24% <90.00%> (-0.94%) |
:arrow_down: |
... and 5 more |
Hello @maypink! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Line 14:1: F401 'examples.synthetic_graph_evolution.utils.draw_graphs_subplots' imported but unused Line 92:17: F841 local variable 'diversity_filename' is assigned to but never used
experiments/experiment_analyzer.py
:Line 3:1: F401 'scipy.stats.mannwhitneyu' imported but unused Line 6:1: F401 'golem.core.paths.project_root' imported but unused Line 7:1: F401 'golem.visualisation.opt_history.multiple_fitness_line.MultipleFitnessLines' imported but unused
Line 20:1: F401 'golem.core.optimisers.opt_history_objects.opt_history.OptHistory' imported but unused Line 22:1: F401 'golem.core.optimisers.optimizer.GraphOptimizer' imported but unused Line 25:1: F401 'golem.metrics.edit_distance.tree_edit_dist' imported but unused Line 48:121: E501 line too long (123 > 120 characters) Line 49:121: E501 line too long (121 > 120 characters) Line 135:63: F821 undefined name 'graph_name' Line 135:77: F821 undefined name 'num_nodes'
Line 68:9: F841 local variable 'processed_rewards' is assigned to but never used
golem/core/optimisers/adaptive/operator_agent.py
:golem/visualisation/opt_history/fitness_line.py
:
WIP