Coverage report: 78%

coverage.py v7.4.4, created at 2024-04-22 10:43 +0000

Module statements missing excluded coverage
moptipy/__init__.py 3 0 0 100%
moptipy/algorithms/__init__.py 0 0 0 100%
moptipy/algorithms/luby_restarts.py 100 45 0 55%
moptipy/algorithms/mo/__init__.py 0 0 0 100%
moptipy/algorithms/mo/morls.py 30 0 0 100%
moptipy/algorithms/mo/nsga2.py 147 5 0 97%
moptipy/algorithms/modules/__init__.py 0 0 0 100%
moptipy/algorithms/modules/selection.py 16 2 0 88%
moptipy/algorithms/modules/selections/__init__.py 0 0 0 100%
moptipy/algorithms/modules/selections/best.py 10 0 0 100%
moptipy/algorithms/modules/selections/fitness_proportionate_sus.py 62 20 0 68%
moptipy/algorithms/modules/selections/random_without_repl.py 19 0 0 100%
moptipy/algorithms/modules/selections/tournament_with_repl.py 29 0 0 100%
moptipy/algorithms/modules/selections/tournament_without_repl.py 46 0 0 100%
moptipy/algorithms/modules/temperature_schedule.py 51 7 0 86%
moptipy/algorithms/random_sampling.py 17 0 0 100%
moptipy/algorithms/random_walk.py 21 0 0 100%
moptipy/algorithms/restarts.py 42 7 0 83%
moptipy/algorithms/single_random_sample.py 11 0 0 100%
moptipy/algorithms/so/__init__.py 0 0 0 100%
moptipy/algorithms/so/ea.py 108 13 0 88%
moptipy/algorithms/so/fea1plus1.py 94 4 0 96%
moptipy/algorithms/so/fitness.py 22 2 0 91%
moptipy/algorithms/so/fitnesses/__init__.py 0 0 0 100%
moptipy/algorithms/so/fitnesses/direct.py 8 0 0 100%
moptipy/algorithms/so/fitnesses/ffa.py 149 13 0 91%
moptipy/algorithms/so/fitnesses/rank.py 18 0 0 100%
moptipy/algorithms/so/fitnesses/rank_and_iteration.py 25 0 0 100%
moptipy/algorithms/so/general_ea.py 122 2 0 98%
moptipy/algorithms/so/general_ma.py 127 2 0 98%
moptipy/algorithms/so/greedy_2plus1_ea_mod.py 45 0 0 100%
moptipy/algorithms/so/hill_climber.py 23 0 0 100%
moptipy/algorithms/so/hill_climber_with_restarts.py 36 0 0 100%
moptipy/algorithms/so/ma.py 84 2 0 98%
moptipy/algorithms/so/marls.py 85 4 0 95%
moptipy/algorithms/so/ppa.py 80 3 0 96%
moptipy/algorithms/so/record.py 10 0 0 100%
moptipy/algorithms/so/rls.py 23 0 0 100%
moptipy/algorithms/so/simulated_annealing.py 41 1 0 98%
moptipy/algorithms/so/vector/__init__.py 0 0 0 100%
moptipy/algorithms/so/vector/cmaes_lib.py 116 10 0 91%
moptipy/algorithms/so/vector/pdfo.py 35 3 0 91%
moptipy/algorithms/so/vector/scipy.py 87 2 0 98%
moptipy/algorithms/so/vector/surrogate/__init__.py 0 0 0 100%
moptipy/algorithms/so/vector/surrogate/_processes.py 92 11 0 88%
moptipy/algorithms/so/vector/surrogate/rbf_interpolation.py 98 3 0 97%
moptipy/api/__init__.py 0 0 0 100%
moptipy/api/_mo_process_no_ss.py 166 9 0 95%
moptipy/api/_mo_process_no_ss_log.py 60 5 0 92%
moptipy/api/_mo_process_ss.py 98 8 0 92%
moptipy/api/_mo_process_ss_log.py 65 5 0 92%
moptipy/api/_process_base.py 306 45 0 85%
moptipy/api/_process_no_ss.py 46 4 0 91%
moptipy/api/_process_no_ss_log.py 76 9 0 88%
moptipy/api/_process_ss.py 89 6 0 93%
moptipy/api/_process_ss_log.py 86 8 0 91%
moptipy/api/algorithm.py 53 2 0 96%
moptipy/api/component.py 17 1 0 94%
moptipy/api/encoding.py 11 0 0 100%
moptipy/api/execution.py 125 8 0 94%
moptipy/api/experiment.py 174 24 0 86%
moptipy/api/logging.py 85 0 0 100%
moptipy/api/mo_algorithm.py 11 1 0 91%
moptipy/api/mo_archive.py 31 2 0 94%
moptipy/api/mo_execution.py 89 7 0 92%
moptipy/api/mo_problem.py 82 12 0 85%
moptipy/api/mo_process.py 19 2 0 89%
moptipy/api/mo_utils.py 27 21 0 22%
moptipy/api/objective.py 26 0 0 100%
moptipy/api/operators.py 32 4 0 88%
moptipy/api/process.py 57 8 0 86%
moptipy/api/space.py 18 1 0 94%
moptipy/api/subprocesses.py 341 33 0 90%
moptipy/evaluation/__init__.py 11 0 0 100%
moptipy/evaluation/_utils.py 16 6 0 62%
moptipy/evaluation/axis_ranger.py 242 87 0 64%
moptipy/evaluation/base.py 122 0 0 100%
moptipy/evaluation/ecdf.py 224 63 0 72%
moptipy/evaluation/end_results.py 446 74 0 83%
moptipy/evaluation/end_statistics.py 672 124 0 82%
moptipy/evaluation/ert.py 192 58 0 70%
moptipy/evaluation/ertecdf.py 17 1 0 94%
moptipy/evaluation/frequency.py 198 26 0 87%
moptipy/evaluation/ioh_analyzer.py 107 22 0 79%
moptipy/evaluation/log_parser.py 308 65 0 79%
moptipy/evaluation/plot_ecdf.py 207 54 0 74%
moptipy/evaluation/plot_end_results.py 219 36 0 84%
moptipy/evaluation/plot_end_statistics_over_parameter.py 208 49 0 76%
moptipy/evaluation/plot_ert.py 170 49 0 71%
moptipy/evaluation/plot_progress.py 237 61 0 74%
moptipy/evaluation/progress.py 220 62 0 72%
moptipy/evaluation/stat_run.py 224 50 0 78%
moptipy/evaluation/styler.py 136 32 0 76%
moptipy/evaluation/tabulate_end_results.py 376 115 0 69%
moptipy/evaluation/tabulate_result_tests.py 176 25 0 86%
moptipy/examples/__init__.py 0 0 0 100%
moptipy/examples/bitstrings/__init__.py 0 0 0 100%
moptipy/examples/bitstrings/bitstring_problem.py 20 0 0 100%
moptipy/examples/bitstrings/ising1d.py 18 7 0 61%
moptipy/examples/bitstrings/jump.py 27 6 0 78%
moptipy/examples/bitstrings/leadingones.py 17 5 0 71%
moptipy/examples/bitstrings/onemax.py 12 1 0 92%
moptipy/examples/bitstrings/trap.py 15 3 0 80%
moptipy/examples/bitstrings/w_model.py 158 93 0 41%
moptipy/examples/bitstrings/zeromax.py 12 1 0 92%
moptipy/examples/jssp/__init__.py 7 0 0 100%
moptipy/examples/jssp/demo_examples.py 193 104 0 46%
moptipy/examples/jssp/evaluation.py 286 200 0 30%
moptipy/examples/jssp/experiment.py 81 13 0 84%
moptipy/examples/jssp/gantt.py 66 9 0 86%
moptipy/examples/jssp/gantt_space.py 137 29 0 79%
moptipy/examples/jssp/instance.py 224 39 0 83%
moptipy/examples/jssp/instance_selector.py 352 323 0 8%
moptipy/examples/jssp/makespan.py 24 2 0 92%
moptipy/examples/jssp/ob_encoding.py 48 19 0 60%
moptipy/examples/jssp/plot_gantt_chart.py 124 17 0 86%
moptipy/examples/jssp/plots.py 234 211 0 10%
moptipy/examples/jssp/spaces_sizes.py 289 253 0 12%
moptipy/examples/jssp/worktime.py 24 2 0 92%
moptipy/examples/vectors/__init__.py 0 0 0 100%
moptipy/examples/vectors/ackley.py 14 2 0 86%
moptipy/examples/vectors/sphere.py 13 1 0 92%
moptipy/mo/__init__.py 0 0 0 100%
moptipy/mo/archive/__init__.py 0 0 0 100%
moptipy/mo/archive/keep_farthest.py 123 5 0 96%
moptipy/mo/problem/__init__.py 0 0 0 100%
moptipy/mo/problem/basic_mo_problem.py 133 26 0 80%
moptipy/mo/problem/weighted_sum.py 128 26 0 80%
moptipy/mock/__init__.py 0 0 0 100%
moptipy/mock/components.py 525 87 0 83%
moptipy/mock/end_results.py 146 15 0 90%
moptipy/mock/mo_problem.py 30 3 0 90%
moptipy/mock/objective.py 122 20 0 84%
moptipy/mock/utils.py 237 58 0 76%
moptipy/operators/__init__.py 0 0 0 100%
moptipy/operators/bitstrings/__init__.py 0 0 0 100%
moptipy/operators/bitstrings/op0_random.py 8 0 0 100%
moptipy/operators/bitstrings/op1_flip1.py 11 0 0 100%
moptipy/operators/bitstrings/op1_flip_m.py 13 0 0 100%
moptipy/operators/bitstrings/op1_m_over_n_flip.py 42 1 0 98%
moptipy/operators/bitstrings/op2_uniform.py 15 3 0 80%
moptipy/operators/op0_forward.py 21 1 0 95%
moptipy/operators/ordered_choices/__init__.py 0 0 0 100%
moptipy/operators/ordered_choices/op0_choose_and_shuffle.py 23 1 0 96%
moptipy/operators/permutations/__init__.py 0 0 0 100%
moptipy/operators/permutations/op0_shuffle.py 17 1 0 94%
moptipy/operators/permutations/op1_insert1.py 43 24 0 44%
moptipy/operators/permutations/op1_swap2.py 23 0 0 100%
moptipy/operators/permutations/op1_swap_exactly_n.py 130 2 0 98%
moptipy/operators/permutations/op1_swap_try_n.py 51 1 0 98%
moptipy/operators/permutations/op1_swapn.py 29 0 0 100%
moptipy/operators/permutations/op2_gap.py 44 24 0 45%
moptipy/operators/permutations/op2_ox2.py 56 2 0 96%
moptipy/operators/signed_permutations/__init__.py 0 0 0 100%
moptipy/operators/signed_permutations/op0_shuffle_and_flip.py 18 1 0 94%
moptipy/operators/signed_permutations/op1_swap_2_or_flip.py 27 1 0 96%
moptipy/operators/tools.py 12 6 0 50%
moptipy/operators/vectors/__init__.py 0 0 0 100%
moptipy/operators/vectors/op0_uniform.py 21 1 0 95%
moptipy/spaces/__init__.py 0 0 0 100%
moptipy/spaces/bitstrings.py 22 1 0 95%
moptipy/spaces/intspace.py 37 2 0 95%
moptipy/spaces/nparrayspace.py 40 5 0 88%
moptipy/spaces/ordered_choices.py 89 7 0 92%
moptipy/spaces/permutations.py 99 12 0 88%
moptipy/spaces/signed_permutations.py 105 13 0 88%
moptipy/spaces/vectorspace.py 101 20 0 80%
moptipy/tests/__init__.py 0 0 0 100%
moptipy/tests/algorithm.py 120 22 0 82%
moptipy/tests/component.py 78 19 0 76%
moptipy/tests/encoding.py 76 20 0 74%
moptipy/tests/fitness.py 87 9 0 90%
moptipy/tests/mo_algorithm.py 146 19 0 87%
moptipy/tests/mo_archive_pruner.py 131 30 0 77%
moptipy/tests/mo_problem.py 110 34 0 69%
moptipy/tests/objective.py 80 26 0 68%
moptipy/tests/on_bitstrings.py 234 34 0 85%
moptipy/tests/on_jssp.py 102 15 0 85%
moptipy/tests/on_ordered_choices.py 52 5 0 90%
moptipy/tests/on_permutations.py 65 6 0 91%
moptipy/tests/on_signed_permutations.py 44 6 0 86%
moptipy/tests/on_vectors.py 94 13 0 86%
moptipy/tests/op0.py 45 9 0 80%
moptipy/tests/op1.py 56 13 0 77%
moptipy/tests/op1_with_step_size.py 62 15 0 76%
moptipy/tests/op2.py 73 17 0 77%
moptipy/tests/selection.py 112 22 0 80%
moptipy/tests/space.py 69 22 0 68%
moptipy/utils/__init__.py 0 0 0 100%
moptipy/utils/formatted_string.py 62 8 0 87%
moptipy/utils/help.py 5 0 0 100%
moptipy/utils/html.py 75 16 0 79%
moptipy/utils/lang.py 161 25 0 84%
moptipy/utils/latex.py 69 14 0 80%
moptipy/utils/logger.py 186 28 0 85%
moptipy/utils/markdown.py 70 8 0 89%
moptipy/utils/math.py 128 19 0 85%
moptipy/utils/nputils.py 129 16 0 88%
moptipy/utils/number_renderer.py 157 26 0 83%
moptipy/utils/plot_defaults.py 122 10 0 92%
moptipy/utils/plot_utils.py 330 82 0 75%
moptipy/utils/strings.py 60 5 0 92%
moptipy/utils/sys_info.py 209 43 0 79%
moptipy/utils/table.py 267 75 0 72%
moptipy/utils/text_format.py 44 7 0 84%
moptipy/version.py 2 0 0 100%
Total 17898 3892 0 78%

No items found using the specified filter.