Skip to main content

render_report

Function render_report 

Source
pub fn render_report(
    histories: &[DeviceHistory],
    findings: &[Finding],
) -> String
Expand description

Render a court-oriented Markdown forensic report: an executive summary, a per-device provenance table (every value with its source and locator), the graded findings, and a methodology/limitations note. Convert to PDF/DOCX downstream (e.g. pandoc).

Follows the expert-witness discipline: values are observed facts; findings are observations (“consistent with”), never legal conclusions.