Coverage report: 78%

Files Functions Classes

coverage.py v7.6.5, created at 2024-11-15 09:26 +0000

File 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 122 19 0 84%
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/ffa/__init__.py 0 0 0 100%
moptipy/algorithms/so/ffa/eafea.py 48 1 0 98%
moptipy/algorithms/so/ffa/eafea_a.py 52 1 0 98%
moptipy/algorithms/so/ffa/eafea_b.py 53 1 0 98%
moptipy/algorithms/so/ffa/eafea_c.py 63 1 0 98%
moptipy/algorithms/so/ffa/eafea_n.py 66 1 0 98%
moptipy/algorithms/so/ffa/fea1plus1.py 39 1 0 97%
moptipy/algorithms/so/ffa/ffa_fitness.py 54 3 0 94%
moptipy/algorithms/so/ffa/ffa_h.py 62 6 0 90%
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/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 165 11 0 93%
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 314 46 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 124 8 0 94%
moptipy/api/experiment.py 118 13 0 89%
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 88 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 125 0 0 100%
moptipy/evaluation/ecdf.py 231 67 0 71%
moptipy/evaluation/end_results.py 439 73 0 83%
moptipy/evaluation/end_statistics.py 687 143 0 79%
moptipy/evaluation/ert.py 193 61 0 68%
moptipy/evaluation/ertecdf.py 22 2 0 91%
moptipy/evaluation/frequency.py 205 27 0 87%
moptipy/evaluation/ioh_analyzer.py 107 22 0 79%
moptipy/evaluation/log_parser.py 324 72 0 78%
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 224 73 0 67%
moptipy/evaluation/selector.py 251 18 0 93%
moptipy/evaluation/stat_run.py 222 50 0 77%
moptipy/evaluation/styler.py 134 30 0 78%
moptipy/evaluation/tabulate_end_results.py 376 115 0 69%
moptipy/evaluation/tabulate_end_stats.py 155 145 0 6%
moptipy/evaluation/tabulate_result_tests.py 176 25 0 86%
moptipy/examples/__init__.py 0 0 0 100%
moptipy/examples/bitstrings/__init__.py 18 0 0 100%
moptipy/examples/bitstrings/binint.py 25 8 0 68%
moptipy/examples/bitstrings/bitstring_problem.py 102 0 0 100%
moptipy/examples/bitstrings/ising1d.py 22 7 0 68%
moptipy/examples/bitstrings/ising2d.py 32 16 0 50%
moptipy/examples/bitstrings/jump.py 17 4 0 76%
moptipy/examples/bitstrings/labs.py 46 9 0 80%
moptipy/examples/bitstrings/leadingones.py 20 5 0 75%
moptipy/examples/bitstrings/linearharmonic.py 24 7 0 71%
moptipy/examples/bitstrings/nqueens.py 91 71 0 22%
moptipy/examples/bitstrings/onemax.py 16 1 0 94%
moptipy/examples/bitstrings/plateau.py 14 3 0 79%
moptipy/examples/bitstrings/trap.py 18 3 0 83%
moptipy/examples/bitstrings/twomax.py 20 3 0 85%
moptipy/examples/bitstrings/w_model.py 159 91 0 43%
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 283 197 0 30%
moptipy/examples/jssp/experiment.py 78 12 0 85%
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 236 211 0 11%
moptipy/examples/jssp/spaces_sizes.py 287 251 0 13%
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 122 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 523 82 0 84%
moptipy/mock/end_results.py 142 11 0 92%
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 28 0 79%
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 29 0 84%
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 56 4 0 93%
moptipy/utils/sys_info.py 194 41 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 18890 4194 0 78%

No items found using the specified filter.