Coverage for src / tracekit / comparison / trace_diff.py: 100%
2 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 23:04 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 23:04 +0000
1"""Intelligent trace comparison and difference detection.
3This module provides automatic trace comparison with alignment, difference
4detection, and plain-language explanations. It is a wrapper around the
5discovery.comparison module to maintain API compatibility.
8Example:
9 >>> from tracekit.comparison import compare_traces
10 >>> diff = compare_traces(trace1, trace2)
11 >>> for d in diff.differences:
12 ... print(f"{d.category}: {d.description}")
14References:
15 TraceKit Auto-Discovery Specification
16 Phase 34 Task-245
17"""
19# Re-export everything from discovery.comparison
20from tracekit.discovery.comparison import (
21 Difference,
22 TraceDiff,
23 compare_traces,
24)
26__all__ = [
27 "Difference",
28 "TraceDiff",
29 "compare_traces",
30]