pub fn classify_failure(output: &str) -> FlakeClassificationExpand description
Classify a test failure based on its output text.
Scans the output for known transient failure patterns and returns
the first match, or Deterministic if no patterns match.
For security, input is bounded to prevent DoS through excessive memory allocation or processing time on malicious test outputs.