Configuration¶
This page describes how to configure the reporting module that generates reports from pipeline outputs.
Options¶
Name |
Allowed |
Default |
Description |
|---|---|---|---|
|
|
|
Hydra target for the reporting backend implementation. Set to null to disable reporting. The default |
|
|
|
Configured report basename. RAITAP adds the extension for the selected reporter, so |
|
|
|
Optional explicit local-explanation samples to show in the report. Strings are matched against dataset sample IDs and filename stems, so |
|
|
|
Whether Hydra multiruns should create one merged parent report at the sweep directory level. Set to false to keep per-run reports only. |
|
|
|
Whether local explanation figures should keep their per-explainer original input panels. The default compact layout groups local explanations by selected sample, renders one sample thumbnail when possible, and suppresses repeated originals when a visualiser supports attribution-only rendering. |
|
|
|
Whether empirical robustness report figures should keep duplicate clean-input and perturbation-map panels across visualisers. The default compact robustness layout renders one figure per selected report sample and keeps one canonical owner per facet in the report only; persisted robustness PNGs stay self-contained. |
|
|
|
Whether to include configuration details in the report. |
|
|
|
Whether to include metadata (timestamps, versions) in the report. |
|
|
|
PDFReporter-only maximum layout width in PDF points for embedded raster figures. When null, the usable single-column width on A4 (after margins) is used. |
|
|
|
PDFReporter-only maximum layout height in PDF points for embedded raster figures. When null, roughly 82% of the inner column height is used to leave room for headings. |
|
|
|
PDFReporter-only soft cap on how many pages embedded figure sections are allowed to need. When set to a positive integer, if a simple estimate exceeds it, width and height limits are scaled down so figures take less space per page. |
|
|
|
PDFReporter-only pixels per layout point when rasterizing figures (higher = sharper in viewers). If set, values below 1.0 are clamped to 1.0. |
|
|
|
PDFReporter-only maximum longest edge in pixels of the rasterized bitmap after scaling. If set, values below 400 are clamped to 400. |
Examples¶
reporting:
_target_: "HTMLReporter"
filename: "experiment_report"
sample_selection:
- "ISIC_0024306.jpg"
- "ISIC_0024372.jpg"
- 4
multirun_report: true
show_original_per_explainer: false
show_redundant_robustness_panels: false
from raitap.reporting import html
reporting = html(
filename="experiment_report",
sample_selection=["ISIC_0024306.jpg", "ISIC_0024372.jpg", 4],
multirun_report=True,
show_original_per_explainer=False,
show_redundant_robustness_panels=False,
)
uv run raitap reporting=pdf reporting.filename="my_report" reporting.multirun_report=false reporting.show_original_per_explainer=true reporting.show_redundant_robustness_panels=true reporting.call.formatting.figures_max_pages=12
raitap reporting=pdf reporting.filename="my_report" reporting.multirun_report=false reporting.show_original_per_explainer=true reporting.show_redundant_robustness_panels=true reporting.call.formatting.figures_max_pages=12