Files
shanxia2.0/backend/graphify-out/cache/ast/v0.9.4/33ddad4ef6b84be4f0cd9803b876c4849c42c50fd8942848bb50b2e20d62abcd.json
T
2026-08-30 09:30:02 +08:00

1 line
15 KiB
JSON

{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "label": "pl_plan_stop_rules.py", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "label": "resolve_stop_dibang_defaults()", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L12"}, {"id": "stoptype", "label": "StopType", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "label": "normalize_stop_dibang_fields()", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "label": "_extract_qty()", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L46"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "label": "_sum_qty()", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L57"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "label": "_fmt_qty()", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L64"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "label": "warn_qty_imbalance()", "file_type": "code", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L70"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_rationale_1", "label": "\u8fd0\u8f93\u8ba1\u5212\u591a\u6bb5\uff1a\u5185\u90e8\u5ba2\u6237\u5730\u78c5\u9ed8\u8ba4\u503c\u4e0e\u6570\u91cf\u5e73\u8861\u6821\u9a8c", "file_type": "rationale", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_rationale_16", "label": "\u5730\u78c5\u9ed8\u8ba4\u52fe\u9009\u4ee5\u672c\u6bb5\u5ba2\u6237\u662f\u5426\u4e3a\u5185\u90e8\u5ba2\u6237\uff08\u5c71\u5ce1/\u4e91\u680b\uff09\u4e3a\u51c6\u3002", "file_type": "rationale", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L16"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_rationale_32", "label": "\u5f52\u4e00\u5316\u6bb5\u6b21\u5730\u78c5\u52fe\u9009\u4e0e\u65b9\u5411\uff1a\u52fe\u9009\u4f46\u65b9\u5411\u7f3a\u5931/none \u65f6\u6309\u672c\u6bb5\u5ba2\u6237\u8865\u9ed8\u8ba4\u65b9\u5411\u3002", "file_type": "rationale", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L32"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "decimal", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "app_services_pl_internal_customer", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "target": "stoptype", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L26", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "target": "stoptype", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L26", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L46", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "target": "any", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L46", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "target": "decimal", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L46", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L57", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L57", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "target": "decimal", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L57", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L64", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "target": "decimal", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L64", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L70", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L70", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L70", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L70", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L33", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "target": "decimal", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L53", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "target": "decimal", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L58", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L60", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L81", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_rationale_1", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_rationale_16", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_rationale_32", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/services/pl_plan_stop_rules.py", "source_location": "L32", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "callee": "is_internal_customer_name", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L17", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L35", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "callee": "dict", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L48"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "callee": "get", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L49", "receiver": "item"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "callee": "to_integral_value", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L65", "receiver": "qty"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "callee": "format", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L67", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "callee": "normalize", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_stop_rules.py", "source_location": "L67", "receiver": "qty"}], "callable_nids": ["users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_extract_qty", "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_fmt_qty", "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_normalize_stop_dibang_fields", "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_resolve_stop_dibang_defaults", "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_sum_qty", "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_stop_rules_warn_qty_imbalance"]}