Coverage report: 80%

Files Functions Classes

coverage.py v7.6.4, created at 2024-11-05 14:48 +0000

File class statements missing excluded coverage
sparkle/CLI/__init__.py (no class) 0 0 0 100%
sparkle/CLI/about.py (no class) 11 3 0 73%
sparkle/CLI/add_feature_extractor.py (no class) 55 10 0 82%
sparkle/CLI/add_instances.py (no class) 69 10 0 86%
sparkle/CLI/add_solver.py (no class) 90 17 0 81%
sparkle/CLI/cancel.py (no class) 62 33 0 47%
sparkle/CLI/cleanup.py (no class) 32 7 0 78%
sparkle/CLI/cli.py (no class) 27 27 0 0%
sparkle/CLI/compute_features.py (no class) 82 8 0 90%
sparkle/CLI/compute_marginal_contribution.py (no class) 97 11 0 89%
sparkle/CLI/configure_solver.py (no class) 128 31 0 76%
sparkle/CLI/construct_portfolio_selector.py (no class) 103 30 0 71%
sparkle/CLI/generate_report.py (no class) 139 16 0 88%
sparkle/CLI/help/__init__.py (no class) 0 0 0 100%
sparkle/CLI/help/argparse_custom.py SetByUser 2 0 0 100%
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) 85 3 0 96%
sparkle/CLI/help/global_variables.py (no class) 27 2 0 93%
sparkle/CLI/help/jobs.py (no class) 26 12 0 54%
sparkle/CLI/help/logging.py (no class) 45 0 0 100%
sparkle/CLI/help/nicknames.py (no class) 19 3 0 84%
sparkle/CLI/help/reporting_scenario.py Scenario 0 0 0 100%
sparkle/CLI/help/reporting_scenario.py ReportingScenario 153 9 0 94%
sparkle/CLI/help/reporting_scenario.py (no class) 49 0 0 100%
sparkle/CLI/help/snapshot_help.py (no class) 56 9 0 84%
sparkle/CLI/help/system_status.py (no class) 32 12 0 62%
sparkle/CLI/initialise.py (no class) 101 40 0 60%
sparkle/CLI/load_snapshot.py (no class) 21 1 0 95%
sparkle/CLI/remove_feature_extractor.py (no class) 40 6 0 85%
sparkle/CLI/remove_instances.py (no class) 45 4 0 91%
sparkle/CLI/remove_solver.py (no class) 46 12 0 74%
sparkle/CLI/run_ablation.py (no class) 78 13 0 83%
sparkle/CLI/run_configured_solver.py (no class) 63 7 0 89%
sparkle/CLI/run_parallel_portfolio.py (no class) 210 183 0 13%
sparkle/CLI/run_portfolio_selector.py (no class) 85 11 0 87%
sparkle/CLI/run_solvers.py (no class) 85 10 0 88%
sparkle/CLI/save_snapshot.py (no class) 17 1 0 94%
sparkle/CLI/status.py (no class) 28 1 0 96%
sparkle/CLI/validate_configured_vs_default.py (no class) 75 8 0 89%
sparkle/CLI/wait.py (no class) 55 55 0 0%
sparkle/__init__.py (no class) 1 0 0 100%
sparkle/about.py (no class) 7 0 0 100%
sparkle/configurator/__init__.py (no class) 0 0 0 100%
sparkle/configurator/configurator.py Configurator 32 5 0 84%
sparkle/configurator/configurator.py ConfigurationScenario 18 5 0 72%
sparkle/configurator/configurator.py (no class) 33 0 0 100%
sparkle/configurator/configurator_cli.py (no class) 15 15 0 0%
sparkle/configurator/implementations/__init__.py (no class) 8 1 0 88%
sparkle/configurator/implementations/irace.py IRACE 40 22 0 45%
sparkle/configurator/implementations/irace.py IRACEScenario 89 6 0 93%
sparkle/configurator/implementations/irace.py (no class) 35 0 0 100%
sparkle/configurator/implementations/smac2.py SMAC2 53 19 0 64%
sparkle/configurator/implementations/smac2.py SMAC2Scenario 80 15 0 81%
sparkle/configurator/implementations/smac2.py (no class) 41 0 0 100%
sparkle/instance/__init__.py (no class) 8 0 0 100%
sparkle/instance/instances.py InstanceSet 12 4 0 67%
sparkle/instance/instances.py FileInstanceSet 10 0 0 100%
sparkle/instance/instances.py MultiFileInstanceSet 13 2 0 85%
sparkle/instance/instances.py IterableFileInstanceSet 11 5 0 55%
sparkle/instance/instances.py (no class) 33 0 0 100%
sparkle/platform/__init__.py (no class) 2 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 CommandName 0 0 0 100%
sparkle/platform/cli_types.py (no class) 59 0 0 100%
sparkle/platform/file_help.py (no class) 18 14 0 22%
sparkle/platform/generate_report_for_configuration.py (no class) 178 16 0 91%
sparkle/platform/generate_report_for_parallel_portfolio.py (no class) 137 7 0 95%
sparkle/platform/generate_report_for_selection.py (no class) 74 2 0 97%
sparkle/platform/latex.py ReportType 0 0 0 100%
sparkle/platform/latex.py (no class) 79 7 0 91%
sparkle/platform/output/__init__.py (no class) 0 0 0 100%
sparkle/platform/output/configuration_output.py ConfigurationOutput 52 1 0 98%
sparkle/platform/output/configuration_output.py (no class) 16 0 0 100%
sparkle/platform/output/parallel_portfolio_output.py ParallelPortfolioOutput 33 1 0 97%
sparkle/platform/output/parallel_portfolio_output.py (no class) 14 0 0 100%
sparkle/platform/output/selection_output.py SelectionOutput 28 1 0 96%
sparkle/platform/output/selection_output.py (no class) 17 0 0 100%
sparkle/platform/output/structures.py ValidationResults 5 0 0 100%
sparkle/platform/output/structures.py ConfigurationResults 2 0 0 100%
sparkle/platform/output/structures.py SelectionSolverData 3 0 0 100%
sparkle/platform/output/structures.py SelectionPerformance 7 2 0 71%
sparkle/platform/output/structures.py ParallelPortfolioResults 12 0 0 100%
sparkle/platform/output/structures.py (no class) 18 0 0 100%
sparkle/platform/settings_objects.py SettingState 0 0 0 100%
sparkle/platform/settings_objects.py Settings 574 72 0 87%
sparkle/platform/settings_objects.py (no class) 153 0 0 100%
sparkle/solver/__init__.py (no class) 5 0 0 100%
sparkle/solver/ablation.py AblationScenario 92 20 0 78%
sparkle/solver/ablation.py (no class) 20 0 0 100%
sparkle/solver/extractor.py Extractor 45 32 0 29%
sparkle/solver/extractor.py (no class) 21 0 0 100%
sparkle/solver/selector.py Selector 48 26 0 46%
sparkle/solver/selector.py (no class) 16 0 0 100%
sparkle/solver/solver.py Solver 123 24 0 80%
sparkle/solver/solver.py (no class) 32 0 0 100%
sparkle/solver/validator.py Validator 90 5 0 94%
sparkle/solver/validator.py (no class) 17 0 0 100%
sparkle/solver/verifier.py SolutionVerifier 2 2 0 0%
sparkle/solver/verifier.py SATVerifier 17 17 0 0%
sparkle/solver/verifier.py (no class) 16 0 0 100%
sparkle/structures/__init__.py (no class) 2 0 0 100%
sparkle/structures/feature_dataframe.py FeatureDataFrame 62 11 0 82%
sparkle/structures/feature_dataframe.py (no class) 28 0 0 100%
sparkle/structures/performance_dataframe.py PerformanceDataFrame 199 28 0 86%
sparkle/structures/performance_dataframe.py (no class) 54 0 0 100%
sparkle/tools/__init__.py (no class) 5 0 0 100%
sparkle/tools/general.py (no class) 6 0 0 100%
sparkle/tools/pcsparser.py PCSObject 18 7 0 61%
sparkle/tools/pcsparser.py PCSConvention 0 0 0 100%
sparkle/tools/pcsparser.py PCSParser 26 12 0 54%
sparkle/tools/pcsparser.py SMACParser 92 21 0 77%
sparkle/tools/pcsparser.py ParamILSParser 76 76 0 0%
sparkle/tools/pcsparser.py IRACEParser 22 22 0 0%
sparkle/tools/pcsparser.py (no class) 42 0 0 100%
sparkle/tools/runsolver.py RunSolver 91 27 0 70%
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) 30 23 0 23%
sparkle/types/__init__.py (no class) 40 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 1 0 0%
sparkle/types/features.py (no class) 69 0 0 100%
sparkle/types/objective.py UseTime 1 1 0 0%
sparkle/types/objective.py SparkleObjective 11 0 0 100%
sparkle/types/objective.py PAR 8 0 0 100%
sparkle/types/objective.py (no class) 24 0 0 100%
sparkle/types/sparkle_callable.py SparkleCallable 11 2 0 82%
sparkle/types/sparkle_callable.py (no class) 6 0 0 100%
sparkle/types/status.py SolverStatus 0 0 0 100%
sparkle/types/status.py (no class) 12 0 0 100%
Total   5898 1209 0 80%

No items found using the specified filter.