Skip to content

bloqade.lanes.analysis.atom.ShotRemappingDiagnostic

← Module overview

classShotRemappingDiagnosticsource

bloqade.lanes.analysis.atom.ShotRemappingDiagnostic

Compiler-developer-facing diagnostic emitted when ``get_shot_remapping`` cannot derive a frame index list.

class ShotRemappingDiagnostic

A failure here indicates an analysis or pipeline regression rather than a user error — the user supplied a kernel, the compiler service lowered it, and somewhere along the way the analysis stopped producing a coherent set of measurement records.

Attributes

NameTypeDescription
messagestrhuman-readable description of the failure.
offending_valueAtomPosition | list[int] | Nonethe value that triggered the failure, when there is a single one to point at — the first misattributed record, the record with no frame slot, or the record id list that failed to cover ``0..n-1``. ``None`` for failures with no single culprit: an empty program, or an analysis that crashed before producing anything. This was ``MoveExecution | LocationAddress`` while the mapping was derived by walking the return value's lattice values. It now walks measurement records instead, so the values that can appear here changed with it.