"""Shared context for post-processing pipeline.""" from dataclasses import dataclass, field from typing import Dict, Any @dataclass class RunContext: provider: str model: str usage_totals: Dict[str, int] usage_by_model: Dict[str, Dict[str, int]] latency_s: float metadata_out: Dict[str, Any] = field(default_factory=dict)