Skip to main content

Module comparison

Module comparison 

Source
Expand description

Offline, display-only comparison of untrusted rendered assessment documents.

Importing a document does not authenticate its origin, establish equal scan coverage, or mint runtime evidence, findings, verification, or target authority. Report-local reference numbers are validated but never used as stable identity.

Structs§

ImportedAssessmentSummary
Bounded, display-only metadata imported from one supported assessment.

Enums§

ComparisonError
Bounded errors that never include input documents, strings, or file paths.
ComparisonFormat
Supported offline comparison encodings.

Constants§

COMPARISON_DOCUMENT_SCHEMA
Versioned display-only comparison document schema.
MAX_COMPARISON_INPUT_BYTES
Each input is bounded by the existing renderer’s byte ceiling.

Functions§

compare_reports
Compares two complete rendered assessment JSON byte strings, without I/O.
import_assessment_summary
Imports one complete rendered assessment into a narrow display-only summary.