Code

Visual Auditing

Inspect comparison results as timelines.

Export a self-contained HTML artifact from a comparison result. Open the file to inspect selected windows, aligned segments, row finality, and where each source overlapped or left gaps.

Why visual output helps

Temporal comparison rows can be correct but hard to read in a table. A visual timeline makes the reason visible: one source started earlier, another ended sooner, a lane stayed open at the horizon, or a segment boundary split the result.

var result = pipeline.History
    .Compare("Source comparison")
    .Target("source-a", s => s.Source("source-a"))
    .Against("source-b", s => s.Source("source-b"))
    .Within(scope => scope.Window("DeviceOffline"))
    .Using(c => c.Overlap().Residual().Missing())
    .RunLive(TemporalPoint.ForPosition(40));

result.ExportDebugHtml("artifacts/source-comparison.html");
result = (
    pipeline.history.compare("Source comparison")
    .target("source-a")
    .against("source-b")
    .within(window_name="DeviceOffline")
    .using("overlap", "residual", "missing")
    .run()
)

result.export_debug_html("artifacts/provider-qa.html")

Examples

Generated static debug pages.

These pages are generated from the package exporter and copied into GitHub Pages. Dense examples can be widened and scrolled horizontally.

Embedded preview

Provider comparison.

The preview below uses the generated debug HTML directly. Open the full page for more space when inspecting many lanes.