yeshenyue2017/web-discovery-kit/audit does not have a README file

    AuditReport

    A complete audit result with both ordered findings and their summary.

    AuditSummary

    pub(all) struct AuditSummary {
    errors : Int
    warnings : Int
    information : Int
    subjects : Int
    } derive(Eq,
    Debug
    )

    Aggregate counts for one deterministic offline audit run.

    The counters are derived from the emitted findings, so callers can retain only this value when a full report is too large for a dashboard summary.

    audit_report

    Audit a sitemap and return deterministic findings together with counts.

    In addition to audit, this enhanced form detects empty documents, fragments, and duplicate fetch targets after scheme/host/default-port canonicalization. max_findings bounds retained report memory.

    render_findings

    render_findings_json

    fn render_findings_json(findings : ArrayView[
    AuditFinding
    ]) -> String

    render_findings_ndjson

    fn render_findings_ndjson(findings : ArrayView[
    AuditFinding
    ]) -> String

    Render newline-delimited JSON records. Every output line is independent, which makes this format suitable for append-only CI logs and stream tools.

    render_report

    fn render_report(report : AuditReport) -> String

    Render an audit report with a stable summary header followed by text findings. The output is intended for terminal logs and build artifacts.

    render_report_json

    fn render_report_json(report : AuditReport) -> String

    Render a report object with an explicit stable JSON summary schema.

    This is deliberately dependency-free so it can be consumed by JavaScript, native, and Wasm callers without a platform JSON runtime.

    render_report_sarif

    fn render_report_sarif(report : AuditReport) -> String

    Render SARIF 2.1.0 for code-scanning and generic CI viewers.

    subject is encoded as the artifact URI because an offline sitemap audit has no source line. Consumers can still group and link every finding.

    summarize_findings

    Summarize an ordered or unordered collection of audit findings.