my-homelab-configs/graphify-out/cache/ast/v0.9.64-s4/3cdbdcb49212756a456706b9728...

1 line
7.6 KiB
JSON

{"nodes": [{"id": "$graphify-root$_scripts_promote", "label": "promote", "file_type": "code", "source_file": "scripts/promote", "source_location": "L1"}, {"id": "$graphify-root$_scripts_promote_checks", "label": "checks()", "file_type": "code", "source_file": "scripts/promote", "source_location": "L16", "_callable": true}, {"id": "$graphify-root$_scripts_promote_plan", "label": "plan()", "file_type": "code", "source_file": "scripts/promote", "source_location": "L21", "_callable": true}, {"id": "$graphify-root$_scripts_promote_validate", "label": "validate()", "file_type": "code", "source_file": "scripts/promote", "source_location": "L34", "_callable": true}, {"id": "$graphify-root$_scripts_promote_rollback", "label": "rollback()", "file_type": "code", "source_file": "scripts/promote", "source_location": "L61", "_callable": true}, {"id": "$graphify-root$_scripts_promote_main", "label": "main()", "file_type": "code", "source_file": "scripts/promote", "source_location": "L74", "_callable": true}, {"id": "$graphify-root$_scripts_promote_rationale_2", "label": "Plan and validate canary promotion gates.", "file_type": "rationale", "source_file": "scripts/promote", "source_location": "L2"}], "edges": [{"source": "$graphify-root$_scripts_promote", "target": "argparse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "csv", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "subprocess", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "$graphify-root$_scripts_promote_checks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "$graphify-root$_scripts_promote_plan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "$graphify-root$_scripts_promote_validate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "$graphify-root$_scripts_promote_rollback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote", "target": "$graphify-root$_scripts_promote_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L74", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote_plan", "target": "$graphify-root$_scripts_promote_checks", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote_validate", "target": "$graphify-root$_scripts_promote_checks", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L38", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote_main", "target": "$graphify-root$_scripts_promote_plan", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote_main", "target": "$graphify-root$_scripts_promote_validate", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L86", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote_main", "target": "$graphify-root$_scripts_promote_rollback", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L88", "weight": 1.0}, {"source": "$graphify-root$_scripts_promote_rationale_2", "target": "$graphify-root$_scripts_promote", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "scripts/promote", "source_location": "L2", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_scripts_promote_checks", "callee": "open", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L17", "receiver": "CHECKS_FILE"}, {"caller_nid": "$graphify-root$_scripts_promote_checks", "callee": "DictReader", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L18", "receiver": "csv"}, {"caller_nid": "$graphify-root$_scripts_promote_checks", "callee": "handle", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/promote", "source_location": "L18"}, {"caller_nid": "$graphify-root$_scripts_promote_validate", "callee": "run", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L44", "receiver": "subprocess"}, {"caller_nid": "$graphify-root$_scripts_promote_validate", "callee": "REPO_ROOT", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/promote", "source_location": "L46"}, {"caller_nid": "$graphify-root$_scripts_promote_validate", "callee": "split", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L45", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_promote_validate", "callee": "rstrip", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "ArgumentParser", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L75", "receiver": "argparse"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "__doc__", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/promote", "source_location": "L75"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "add_subparsers", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L76", "receiver": "parser"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L77", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L78", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L79", "receiver": "validate_parser"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L80", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L81", "receiver": "rollback_parser"}, {"caller_nid": "$graphify-root$_scripts_promote_main", "callee": "parse_args", "is_member_call": true, "source_file": "scripts/promote", "source_location": "L82", "receiver": "parser"}]}