Skip to main content

parse_reflection

Function parse_reflection 

Source
pub fn parse_reflection(input: &str) -> Result<SessionReflection, ReflectError>
Expand description

Parse and validate a SessionReflection JSON object.

Failures preserve the original input for quarantine. This function performs syntax validation, serde/schema shape validation, and local invariant checks such as confidence ranges and candidate index bounds.