Coverage report: 76%

Files Functions Classes

coverage.py v7.6.10, created at 2025-01-07 15:22 +0000

File class statements missing excluded coverage
sparkle/CLI/__init__.py (no class) 0 0 0 100%
sparkle/CLI/_cli_.py (no class) 33 33 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) 88 15 0 83%
sparkle/CLI/cleanup.py (no class) 48 20 0 58%
sparkle/CLI/compute_features.py (no class) 81 8 0 90%
sparkle/CLI/compute_marginal_contribution.py (no class) 96 11 0 89%
sparkle/CLI/configure_solver.py (no class) 128 30 0 77%
sparkle/CLI/construct_portfolio_selector.py (no class) 107 30 0 72%
sparkle/CLI/core/__init__.py (no class) 0 0 0 100%
sparkle/CLI/core/compute_features.py (no class) 40 40 0 0%
sparkle/CLI/core/run_portfolio_selector_core.py (no class) 57 57 0 0%
sparkle/CLI/generate_report.py (no class) 140 15 0 89%
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) 88 3 0 97%
sparkle/CLI/help/global_variables.py (no class) 25 3 0 88%
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) 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) 58 9 0 84%
sparkle/CLI/help/system_status.py (no class) 32 12 0 62%
sparkle/CLI/initialise.py (no class) 108 30 0 72%
sparkle/CLI/jobs.py (no class) 128 88 0 31%
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) 83 16 0 81%
sparkle/CLI/run_parallel_portfolio.py (no class) 213 187 0 12%
sparkle/CLI/run_portfolio_selector.py (no class) 76 8 0 89%
sparkle/CLI/run_solvers.py (no class) 134 12 0 91%
sparkle/CLI/save_snapshot.py (no class) 17 1 0 94%
sparkle/CLI/status.py (no class) 28 1 0 96%
sparkle/__init__.py (no class) 2 0 0 100%
sparkle/about.py (no class) 7 0 0 100%
sparkle/configurator/__init__.py (no class) 3 0 0 100%
sparkle/configurator/ablation.py AblationScenario 88 16 0 82%
sparkle/configurator/ablation.py (no class) 20 0 0 100%
sparkle/configurator/configurator.py Configurator 16 5 0 69%
sparkle/configurator/configurator.py ConfigurationScenario 20 6 0 70%
sparkle/configurator/configurator.py (no class) 26 0 0 100%
sparkle/configurator/configurator_cli.py (no class) 17 17 0 0%
sparkle/configurator/implementations/__init__.py (no class) 9 1 0 89%
sparkle/configurator/implementations/irace.py IRACE 51 34 0 33%
sparkle/configurator/implementations/irace.py IRACEScenario 91 6 0 93%
sparkle/configurator/implementations/irace.py (no class) 36 0 0 100%
sparkle/configurator/implementations/smac2.py SMAC2 51 25 0 51%
sparkle/configurator/implementations/smac2.py SMAC2Scenario 98 28 0 71%
sparkle/configurator/implementations/smac2.py (no class) 39 0 0 100%
sparkle/configurator/implementations/smac3.py SMAC3 42 18 0 57%
sparkle/configurator/implementations/smac3.py SMAC3Scenario 64 14 0 78%
sparkle/configurator/implementations/smac3.py (no class) 37 0 0 100%
sparkle/instance/__init__.py (no class) 8 1 0 88%
sparkle/instance/instances.py InstanceSet 13 5 0 62%
sparkle/instance/instances.py FileInstanceSet 10 0 0 100%
sparkle/instance/instances.py MultiFileInstanceSet 13 2 0 85%
sparkle/instance/instances.py IterableFileInstanceSet 11 11 0 0%
sparkle/instance/instances.py (no class) 34 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/generate_report_for_configuration.py (no class) 146 24 0 84%
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 8 0 90%
sparkle/platform/output/__init__.py (no class) 0 0 0 100%
sparkle/platform/output/configuration_output.py ConfigurationOutput 41 4 0 90%
sparkle/platform/output/configuration_output.py (no class) 11 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 5 0 0%
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) 16 0 0 100%
sparkle/platform/settings_objects.py SettingState 0 0 0 100%
sparkle/platform/settings_objects.py Settings 742 176 0 76%
sparkle/platform/settings_objects.py (no class) 187 0 0 100%
sparkle/solver/__init__.py (no class) 4 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 49 26 0 47%
sparkle/solver/selector.py (no class) 16 0 0 100%
sparkle/solver/solver.py Solver 177 34 0 81%
sparkle/solver/solver.py (no class) 38 0 0 100%
sparkle/solver/solver_cli.py (no class) 77 77 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 63 12 0 81%
sparkle/structures/feature_dataframe.py (no class) 30 0 0 100%
sparkle/structures/performance_dataframe.py PerformanceDataFrame 297 44 0 85%
sparkle/structures/performance_dataframe.py (no class) 74 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 91 28 0 69%
sparkle/tools/pcsparser.py SMACParser 92 19 0 79%
sparkle/tools/pcsparser.py ParamILSParser 76 76 0 0%
sparkle/tools/pcsparser.py IRACEParser 22 22 0 0%
sparkle/tools/pcsparser.py (no class) 45 0 0 100%
sparkle/tools/runsolver.py RunSolver 91 29 0 68%
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) 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 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 13 0 0 100%
sparkle/types/objective.py PAR 8 1 0 88%
sparkle/types/objective.py (no class) 29 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   6454 1578 0 76%

No items found using the specified filter.