pub fn diagnose_extraction( extraction: &Value, directed: bool, max_examples: usize, extract_path: Option<&Path>, ) -> DiagnosticSummary