Files
TextNLPClassifierApp/graphify-out/cache/ast/v0.9.47-s2/8bae5081ca177529688d6d43ff700c622c8c853472b78c1dea700916790b3109.json
T

1 line
11 KiB
JSON

{"nodes": [{"id": "$graphify-root$_classify_py", "label": "classify.py", "file_type": "code", "source_file": "classify.py", "source_location": "L1"}, {"id": "$graphify-root$_classify_parse_args", "label": "parse_args()", "file_type": "code", "source_file": "classify.py", "source_location": "L16", "_callable": true}, {"id": "namespace", "label": "Namespace", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/classify.py"}, {"id": "$graphify-root$_classify_emit_error", "label": "emit_error()", "file_type": "code", "source_file": "classify.py", "source_location": "L61", "_callable": true}, {"id": "errorcode", "label": "ErrorCode", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/classify.py"}, {"id": "$graphify-root$_classify_main", "label": "main()", "file_type": "code", "source_file": "classify.py", "source_location": "L86", "_callable": true}], "edges": [{"source": "$graphify-root$_classify_py", "target": "argparse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "src", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "src_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "src_classifier", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "$graphify-root$_classify_parse_args", "relation": "contains", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_classify_parse_args", "target": "namespace", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "$graphify-root$_classify_emit_error", "relation": "contains", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_classify_emit_error", "target": "errorcode", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_classify_py", "target": "$graphify-root$_classify_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L86", "weight": 1.0}, {"source": "$graphify-root$_classify_main", "target": "$graphify-root$_classify_parse_args", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L88", "weight": 1.0}, {"source": "$graphify-root$_classify_main", "target": "$graphify-root$_classify_emit_error", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "classify.py", "source_location": "L97", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_classify_parse_args", "callee": "ArgumentParser", "is_member_call": true, "source_file": "classify.py", "source_location": "L17", "receiver": "argparse"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "add_argument", "is_member_call": true, "source_file": "classify.py", "source_location": "L21", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L23"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "add_argument", "is_member_call": true, "source_file": "classify.py", "source_location": "L27", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L29"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "add_argument", "is_member_call": true, "source_file": "classify.py", "source_location": "L33", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L36"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "add_argument", "is_member_call": true, "source_file": "classify.py", "source_location": "L40", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "add_argument", "is_member_call": true, "source_file": "classify.py", "source_location": "L46", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "add_argument", "is_member_call": true, "source_file": "classify.py", "source_location": "L52", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_parse_args", "callee": "parse_args", "is_member_call": true, "source_file": "classify.py", "source_location": "L58", "receiver": "parser"}, {"caller_nid": "$graphify-root$_classify_emit_error", "callee": "ClassificationError", "is_member_call": false, "source_file": "classify.py", "source_location": "L67", "receiver": null}, {"caller_nid": "$graphify-root$_classify_emit_error", "callee": "to_json_str", "is_member_call": true, "source_file": "classify.py", "source_location": "L72", "receiver": "err"}, {"caller_nid": "$graphify-root$_classify_emit_error", "callee": "Path", "is_member_call": false, "source_file": "classify.py", "source_location": "L76", "receiver": null}, {"caller_nid": "$graphify-root$_classify_emit_error", "callee": "mkdir", "is_member_call": true, "source_file": "classify.py", "source_location": "L77", "receiver": null}, {"caller_nid": "$graphify-root$_classify_emit_error", "callee": "write_text", "is_member_call": true, "source_file": "classify.py", "source_location": "L78", "receiver": "out_file"}, {"caller_nid": "$graphify-root$_classify_emit_error", "callee": "write", "is_member_call": true, "source_file": "classify.py", "source_location": "L82", "receiver": null}, {"caller_nid": "$graphify-root$_classify_main", "callee": "Path", "is_member_call": false, "source_file": "classify.py", "source_location": "L92", "receiver": null}, {"caller_nid": "$graphify-root$_classify_main", "callee": "Path", "is_member_call": false, "source_file": "classify.py", "source_location": "L93", "receiver": null}, {"caller_nid": "$graphify-root$_classify_main", "callee": "is_file", "is_member_call": true, "source_file": "classify.py", "source_location": "L96", "receiver": "ecp_path"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "read_text", "is_member_call": true, "source_file": "classify.py", "source_location": "L105", "receiver": "ecp_path"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L110"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "from_json_str", "is_member_call": true, "source_file": "classify.py", "source_location": "L115", "receiver": "ECPSnapshot"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L117"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "is_file", "is_member_call": true, "source_file": "classify.py", "source_location": "L133", "receiver": "content_path"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "read_text", "is_member_call": true, "source_file": "classify.py", "source_location": "L142", "receiver": "content_path"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L147"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "strip", "is_member_call": true, "source_file": "classify.py", "source_location": "L151", "receiver": "content_raw"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "strip", "is_member_call": true, "source_file": "classify.py", "source_location": "L155", "receiver": "content_raw"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "classify.py", "source_location": "L160", "receiver": null}, {"caller_nid": "$graphify-root$_classify_main", "callee": "classify", "is_member_call": true, "source_file": "classify.py", "source_location": "L166", "receiver": "classifier"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L170"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L178"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "to_json_str", "is_member_call": true, "source_file": "classify.py", "source_location": "L182", "receiver": "result"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "Path", "is_member_call": false, "source_file": "classify.py", "source_location": "L187", "receiver": null}, {"caller_nid": "$graphify-root$_classify_main", "callee": "mkdir", "is_member_call": true, "source_file": "classify.py", "source_location": "L188", "receiver": null}, {"caller_nid": "$graphify-root$_classify_main", "callee": "write_text", "is_member_call": true, "source_file": "classify.py", "source_location": "L189", "receiver": "out_file"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "classify.py", "source_location": "L194"}, {"caller_nid": "$graphify-root$_classify_main", "callee": "write", "is_member_call": true, "source_file": "classify.py", "source_location": "L197", "receiver": null}]}