Reports¶
After a run, a report gathers the summary, the key numbers, the tables and the figures
of every step that was run. Reports are always written in English, in
output_root/reports/report_<date-time>.<ext>.
| Format | Figures | Use |
|---|---|---|
html (default) |
interactive plotly charts: zoom, hover values (degC on thermal images), PNG download; responsive layout for phones and tablets, light and dark themes | reading, sharing a single self-contained file |
md |
PNG files in report_<date-time>_figures/ |
GitHub, wikis, version control |
pdf |
PNG images, A4, one chapter per step, bookmarks | archive, printing, sending |
sidenor-ladle -r html -r pdf run # formats of this run
sidenor-ladle -s 'report.formats=["md"]' run # same with an override
sidenor-ladle report -f pdf # rebuild from the saved results
sidenor-ladle report --step baselines --step audit -f html
Settings ([report])¶
| Key | Default | Meaning |
|---|---|---|
formats |
["html"] |
formats written after each run |
title |
title of the reports | |
image_downsample |
2 |
thermal images shown at 1/n resolution (keeps HTML light; data files are never downsampled) |
plotlyjs |
inline |
inline works offline; cdn gives a lighter file |
static_scale |
1.5 |
resolution of the PNG exports |
write_summary_txt |
true |
also write the plain-text summary of each step |
figure_files |
png |
figures saved next to each step: png, html or none |
How it works¶
The model describes each figure with library-independent specifications
(sidenor_ladle.model.figures); the view builds the plotly figure once
(PlotlyFigureFactory) and the renderers embed it as an interactive <div> (HTML) or
export it as PNG with Kaleido (Markdown, PDF). See the
report sequence diagram.