hooqu.analyzers.runners¶
-
class
hooqu.analyzers.runners.analysis_runner.AnalyzerContext(metric_map: Mapping[hooqu.analyzers.analyzer.Analyzer, hooqu.metrics.Metric] = <factory>)[source]¶ Bases:
object-
metric_map: Mapping[hooqu.analyzers.analyzer.Analyzer, hooqu.metrics.Metric]¶
-
-
hooqu.analyzers.runners.analysis_runner.compute_precondition_failure_metrics(failed_analyzers, data)[source]¶ - Return type
-
hooqu.analyzers.runners.analysis_runner.do_analysis_run(data, analyzers, aggregate_with=None, save_state_with=None, metric_repository_options=None)[source]¶ Compute the metrics from the analyzers configured in the analysis
- Parameters
data – data on which to operate
analyzers (
Sequence[Analyzer]) – the analyzers to runaggregate_With ((not implemented)) – load existing states for the configured analyzers and aggregate them (optional)
save_States_With ((not implemented)) – persist resulting states for the configured analyzers (optional)
metric_repository_options ((not implemented)) – options related to the MetricsRepository
file_output_options ((not implemented probably will be removed)) – options related to File Ouput.
- Returns
- Return type
An AnalyzerContext holding the requested metrics per analyzer
-
hooqu.analyzers.runners.analysis_runner.run_analyzers_sequentially(data, analyzers, aggregate_with=None, save_state_with=None)[source]¶ Apparently from the initial tests I made there is not a lot of gain from running all the aggregations at once.
- Return type