Coverage report: 71%

Files Functions Classes

coverage.py v7.9.1, created at 2025-07-01 13:21 +0000

File class statements missing excluded coverage
sparkle/CLI/__init__.py (no class) 0 0 0 100%
sparkle/CLI/_cli_.py (no class) 42 42 0 0%
sparkle/CLI/about.py (no class) 11 3 0 73%
sparkle/CLI/add_feature_extractor.py (no class) 53 8 0 85%
sparkle/CLI/add_instances.py (no class) 56 4 0 93%
sparkle/CLI/add_solver.py (no class) 94 18 0 81%
sparkle/CLI/check.py (no class) 73 73 0 0%
sparkle/CLI/cleanup.py (no class) 48 20 0 58%
sparkle/CLI/compute_features.py (no class) 88 8 0 91%
sparkle/CLI/compute_marginal_contribution.py (no class) 79 9 0 89%
sparkle/CLI/configure_solver.py (no class) 125 37 0 70%
sparkle/CLI/construct_portfolio_selector.py (no class) 128 37 0 71%
sparkle/CLI/core/__init__.py (no class) 0 0 0 100%
sparkle/CLI/core/compute_features.py (no class) 37 37 0 0%
sparkle/CLI/core/run_portfolio_selector_core.py (no class) 53 53 0 0%
sparkle/CLI/generate_report.py (no class) 382 291 0 24%
sparkle/CLI/help/__init__.py (no class) 1 0 0 100%
sparkle/CLI/help/argparse_custom.py SetByUser 2 2 0 0%
sparkle/CLI/help/argparse_custom.py EnumAction 10 2 0 80%
sparkle/CLI/help/argparse_custom.py ArgumentContainer 2 0 0 100%
sparkle/CLI/help/argparse_custom.py (no class) 90 3 0 97%
sparkle/CLI/help/global_variables.py (no class) 54 16 0 70%
sparkle/CLI/help/jobs.py (no class) 14 3 0 79%
sparkle/CLI/help/logging.py (no class) 45 0 0 100%
sparkle/CLI/help/nicknames.py (no class) 47 4 0 91%
sparkle/CLI/help/snapshot_help.py (no class) 58 9 0 84%
sparkle/CLI/initialise.py (no class) 108 26 0 76%
sparkle/CLI/jobs.py (no class) 165 125 0 24%
sparkle/CLI/load_snapshot.py (no class) 26 1 0 96%
sparkle/CLI/remove_feature_extractor.py (no class) 41 6 0 85%
sparkle/CLI/remove_instances.py (no class) 46 4 0 91%
sparkle/CLI/remove_solver.py (no class) 47 11 0 77%
sparkle/CLI/run_ablation.py (no class) 92 24 0 74%
sparkle/CLI/run_parallel_portfolio.py (no class) 253 18 0 93%
sparkle/CLI/run_portfolio_selector.py (no class) 66 3 0 95%
sparkle/CLI/run_solvers.py (no class) 165 20 0 88%
sparkle/CLI/save_snapshot.py (no class) 17 1 0 94%
sparkle/CLI/status.py (no class) 59 14 0 76%
sparkle/__init__.py (no class) 2 0 0 100%
sparkle/about.py (no class) 7 0 0 100%
sparkle/configurator/__init__.py (no class) 2 0 0 100%
sparkle/configurator/configurator.py Configurator 30 18 0 40%
sparkle/configurator/configurator.py ConfigurationScenario 38 12 0 68%
sparkle/configurator/configurator.py AblationScenario 143 55 0 62%
sparkle/configurator/configurator.py (no class) 67 0 0 100%
sparkle/configurator/configurator_cli.py (no class) 17 17 0 0%
sparkle/configurator/implementations/__init__.py (no class) 10 1 0 90%
sparkle/configurator/implementations/irace.py IRACE 67 37 0 45%
sparkle/configurator/implementations/irace.py IRACEScenario 91 18 0 80%
sparkle/configurator/implementations/irace.py (no class) 41 0 0 100%
sparkle/configurator/implementations/paramils.py ParamILS 45 25 0 44%
sparkle/configurator/implementations/paramils.py ParamILSScenario 70 21 0 70%
sparkle/configurator/implementations/paramils.py (no class) 37 0 0 100%
sparkle/configurator/implementations/smac2.py SMAC2 52 23 0 56%
sparkle/configurator/implementations/smac2.py SMAC2Scenario 96 27 0 72%
sparkle/configurator/implementations/smac2.py (no class) 46 0 0 100%
sparkle/configurator/implementations/smac3.py SMAC3 31 8 0 74%
sparkle/configurator/implementations/smac3.py SMAC3Scenario 65 14 0 78%
sparkle/configurator/implementations/smac3.py (no class) 43 0 0 100%
sparkle/instance/__init__.py (no class) 16 2 0 88%
sparkle/instance/instances.py InstanceSet 15 1 0 93%
sparkle/instance/instances.py FileInstanceSet 9 0 0 100%
sparkle/instance/instances.py MultiFileInstanceSet 11 0 0 100%
sparkle/instance/instances.py IterableFileInstanceSet 10 0 0 100%
sparkle/instance/instances.py (no class) 39 0 0 100%
sparkle/platform/__init__.py (no class) 1 0 0 100%
sparkle/platform/cli_types.py VerbosityLevel 1 1 0 0%
sparkle/platform/cli_types.py TEXT 3 3 0 0%
sparkle/platform/cli_types.py (no class) 30 0 0 100%
sparkle/platform/file_help.py (no class) 18 14 0 22%
sparkle/platform/latex.py AutoRef 0 0 0 100%
sparkle/platform/latex.py (no class) 35 23 0 34%
sparkle/platform/output/__init__.py (no class) 0 0 0 100%
sparkle/platform/output/configuration_output.py ConfigurationResult 8 8 0 0%
sparkle/platform/output/configuration_output.py ConfigurationOutput 36 36 0 0%
sparkle/platform/output/configuration_output.py (no class) 11 0 0 100%
sparkle/platform/output/parallel_portfolio_output.py ParallelPortfolioOutput 33 33 0 0%
sparkle/platform/output/parallel_portfolio_output.py (no class) 15 15 0 0%
sparkle/platform/output/selection_output.py SelectionOutput 42 42 0 0%
sparkle/platform/output/selection_output.py (no class) 16 0 0 100%
sparkle/platform/output/structures.py ValidationResults 5 5 0 0%
sparkle/platform/output/structures.py SelectionSolverData 3 3 0 0%
sparkle/platform/output/structures.py SelectionPerformance 6 6 0 0%
sparkle/platform/output/structures.py ParallelPortfolioResults 12 12 0 0%
sparkle/platform/output/structures.py (no class) 15 0 0 100%
sparkle/platform/settings_objects.py SettingState 0 0 0 100%
sparkle/platform/settings_objects.py Settings 949 328 0 65%
sparkle/platform/settings_objects.py (no class) 214 0 0 100%
sparkle/selector/__init__.py (no class) 2 0 0 100%
sparkle/selector/extractor.py Extractor 51 35 0 31%
sparkle/selector/extractor.py (no class) 27 0 0 100%
sparkle/selector/selector.py Selector 27 5 0 81%
sparkle/selector/selector.py SelectionScenario 78 11 0 86%
sparkle/selector/selector.py (no class) 38 0 0 100%
sparkle/solver/__init__.py (no class) 2 0 0 100%
sparkle/solver/solver.py Solver 168 22 0 87%
sparkle/solver/solver.py (no class) 45 0 0 100%
sparkle/solver/solver_cli.py (no class) 69 69 0 0%
sparkle/solver/verifiers.py SolutionVerifier 1 1 0 0%
sparkle/solver/verifiers.py SATVerifier 15 2 0 87%
sparkle/solver/verifiers.py SolutionFileVerifier 21 2 0 90%
sparkle/solver/verifiers.py (no class) 20 0 0 100%
sparkle/structures/__init__.py (no class) 2 0 0 100%
sparkle/structures/feature_dataframe.py FeatureDataFrame 56 12 0 79%
sparkle/structures/feature_dataframe.py (no class) 31 0 0 100%
sparkle/structures/performance_dataframe.py PerformanceDataFrame 329 48 0 85%
sparkle/structures/performance_dataframe.py (no class) 89 0 0 100%
sparkle/tools/__init__.py (no class) 5 0 0 100%
sparkle/tools/configspace.py ForbiddenLessThanEqualsRelation 19 19 0 0%
sparkle/tools/configspace.py ForbiddenGreaterThanEqualsRelation 19 19 0 0%
sparkle/tools/configspace.py ForbiddenGreaterThanClause 5 5 0 0%
sparkle/tools/configspace.py ForbiddenGreaterEqualsClause 5 5 0 0%
sparkle/tools/configspace.py ForbiddenLessThanClause 5 5 0 0%
sparkle/tools/configspace.py ForbiddenLessEqualsClause 5 5 0 0%
sparkle/tools/configspace.py ForbiddenOrConjunction 8 8 0 0%
sparkle/tools/configspace.py (no class) 175 29 0 83%
sparkle/tools/general.py (no class) 6 0 0 100%
sparkle/tools/parameters.py PCSConvention 0 0 0 100%
sparkle/tools/parameters.py PCSConverter 304 20 0 93%
sparkle/tools/parameters.py (no class) 39 0 0 100%
sparkle/tools/runsolver.py RunSolver 95 27 0 72%
sparkle/tools/runsolver.py (no class) 20 0 0 100%
sparkle/tools/slurm_parsing.py SlurmBatch 14 14 0 0%
sparkle/tools/slurm_parsing.py (no class) 10 0 0 100%
sparkle/tools/solver_wrapper_parsing.py (no class) 32 24 0 25%
sparkle/types/__init__.py (no class) 41 5 0 88%
sparkle/types/features.py FeatureGroup 0 0 0 100%
sparkle/types/features.py FeatureSubgroup 0 0 0 100%
sparkle/types/features.py FeatureType 1 0 0 100%
sparkle/types/features.py (no class) 69 0 0 100%
sparkle/types/objective.py UseTime 1 1 0 0%
sparkle/types/objective.py SparkleObjective 13 0 0 100%
sparkle/types/objective.py PAR 8 0 0 100%
sparkle/types/objective.py (no class) 29 0 0 100%
sparkle/types/sparkle_callable.py SparkleCallable 7 2 0 71%
sparkle/types/sparkle_callable.py (no class) 6 0 0 100%
sparkle/types/status.py SolverStatus 2 1 0 50%
sparkle/types/status.py (no class) 15 0 0 100%
Total   7259 2136 0 71%

No items found using the specified filter.