pub fn parse_eval_suite(yaml: &str) -> Result<EvalSuite, EvalParseError>Expand description
Parse an eval suite from a YAML document.
A two-phase pure parse (§2.1): first deserialize the structure into the
private RawSuite DTO — a missing field, wrong type, or unknown key yields
EvalParseError::Structural — then validate each case’s expected token
into an ExpectedVerdict, yielding EvalParseError::UnknownVerdict
naming the offending case index on a miss. Document order is preserved. File
reading is the caller’s concern, so this runs over an in-memory string.