1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "label": "china_special.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L1"}, {"id": "factors_china_special_sizefactor", "label": "SizeFactor", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L11"}, {"id": "basestructuredfactor", "label": "BaseStructuredFactor", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "factors_china_special_sizefactor_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L14"}, {"id": "factors_china_special_sizefactor_calculate_raw", "label": ".calculate_raw()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L17"}, {"id": "factors_china_special_reversalfactor", "label": "ReversalFactor", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L33"}, {"id": "factors_china_special_reversalfactor_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L36"}, {"id": "factors_china_special_reversalfactor_calculate_raw", "label": ".calculate_raw()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L40"}, {"id": "factors_china_special_rationale_1", "label": "\u4e2d\u56fd\u7279\u8272\u56e0\u5b50 - \u5e02\u503c\u56e0\u5b50\uff1aA\u80a1\u4e2d\u5c0f\u76d8\u6709\u8d85\u989d\uff0c\u5e02\u503c\u8d8a\u5c0f\u8d8a\u597d - \u53cd\u8f6c\u56e0\u5b50\uff1a\u8fd1\u671f\u53cd\u8f6c\uff0c\u4e00\u4e2a\u6708\u53cd\u8f6c", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L1"}, {"id": "factors_china_special_rationale_12", "label": "\u5e02\u503c\u56e0\u5b50 - \u5bf9\u6570\u5e02\u503c\uff0c\u8d8a\u5c0f\u8d8a\u597d\uff0c\u504f\u597d\u4e2d\u5c0f\u76d8", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L12"}, {"id": "factors_china_special_rationale_34", "label": "\u4e00\u4e2a\u6708\u53cd\u8f6c\u56e0\u5b50 - \u8fd1\u4e00\u4e2a\u6708\u8dcc\u5e45\u8d8a\u5927\uff0c\u672a\u6765\u53cd\u5f39\u9884\u671f\u8d8a\u9ad8\uff0c\u6240\u4ee5\u5f97\u5206\u8d8a\u9ad8", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L34"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "target": "pandas", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "target": "numpy", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "target": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_base_factor_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L8", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "target": "factors_china_special_sizefactor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L11", "weight": 1.0}, {"source": "factors_china_special_sizefactor", "target": "basestructuredfactor", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L11", "weight": 1.0}, {"source": "factors_china_special_sizefactor", "target": "factors_china_special_sizefactor_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L14", "weight": 1.0}, {"source": "factors_china_special_sizefactor", "target": "factors_china_special_sizefactor_calculate_raw", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L17", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "target": "factors_china_special_reversalfactor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L33", "weight": 1.0}, {"source": "factors_china_special_reversalfactor", "target": "basestructuredfactor", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L33", "weight": 1.0}, {"source": "factors_china_special_reversalfactor", "target": "factors_china_special_reversalfactor_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L36", "weight": 1.0}, {"source": "factors_china_special_reversalfactor", "target": "factors_china_special_reversalfactor_calculate_raw", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L40", "weight": 1.0}, {"source": "factors_china_special_sizefactor_init", "target": "factors_china_special_reversalfactor_init", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L15", "weight": 1.0}, {"source": "factors_china_special_rationale_1", "target": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_china_special_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L1", "weight": 1.0}, {"source": "factors_china_special_rationale_12", "target": "factors_china_special_sizefactor", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L12", "weight": 1.0}, {"source": "factors_china_special_rationale_34", "target": "factors_china_special_reversalfactor", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L34", "weight": 1.0}], "raw_calls": [{"caller_nid": "factors_china_special_sizefactor_init", "callee": "super", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L15"}, {"caller_nid": "factors_china_special_sizefactor_calculate_raw", "callee": "ValueError", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L22"}, {"caller_nid": "factors_china_special_sizefactor_calculate_raw", "callee": "log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L27"}, {"caller_nid": "factors_china_special_reversalfactor_init", "callee": "super", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L37"}, {"caller_nid": "factors_china_special_reversalfactor_calculate_raw", "callee": "ValueError", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L42"}, {"caller_nid": "factors_china_special_reversalfactor_calculate_raw", "callee": "isinstance", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L45"}, {"caller_nid": "factors_china_special_reversalfactor_calculate_raw", "callee": "pct_change", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L46"}, {"caller_nid": "factors_china_special_reversalfactor_calculate_raw", "callee": "groupby", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L46"}, {"caller_nid": "factors_china_special_reversalfactor_calculate_raw", "callee": "pct_change", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L48"}, {"caller_nid": "factors_china_special_reversalfactor_calculate_raw", "callee": "groupby", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/china_special.py", "source_location": "L48"}]} |