Files
TextNLPClassifierApp/graphify-out/cache/ast/v0.9.47-s2/27b95d2d8f97c247bb1e6a72941bc0ef9264fde9a28db9a9f0ffb1bcc00e5af1.json
T

1 line
13 KiB
JSON

{"nodes": [{"id": "$graphify-root$_src_classifier_py", "label": "classifier.py", "file_type": "code", "source_file": "src/classifier.py", "source_location": "L1"}, {"id": "$graphify-root$_src_classifier_match_phrase_in_text", "label": "match_phrase_in_text()", "file_type": "code", "source_file": "src/classifier.py", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_src_classifier_count_phrase_occurrences", "label": "count_phrase_occurrences()", "file_type": "code", "source_file": "src/classifier.py", "source_location": "L33", "_callable": true}, {"id": "$graphify-root$_src_classifier_inherenceclassifier", "label": "InherenceClassifier", "file_type": "code", "source_file": "src/classifier.py", "source_location": "L44", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_src_classifier_inherenceclassifier_init", "label": ".__init__()", "file_type": "code", "source_file": "src/classifier.py", "source_location": "L47", "_callable": true}, {"id": "$graphify-root$_src_classifier_inherenceclassifier_classify", "label": ".classify()", "file_type": "code", "source_file": "src/classifier.py", "source_location": "L61", "_callable": true}, {"id": "ecpsnapshot", "label": "ECPSnapshot", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/src/classifier.py"}, {"id": "classificationresult", "label": "ClassificationResult", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/src/classifier.py"}, {"id": "$graphify-root$_src_classifier_rationale_1", "label": "Core deterministic classification engine (Tier 1 core).", "file_type": "rationale", "source_file": "src/classifier.py", "source_location": "L1"}, {"id": "$graphify-root$_src_classifier_rationale_21", "label": "Check if a normalized phrase appears in normalized text with word boundary\u2026", "file_type": "rationale", "source_file": "src/classifier.py", "source_location": "L21"}, {"id": "$graphify-root$_src_classifier_rationale_34", "label": "Count occurrences of a phrase in text.", "file_type": "rationale", "source_file": "src/classifier.py", "source_location": "L34"}, {"id": "$graphify-root$_src_classifier_rationale_45", "label": "Tier 1 Deterministic NLP Entity Inherence Classifier.", "file_type": "rationale", "source_file": "src/classifier.py", "source_location": "L45"}, {"id": "$graphify-root$_src_classifier_rationale_62", "label": "Classify inherence of content against an ECP snapshot.", "file_type": "rationale", "source_file": "src/classifier.py", "source_location": "L62"}], "edges": [{"source": "$graphify-root$_src_classifier_py", "target": "re", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "src_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "src_language", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "src_parser", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L17", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "$graphify-root$_src_classifier_match_phrase_in_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "$graphify-root$_src_classifier_count_phrase_occurrences", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L33", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_py", "target": "$graphify-root$_src_classifier_inherenceclassifier", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier", "target": "$graphify-root$_src_classifier_inherenceclassifier_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L47", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier", "target": "$graphify-root$_src_classifier_inherenceclassifier_classify", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier_classify", "target": "ecpsnapshot", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier_classify", "target": "classificationresult", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier_classify", "target": "$graphify-root$_src_classifier_count_phrase_occurrences", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L82", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier_classify", "target": "$graphify-root$_src_classifier_match_phrase_in_text", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L90", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_inherenceclassifier_classify", "target": "classificationresult", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L196", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_rationale_1", "target": "$graphify-root$_src_classifier_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_rationale_21", "target": "$graphify-root$_src_classifier_match_phrase_in_text", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_rationale_34", "target": "$graphify-root$_src_classifier_count_phrase_occurrences", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_rationale_45", "target": "$graphify-root$_src_classifier_inherenceclassifier", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_src_classifier_rationale_62", "target": "$graphify-root$_src_classifier_inherenceclassifier_classify", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/classifier.py", "source_location": "L62", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_src_classifier_match_phrase_in_text", "callee": "normalize_text", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L24", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_match_phrase_in_text", "callee": "escape", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L29", "receiver": "re"}, {"caller_nid": "$graphify-root$_src_classifier_match_phrase_in_text", "callee": "search", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L30", "receiver": "re"}, {"caller_nid": "$graphify-root$_src_classifier_count_phrase_occurrences", "callee": "normalize_text", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L37", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_count_phrase_occurrences", "callee": "escape", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L40", "receiver": "re"}, {"caller_nid": "$graphify-root$_src_classifier_count_phrase_occurrences", "callee": "findall", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L41", "receiver": "re"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_init", "callee": "LocalEmbeddingsAdapter", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L55", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_init", "callee": "LLMFallbackAdapter", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L59", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "strip", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L63", "receiver": "content_md"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "ValueError", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L64", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "detect_language", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L67", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "strip_markdown", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L68", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "normalize_text", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L69", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "normalize_text", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L78", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "add", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L81", "receiver": "seen_norm_terms"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "append", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L84", "receiver": "matched_target_terms"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "append", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L91", "receiver": "matched_anchors"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "append", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L97", "receiver": "matched_negative_anchors"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "get", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L103", "receiver": "rel"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "get", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L104", "receiver": "rel"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "get", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L105", "receiver": "rel"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "get", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L106", "receiver": "rel"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "get", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L107", "receiver": "rel"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "get", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L108", "receiver": "rel"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "append", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L117", "receiver": "matched_graph_entities"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "append", "is_member_call": true, "source_file": "src/classifier.py", "source_location": "L160", "receiver": "warnings"}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "extract_evidence_snippets", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L192", "receiver": null}, {"caller_nid": "$graphify-root$_src_classifier_inherenceclassifier_classify", "callee": "extract_evidence_snippets", "is_member_call": false, "source_file": "src/classifier.py", "source_location": "L194", "receiver": null}]}