Skip to main content

Module trace_analyzer

Module trace_analyzer 

Source
Expand description

Privacy-preserving summaries for JSONL agent traces.

Structs§

HarnessTraceSummary
Redacted aggregate facts extracted from DeepSeek or VT Code JSONL traces.
LatencyStatistics
Statistics over recorded latency samples, in milliseconds.
TokenUsage
Aggregate token and prompt-cache usage found in a trace.

Functions§

analyze_jsonl
Analyze JSONL text while retaining only aggregate, non-sensitive facts.
analyze_jsonl_file
Analyze a JSONL trace file and add path context to filesystem errors.
analyze_jsonl_reader
Analyze a buffered JSONL source without loading the complete trace into memory.