Models
models
Core models for axm-smelt.
Format
SmeltContext
dataclass
Immutable runtime context passed through the strategy pipeline.
One of text or parsed is the source of truth; the other is
derived deterministically and cached on first access. The two
representations cannot drift because the instance is frozen.
Source code in packages/axm-smelt/src/axm_smelt/core/models.py
parsed
cached
property
Parsed JSON, derived from text when not provided.
text
cached
property
Text representation, derived from parsed when not provided.
SmeltReport
Bases: BaseModel
Report produced by the smelt pipeline.