pyhazards.reports package

Submodules

pyhazards.reports.base module

class pyhazards.reports.base.BenchmarkReport(benchmark_name, hazard_task, metrics, metadata=<factory>, artifacts=<factory>)[source]

Bases: object

artifacts: Dict[str, str]
benchmark_name: str
hazard_task: str
metadata: Dict[str, Any]
metrics: Dict[str, float]
to_dict()[source]
Return type:

Dict[str, Any]

pyhazards.reports.base._markdown_report(report)[source]
Return type:

str

pyhazards.reports.base._write_csv(path, metrics, metadata)[source]
Return type:

None

pyhazards.reports.base.export_report_bundle(report, output_dir, formats)[source]
Return type:

Dict[str, str]

Module contents

class pyhazards.reports.BenchmarkReport(benchmark_name, hazard_task, metrics, metadata=<factory>, artifacts=<factory>)[source]

Bases: object

artifacts: Dict[str, str]
benchmark_name: str
hazard_task: str
metadata: Dict[str, Any]
metrics: Dict[str, float]
to_dict()[source]
Return type:

Dict[str, Any]

pyhazards.reports.export_report_bundle(report, output_dir, formats)[source]
Return type:

Dict[str, str]