Skip to main content

Module compare

Module compare 

Source
Expand description

Cross-source reconciliation of briefings with per-source attribution.

compare groups the products of several Briefings by (kind, location) and reports, for each group, what every source said and whether the sources agree. Every value keeps its source name, so a reader can always tell which source produced which text — including when two sources disagree.

Structs§

ComparisonReport
The full cross-source comparison, ordered deterministically by location then kind.
ProductComparison
A per-product comparison across all sources.
ProductKey
Identifies products that should be compared against each other: same product kind, same location.
SourcedValue
One source’s text for a product.

Enums§

Agreement
Whether the sources agree on a product.

Functions§

compare
Reconcile several briefings into one attributed comparison.